Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » nullException
nullException [message #583282] Fri, 30 January 2004 12:47
mike is currently offline mike
Messages: 35
Registered: July 2009
Member
I'm getting a nullException exception when loading a particular schema
file.
After investigating, it appears that it crashes on restricted enumerations
based on xs:positiveInteger. See xsd code below.

--mike

<xs:attribute name="layer">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

<xs:element name="root">
<xs:complexType>
<xs:attribute ref="layer"/>
</xs:complexType>
</xs:element>
Previous Topic:Redefinitions
Next Topic:Redefinitions
Goto Forum:
  


Current Time: Fri Oct 24 07:15:52 GMT 2014

Powered by FUDForum. Page generated in 0.02311 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software