I've attached small xml and xsd files that attempt to use
an enumeration. xerces 1.1.1 gives the error below.
Am I doing something wrong or is this a xerces bug?
Probably the former since this is pretty basic. Any help
will be appreciated. TIA
 
Steve Buroff
 

[Error] enumBug.xml:5:14: Schema error: null validator for datatype : EnumType.

[Error] enumBug.xml:5:14: Schema error: null validator for datatype : EnumType.

[Error] Datatypevalidator for attribute attr1 not found in element type elt

[Error] enumBug.xml:5:14: Attribute "attr1" must be declared for element type "elt".

enumBug.xml: 500 ms (1 elems, 3 attrs, 0 spaces, 4 chars)

Process Exit...

Attachment: enumBug.xsd
Description: Binary data

<?xml version="1.0"?>

<elt  xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
		xsi:noNamespaceSchemaLocation="enumBug.xsd"
		attr1="v1">
		
</elt>

Reply via email to