Skip to content

SI-9060: Accept fifth-edition names. #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

som-snytt
Copy link
Contributor

Accept fifth-edition names.

Fix infinite loopiness in attribute parsing.

Improve tests a bit.

Enforce that attribute value is bounded by a quote.

By the way, stop on EOF.
Valid name chars list is updated.

Only 16-bit Char is supported, not arbitrary code points.

Previous logic to exclude ':' as start char is deleted.
Also avoid deprecation messages and other distractions.

Make sure threads are cut. (Exploring new computing metaphors.)
@som-snytt som-snytt changed the title SI-9060 SI-9060: Accept fifth-edition names. Dec 23, 2014
@som-snytt som-snytt mentioned this pull request Apr 13, 2015
This was referenced Feb 12, 2016
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Feb 15, 2016
* src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Feb 15, 2016
* src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Jun 12, 2016
* src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Sep 14, 2016
* src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Sep 20, 2016
* src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Oct 18, 2016
* src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Dec 1, 2016
* src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
@SethTisue
Copy link
Member

SethTisue commented Feb 4, 2017

@som-snytt needs rebase. as you've probably seen already, I'm doing a sweep over this repos open PRs, trying to ascertain their status and seeing if there's anything that can be merged. is this PR still relevant, and would you be interested in getting it over the finish line?

@som-snytt
Copy link
Contributor Author

The conflicts are trivial -- git is amazing -- but are the maintainers going to merge it or what? I haven't used xml in a decade. Do they care?

ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Feb 4, 2017
* src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Feb 4, 2017
* src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Feb 5, 2017
* jvm/src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* jvm/src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* jvm/src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Feb 7, 2017
* jvm/src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* jvm/src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* jvm/src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
@SethTisue
Copy link
Member

The conflicts are trivial -- git is amazing -- but are the maintainers going to merge it or what? I haven't used xml in a decade. Do they care?

if you rebase it, I will personally make sure it gets merged (if no one raises substantive objections)

@SethTisue
Copy link
Member

oh, you know what? actually, never mind, let's go with #44 instead, sorry for missing that before.

@SethTisue SethTisue closed this Feb 15, 2017
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Feb 15, 2017
* jvm/src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* jvm/src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* jvm/src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Apr 25, 2017
* jvm/src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* jvm/src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* jvm/src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Apr 26, 2017
* jvm/src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* jvm/src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* jvm/src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Apr 26, 2017
* jvm/src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* jvm/src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* jvm/src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Apr 28, 2017
* jvm/src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* jvm/src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* jvm/src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request Apr 28, 2017
* jvm/src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* jvm/src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* jvm/src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request May 5, 2017
* jvm/src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* jvm/src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* jvm/src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request May 5, 2017
* jvm/src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* jvm/src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* jvm/src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request May 6, 2017
* jvm/src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* jvm/src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* jvm/src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request May 12, 2017
* jvm/src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* jvm/src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* jvm/src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request May 24, 2017
* jvm/src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* jvm/src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* jvm/src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley pushed a commit to ashawley/scala-xml that referenced this pull request May 24, 2017
* jvm/src/main/scala/scala/xml/parsing/TokenTests.scala (isNameChar):
Add middle dot, #xB7, as specified at [4a] of XML 1.0 5th edition.

* jvm/src/test/scala/scala/xml/XMLTest.scala (t9060): New test.

* jvm/src/test/scala/scala/xml/parsing/ConstructingParserTest.scala
(t9060): New test.
ashawley added a commit that referenced this pull request May 24, 2017
Fix #44 SI-9060 XML 5th edition name characters
@ashawley ashawley mentioned this pull request Oct 9, 2017
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants