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/02/14 20:11:18 UTC

DO NOT REPLY [Bug 6472] New: - xerces 2.0.0 simleContent requires its base type must be simpleType?

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: xerces-j-dev@xml.apache.org
        ReportedBy: jyang@jbmanagement.com


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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org