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 2001/12/07 16:15:11 UTC
DO NOT REPLY [Bug 5317] New: -
DeclHandler implementation does not follow documentation.
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: xerces-j-dev@xml.apache.org
ReportedBy: klavergne@earthling.net
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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org