[Expat-bugs] [ expat-Bugs-1788287 ] Possible Bug on strings
SourceForge.net
noreply at sourceforge.net
Mon Sep 17 16:35:27 CEST 2007
Bugs item #1788287, was opened at 2007-09-05 04:11
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1788287&group_id=10127
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: Yes
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Possible Bug on strings
Initial Comment:
I have detected, that the content of strings will
be produced an invalid token error, as follows:
=== Description of the element in the DTD
<!ELEMENT String (Value,Tooltip)>
<!ATTLIST String
ID CDATA #REQUIRED
Length CDATA #REQUIRED
>
=== Content of an element in the document ====
<String ID = "1" Length = "12">
<Value Origin = "< Max.##> Max."
Custom = "< Max.##> max."
/>
<Tooltip Origin = "**None**"
Custom = "**None**"
/>
</String>
If Expat parsed this element, an error occurred
on detection the characters < or > in the CDATA
string.
I Think, this is not correct, because the content
of a CDATA element has not be interpreted.
I use the Version 1.95.8.
Best Regards
H. Guschigk / Germany
----------------------------------------------------------------------
>Comment By: Karl Waclawek (kwaclaw)
Date: 2007-09-17 10:35
Message:
Logged In: YES
user_id=290026
Originator: NO
An attribute of type CDATA is not the same as a CDATA section.
Check out the attribute value syntax in the spec:
http://www.w3.org/TR/2006/REC-xml-20060816/#NT-AttValue ,
<, & and ' or " are not allowed.
Closing this issue.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1788287&group_id=10127
More information about the Expat-bugs
mailing list