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/01/29 22:57:32 UTC

DO NOT REPLY [Bug 16566] New: - Parser accepts invalid URIs specified in the *default* and *fixed* fields

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

Parser accepts invalid URIs specified in the *default* and *fixed* fields

           Summary: Parser accepts invalid URIs specified in the *default*
                    and *fixed* fields
           Product: Xerces2-J
           Version: 2.2.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XML Schema datatypes
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: nmehrega@ca.ibm.com
                CC: nddelima@ca.ibm.com


Consider the following two lines of code:

<xsd:attribute id="bad02" name="attr02" type="xsd:anyURI" default="http:"/>
<xsd:attribute id="bad02" name="attr02" type="xsd:anyURI" fixed="http:"/>

An attribute of type 'anyURI' is declared.

In the first line an invalid URI is specified in the *default* attribute and in 
the second line and invalid URI is specified in the *fixed* attribute.  Both of 
these go undetected in Xerces2-J.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org