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 bu...@apache.org on 2002/12/11 01:00:15 UTC

DO NOT REPLY [Bug 15255] New: - Wrong definitions for predefined entities lt and amp in XML source for docs

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15255>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15255

Wrong definitions for predefined entities lt and amp in XML source for docs

           Summary: Wrong definitions for predefined entities lt and amp in
                    XML source for docs
           Product: Xerces2-J
           Version: 2.2.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Other
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: caprani@altern.org


The ../docs/dtd/characters.ent file include the following definitions :

-------------------------------
<!-- C0 Controls and Basic Latin -->
<!ENTITY quot     "&#34;">   <!-- U+0022 ISOnum    - quotation mark = APL 
quote                                            -->
<!ENTITY amp      "&#38;">   <!-- U+0026 ISOnum    - 
ampersand                                                             -->
<!ENTITY lt       "&#60;">   <!-- U+003C ISOnum    - less-than 
sign                                                        -->
<!ENTITY gt       "&#62;">   <!-- U+003E ISOnum    - greater-than 
sign                                                     -->
-------------------------------

This are not the recommanded definitions for lt and amp
(see http://www.w3.org/TR/REC-xml#sec-predefined-ent)

It causes other parsers to report a well-formedness error (although it is not 
exactly).

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org