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

xerces 2.0.0  simleContent requires its base type must be simpleType?

           Summary: xerces 2.0.0  simleContent requires its base type must
                    be simpleType?
           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]


Some differnece was found between xmlspy(4.2) and xerces(2.0.0).
For an example,
a fragment of xml schema is listed as below:
...
<xsd:element name="plan_order_type">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="dui:plan.order.type">
<xsd:attribute name="index_no" type="xsd:string" fixed="1"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
...

For xerces(2.0.0) default parser(SAXParser, DOMParser), it requires that
dui:plan.order.type must be simple type(no complex type with simple
content).
xmlspy(4.2) does not have this kind of restriction.

Which one is conformed with www.w3.org/2001/XMLSchema ?

How to solve this problem ?

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

Reply via email to