Re: [basex-talk] import in xsd

2014-03-03 Thread Jan Techter
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

Re: [basex-talk] import in xsd

2014-03-03 Thread Andy Bunce
Could not a custom LSResourceResolverhttp://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/ls/LSResourceResolver.html[1] be created to handle loading from the database? Regards /Andy [1]

Re: [basex-talk] import in xsd

2014-02-28 Thread Christian Grün
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

[basex-talk] import in xsd

2014-02-27 Thread Jan Techter
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