Actions
Bug #592
closedvalidation error with xs:anyType
Status:
Resolved
Priority:
Normal
Assignee:
Category:
eml - general bugs
Target version:
Start date:
09/16/2002
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
592
Description
XML Spy is raising an error in eml-resource in the inline element
"undefined value for type encountered"
changing the type to anything else (eg: xs:anySimpleType or adding an element
Any similar to additionalMetadata) makes this go awaythis needs to be fixed -
xml spy is a tool that many users are using to work with raw xml files because
of its powerful interactive validation and schema support
Updated by Peter McCartney about 22 years ago
same error occurs in the inline element in physicalDistributionType
reccomended fix is to define the inline element in both places as:
<xs:element name="inline">
<xs:complexType>
<xs:sequence>
<xs:any maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
This is functionally the same as xs:anyType, but avoids the problem with spy
(which uses MS parser) recognizing the type name
Updated by Matt Jones about 22 years ago
During conference call we all agreed this proposed fix works. Chnages are in
CVS. Marking RESOLVED FIXED.
Actions