Project

General

Profile

Actions

Bug #592

closed

validation error with xs:anyType

Added by Peter McCartney about 22 years ago. Updated about 22 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

Actions #1

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
Actions #2

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 #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 592

Actions

Also available in: Atom PDF