You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Chrome Digital <ch...@earthlink.net> on 2000/10/24 23:58:56 UTC
Unicode bug (Xerces 1.2.1)
I just tried feeding Xerces 1.2.1 an element with a B7 (a bullet) in the
element name. As far as I know, B7 is supposed to be one of the Extender
characters allowed by the grammar. What I got was the following exception:
java.lang.ArrayIndexOutOfBoundsException
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:917)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:939)
at ...
Here's the test schema:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
xmlns:xsd = "http://www.w3.org/1999/XMLSchema"
xmlns:xsi = "http://www.w3.org/1999/XMLSchema-instance">
<xsd:element name = "foo·bar"/>
</xsd:schema>
And the test file:
<?xml version="1.0" encoding="UTF-8"?>
<foo·bar
xmlns:xsi = "http://www.w3.org/1999/XMLSchema-instance"
xsi:noNamespaceSchemaLocation = "b7.xsd"/>
-- Jim Puccio
PS: I'd still like advice about my whitespace and comment suppression
questions...