classpathx-xml
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ito Kazumitsu
Subject: Re: [Classpathx-xml] GNU JAXP Bug report: Attribute value including &
Date: Wed, 3 Sep 2003 08:38:49 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigory ōmae) APEL/10.3 Emacs/20.7 (i386-*-windows98.2222) MULE/4.1 (AOI) Meadow/1.14 (AWSAKA:62)

In message "[Classpathx-xml] GNU JAXP Bug report: Attribute value including 
&"
    on 03/09/01, Ito Kazumitsu <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]