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=3918>.
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=3918

Overwriting built in default Entities

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2001-10-02 09:40 -------
These entities are predeclared.  Declaring them yourself is permitted,
but subsequent declarations are ignored.  The spec requires that any
declarations that you could provide must have the same replacement text
as the predeclared ones.  Your example matches what is in the spec, and
does not in fact "escape" the value.  <!ENTITY amp "&#38;#38;"> has
replacement text of '&#38;' and not '&#38;#38;' as you suggest (character
references are "Included" within Entity Values).  The declaration
<!ENTITY amp "&#38;#38;#38;"> would have replacement text of '&#38;#38;',
but would violate Section 4.6:

"If the entities lt or amp are declared, they must be declared as internal 
entities whose replacement text is a character reference to the respective 
character (less-than sign or ampersand) being escaped"

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to