You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by Daniel Vogelheim <Da...@germany.sun.com> on 2001/08/13 16:20:50 UTC

problem with Crimson parser ('%' sign in attribute default)

Hello all,


I have a problem when trying to read XML files with the Crimson 1.1 
parser. The Crimson page refers me to this list.

The problem appears to be a '%' character in an attribute default value. 
The relevant DTD fragment looks like this: 

<!ATTLIST nspace:element nspace:attribute CDATA "100%">

As I understand the XML spec, this should be OK, and in fact several 
parsers I have tried work fine with this. However, if I try to process 
files that refer this DTD with Crimson, the parser aborts with an error 
message pointing to the line above.

Can someone confirm whether this is a Crimson bug, or is it rather a 
problem in the DTD itself?


Thanks,
Daniel Vogelheim




---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Re: problem with Crimson parser ('%' sign in attribute default)

Posted by Edwin Goei <ed...@sun.com>.
Daniel Vogelheim wrote:
> 
> Hello all,
> 
> I have a problem when trying to read XML files with the Crimson 1.1
> parser. The Crimson page refers me to this list.
> 
> The problem appears to be a '%' character in an attribute default value.
> The relevant DTD fragment looks like this:
> 
> <!ATTLIST nspace:element nspace:attribute CDATA "100%">
> 
> As I understand the XML spec, this should be OK, and in fact several
> parsers I have tried work fine with this. However, if I try to process
> files that refer this DTD with Crimson, the parser aborts with an error
> message pointing to the line above.
> 
> Can someone confirm whether this is a Crimson bug, or is it rather a
> problem in the DTD itself?

This bug was fixed recently.  If you check out the code from CVS, you
will get the fix.  I am about to create a new crimson distribution,
also.

-Edwin

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org