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

DeclHandler implementation does not follow documentation.

           Summary: DeclHandler implementation does not follow
                    documentation.
           Product: Xerces2-J
           Version: 2.0.0 [beta 3]
          Platform: All
               URL: http://java.sun.com/xml/jaxp/dist/1.1/docs/api/org/xml/s
                    ax/ext/DeclHandler.html#attributeDecl(java.lang.String,
                    java.lang.String, java.lang.String, java.lang.String,
                    java.lang.String)
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: SAX
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The documentation of the attributeDecl method says, "The type [parameter] will be one 
of the 
strings 'CDATA', 'ID', 'IDREF', 'IDREFS', 'NMTOKEN', 'NMTOKENS', 'ENTITY', 'ENTITIES', 
a 
parenthesized token group with the separator '|' and all whitespace removed, or the 
word 
'NOTATION' followed by a space followed by a parenthesized token group with all 
whitespace 
removed." But if the attribute is defined with a list of valid values (ie. (ltr|rtl)), 
the value of 
type is "ENUMERATION" and does not give any clue as to what the valid values are. This 
should be 
fixed so that it follows SUN's documentation.

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

Reply via email to