Re: [Classpathx-xml] GNU JAXP Bug report: Attribute value including &

Ito Kazumitsu <[email protected]>
Newsgroups gmane.comp.java.vm.kaffe.general,gmane.comp.java.classpath.extensions.xml
Message-ID <[email protected]>
In message "[Classpathx-xml] GNU JAXP Bug report: Attribute value including &amp;"
    on 03/09/01, Ito Kazumitsu <[email protected]> writes:

> I have found a case where an attribute value is treated
> incorrectly.
> 
> If you write <a b='X&amp;Y&amp;Z'>, the value of attribute b
> should be 'X&Y&Z', but 'X&' and 'Y&' becomes characters nodes
> and only 'Z' becomes the value of b.

I think this bug is in gnu/xml/aelfred2/XmlParser.java.

parseCharRef() always flushes data buffer even if it is
called from within readLeteral(),  which is in the process
of parsing a quoted string.

The source copied to Kaffe has been fixed:
  http://www.kaffe.org/pipermail/kaffe/2003-September/043771.html

Thank you.
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.