[xml] validating xml against XSDs with xmllint; seems to not be finding included XSDs



Hello,

I'm trying to validate an xml file (form.xml) against an XSD file
(form.xsd) which includes some other XSD files, which in turn include
some others, etc.  Here is my command line:

xmllint --schema form.xsd ~/form.xml

(I am in the directory with form.xsd and all of the files it includes).

The output :

Unimplemented block at xmlschemas.c:3069
compilation error: file form.xsd line 45 element xs:element
Schemas: element anonelem13 ref to url not found
compilation error: file form.xsd line 63 element xs:element
Schemas: element anonelem21 ref to url not found
compilation error: file form.xsd line 237 element xs:element
Schemas: element anonelem60 ref to rich-content-message not found
compilation error: file form.xsd line 40 element xs:element
Schemas: element anonelem9 ref to rich-content-message not found
...
...
...
WXS schema form.xsd failed to compile

Which seems to imply that it is not parsing/including the included XSD files.

I have searched the lists and faqs and haven't found an answer to this
specific problem...I apologize if it is a FAQ and I just didn't find
it.

Thanks,
_NAP



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]