Hi,

is the validation:xsd() function able to handle the import of other schemata?
I tried to do something like

<import namespace="http://bibtexml.sf.net/"; schemaLocation="bibtexml-handwritten.xsd"/>

to use types which are defined in this schema in my own schema.
Both schema files are lying next to each other in the same basex database.

The validation function doesnt throw an error that the import failed.
But rather only states that it can't resolve the types i used from the other schema:

Validation failed. "Fatal:src-resolve: Cannot resolve the name 'bibtex:entry' to a(n) 'type definition' component."

So it seems like it just ignores the import statement.

Best,
Jan
_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Reply via email to