Re: xml specification implementation

Gary Gregory <[email protected]>
Newsgroups gmane.text.xml.xerces-j.user
Message-ID <CACZkXPxh=qgTGyWw7WC0SE=FaRFR95R75iMxxVDuu3C38Yfnxg@mail.gmail.com>
Manuel,

2.0.2 is old! you should check 2.11.

Gary


On Mon, Oct 7, 2013 at 4:51 PM, Manuel Jimenez <[email protected]>wrote:

> According to the  spec (
> http://www.w3.org/TR/2008/REC-xml-20081126/#sec-common-syn), xml names
> could start with the following:****
>
> ** **
>
> NameStartChar****
>
>    ::=   ****
>
> ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] |
> [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] |
> [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] |
> [#x10000-#xEFFFF]****
>
> ** **
>
> The org.apache.xerces.util.XMLChar.isValidName() method for v2.0.2 returns
> false for the following characters:****
>
> ** **
>
> #x132, #x133, #x13f, #x140, #x149, #x17f, #x1c4, #x1c5, #x1c6, #x1c7,
> #x1c8, #x1c9, #x1ca, #x1cb, #x1cc, #x1f1, #x1f2, #x1f3, #x1f6, #x1f7,
> #x1f8, #x1f9, #x218, #x219, #x21a, #x21b, #x21c, #x21d, #x21e, #x21f,
> #x220, #x221, #x222, #x223, #x224, #x225, #x226, #x227, #x228, #x229,
> #x22a, #x22b, #x22c, #x22d, #x22e, #x22f, #x230, #x231, #x232, #x233,
> #x234, #x235, #x236, #x237, #x238, #x239, #x23a, #x23b, #x23c, #x23d,
> #x23e, #x23f, #x240, #x241, #x242, #x243, #x244, #x245, #x246, #x247,
> #x248, #x249, #x24a, #x24b, #x24c, #x24d, #x24e, #x24f, #x2a9, #x2aa,
> #x2ab, #x2ac, #x2ad, #x2ae, #x2af, #x2b0, #x2b1, #x2b2, #x2b3, #x2b4,
> #x2b5, #x2b6, #x2b7, #x2b8, #x2b9, #x2ba, #x2c2, #x2c3, #x2c4, #x2c5,
> #x2c6, #x2c7, #x2c8, #x2c9, #x2ca, #x2cb, #x2cc, #x2cd, #x2ce, #x2cf,
> #x2d0, #x2d1, #x2d2, #x2d3, #x2d4, #x2d5, #x2d6, #x2d7, #x2d8, #x2d9,
> #x2da, #x2db, #x2dc, #x2dd, #x2de, #x2df, #x2e0, #x2e1, #x2e2, #x2e3,
> #x2e4, #x2e5, #x2e6, #x2e7, #x2e8, #x2e9, #x2ea, #x2eb, #x2ec, #x2ed,
> #x2ee, #x2ef, #x2f0, #x2f1, #x2f2, #x2f3, #x2f4, #x2f5, #x2f6, #x2f7,
> #x2f8, #x2f9, #x2fa, #x2fb, #x2fc, #x2fd, #x2fe, #x2ff****
>
> ** **
>
> #x370, #x371, #x372, #x373, #x374, #x375, #x376, #x377, #x378, #x379,
> #x37a, #x37b, #x37c, #x37d****
>
> ** **
>
> ** **
>
> ** **
>
> I haven’t checked [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] |
> [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] |
> [#x10000-#xEFFFF] yet…****
>
> ** **
>
> Was this intentional, was it fixed in newer versions?  Please advise.****
>
> ** **
>
> ** **
>



-- 
E-Mail: [email protected] | [email protected]
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.