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 2003/04/02 16:23:21 UTC
DO NOT REPLY [Bug 18586] -
xs:token validation completely broken
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=18586>.
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=18586
xs:token validation completely broken
sandygao@ca.ibm.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From sandygao@ca.ibm.com 2003-04-02 14:23 -------
It seems that you misunderstood the meaning of xs:token.
It's true that the lexical space and the value space of xs:token don't allow
tab and new line characters, but those characters were already filtered out by
the whiteSpace facet. That is, by the time we check the validity of the input
string, it's already normalized as per the whiteSpace facet, and all those
characters have been replaced by spaces, and then collapsed.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org