The import is being interpreted as a relative URI, and combined with the
document's base URI to determine where to import from.  When we parse the
files directly from URIs we know this information; if you pass us a stream
or a DOM you'll want to set it explicitly. I believe  the setSystemID()
method on the Source interface is what you need.

Reply via email to