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

http://issues.apache.org/bugzilla/show_bug.cgi?id=2563

Parameter entities cannot be used inside markup declarations in an internal subset.

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
            Summary|Parameter entities cannot be|Parameter entities cannot be
                   |used inside markup          |used inside markup
                   |declarations in an internal |declarations in an internal
                   |subset.                     |subset.



------- Additional Comments From [EMAIL PROTECTED]  2004-03-10 17:00 -------
The %e; string inside the ATTLIST declaration is not considered as an entity 
reference, because entity references are disallowed there. If you parse that 
file into a DOM tree, and asks for the attribute a1, you will get the default 
value "%e;" and not "foo" like you are expecting.

This is the relevant BNF rules, that show how only entity and character 
references are expanded in this situation:

[60]    DefaultDecl    ::=    '#REQUIRED' | '#IMPLIED' | 
                              (('#FIXED' S)? AttValue) 

[10]    AttValue    ::=    '"' ([^<&"] | Reference)* '"' |
                           "'" ([^<&'] | Reference)* "'" 

[66]    CharRef    ::=    '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';' 
[67]    Reference    ::=    EntityRef | CharRef 
[68]    EntityRef    ::=    '&' Name ';' 

Alberto

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

Reply via email to