[xsd-users] Attributes not found from imported schemas

mhoffm1060 at aol.com mhoffm1060 at aol.com
Mon Nov 26 12:16:18 EST 2007


When I try to compile my schemas, I come across this error:

source/ext1.xsd:5:80: error: SimpleType (http://www.xyz.com/main/1.0.0:myValue) for attribute: myData1 not found
source/ext1.xsd:6:80: error: SimpleType (http://www.xyz.com/main/1.0.0:myValue) for attribute: myData2 not found
source/main.xsd:15:41: error: Invalid child 'attributeGroup' in the complex type

This seems to be similar to the issue mentioned in this thread:

http://www.codesynthesis.com/pipermail/xsd-users/2006-September/000538.html

The schemas are supplied to us from an outside source.? We could modify them as long as they are functionally equivalent, however we would prefer not to do this.

Am I doing something wrong during compilation to cause this error?

What?they are?trying to?do here is the schema in main.xsd is a released version, and the schema in ext1.xsd is an extension to the schema defined in main.xsd.? Is this a good way to do this or is there a more preferable way?? We have some input to the outside source of these schemas, so if there is a better way to extend the main schema they might be open to it.

Thanks,
Mark Hoffmann

The schemas are located in testcase/XSD/source directory of the attached file
The makefile is?located at testcase/XSD.? ( The environment variable XSD must be defined to the top level XSD directory before running "make all" )


________________________________________________________________________
Email and AIM finally together. You've gotta check out free AOL Mail! - http://mail.aol.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xsdTestCase.tar.gz
Type: application/x-gzip
Size: 1305 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20071126/bb634313/xsdTestCase.tar.bin


More information about the xsd-users mailing list