Project

General

Profile

Bug #592

validation error with xs:anyType

Added by Peter McCartney about 18 years ago. Updated almost 18 years ago.

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

History

#1 Updated by Peter McCartney about 18 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

#2 Updated by Matt Jones almost 18 years ago

During conference call we all agreed this proposed fix works. Chnages are in
CVS. Marking RESOLVED FIXED.

#3 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 592

Also available in: Atom PDF