mvolkmann / waxy

WAX - a new approach to writing XML
http://java.ociweb.com/mark/programming/wax.html
2 stars 0 forks source link

Colons allowed in unicode XML Names? #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Allowing colons breaks namespaces support. I think this needs to be fixed
in in XMLUtils.NAME_CHAR_PATTERN

Original issue reported on code.google.com by manosbat...@gmail.com on 30 Sep 2008 at 1:12

GoogleCodeExporter commented 9 years ago
Fixed with Issue 43: "Allow all characters of both XML 1.1 and 1.2 Unicode 
character
sets in element and attribute names."

Original comment by jeffgr...@charter.net on 1 Oct 2008 at 9:51

GoogleCodeExporter commented 9 years ago
This fix is particularly emphasized in the
'XMLUtilTest.testIsName_WithNamespaceColon' JUnit test method.

It's also covered in the 'shouldNotBeValidName' calls in
'testUnicodeXmlNameStartCharacter' and 'testUnicodeXmlOtherNameCharacters' due 
to the
'// Excluded because we handle namespaces ourselves in WAX: "':' | " +' comment 
in
the 'XML12_NAME_START_CHAR' definition at the start of the file, but it's less
obvious there.

Original comment by jeffgr...@charter.net on 2 Oct 2008 at 1:47