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 2002/06/27 06:08:29 UTC

DO NOT REPLY [Bug 10271] New: - W3C XML Schema validation error when using a DTD in conjunction with http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation property

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

W3C XML Schema validation error when using a DTD in conjunction with http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation property

           Summary: W3C XML Schema validation error when using a DTD in
                    conjunction with
                    http://apache.org/xml/properties/schema/external-
                    noNamespaceSchemaLocation property
           Product: Xerces2-J
           Version: 2.0.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: SAX
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: erobertsson@allette.com.au


Hi,

I've discovered a bug in the W3C XML Schema validation when using a DTD in
conjunction with specifying the schema through the
http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation property.
Here are my test files:

<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT PhysicalAddress (Street, Suburb, State, PostCode)>
<!ATTLISThysicalAddress 		xmlns:xsi 		CDATA 		#IMPLIED
				xsi:noNamespaceSchemaLocation			CDATA		#IMPLIED>
<!ELEMENT 		Street 					(Unit, Name)>
<!ELEMENT 		Name 					(#PCDATA)>
<!ATTLIST 		Name 					Type 			CDATA 		"Street">
<!ELEMENT 		Unit 					(#PCDATA)>
<!ELEMENT 		Suburb 					(#PCDATA)>
<!ELEMENT 		State 					(#PCDATA)>
<!ELEMENT 		PostCode 				(#PCDATA)>

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