Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » nullException
nullException [message #583282] Fri, 30 January 2004 12:47
mike is currently offline mikeFriend
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: Thu Apr 25 16:47:15 GMT 2024

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

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

Back to the top