posted 15 years ago
I have a schema that includes another one: <xsd:include schemaLocation="SchemaCommon.xsd" />
I am using a document builder to validate my XML like this:
When I run this, I get:
schema_reference.4: Failed to read schema document 'SchemaCommon.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
src-resolve: Cannot resolve the name 'RecordType' to a(n) 'type definition' component.
...
Is there a way to append the schema files together somehow?