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

schema does not support xml:space attribute in xml  instance

           Summary: schema does not support xml:space attribute in xml
                    instance
           Product: Xerces2-J
           Version: 2.0.0
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: XML Schema datatypes
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


two file (space.xml and space.xsd are included).

xml file:
<?xml version="1.0" encoding="UTF-8"?>
<vmf:one xmlns:vmf="urn:space" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:schemaLocation="urn:space      space.xsd">
        <two>222222</two>
        <three vmf:space="11" xml:space="preserve">33333</three>
</vmf:one>
schema file:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="urn:space" xmlns:msg="urn:space" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; elementFormDefault="unqualified" 
attributeFormDefault="unqualified">
        <xsd:attribute name="space" type="xsd:string"/>
        <xsd:element name="one">
                <xsd:complexType>
                        <xsd:sequence>
                                <xsd:element name="two" type="xsd:string"/>
                                <xsd:element name="three">
                                        <xsd:complexType>
                                                <xsd:simpleContent>
                                                        <xsd:extension 
base="xsd:string">
                                                                <xsd:attribute 
ref="msg:space"/>
                                                                <xsd:attribute 
ref="xml:space"/> 
                                                        </xsd:extension>
                                                </xsd:simpleContent>
                                        </xsd:complexType>
                                </xsd:element>
                        </xsd:sequence>
                </xsd:complexType>
        </xsd:element>
</xsd:schema>

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

Reply via email to