Hi,
thx for the info.
I'll have to manage with absolute paths then
for the time being.
Best,
Jan
On 02/28/2014 08:23 PM, Christian Grün wrote:
Hi Jan,
the reason for the unexpected behavior may be that the referenced
schema files cannot be retrieved from the database. Instead, they will
be requested from the local system. One of the reasons is that schema
validation is peformed by the standard Java validators, or by Saxon,
and both of them have no access to database files.
Hope this helps,
Christian
___________________________________
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
_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk