Issues with NameSpace import

This should cover W3C XML Schema, Relax NG and DTD related problems.
Posts: 1
Joined: Sun Feb 16, 2020 6:43 am

Issues with NameSpace import

Post by bpatel91 » Sun Feb 16, 2020 6:50 am

Im trying have my namespace imported but for some reason it will not budge.
Ive tried this as well as adding at

Code: Select all

import schema namespace r = "" at "Assignment-Xquery3.xsd";
I keep getting this error:

Code: Select all

Error in schema No valid schema was found
I tired "-Instance" as well but to no luck. I am run Saxon EE. This was the template given by my Professor.

Posts: 284
Joined: Thu Jul 01, 2004 12:29 pm

Re: Issues with NameSpace import

Post by tavy » Tue Feb 18, 2020 10:51 am


I an not sure what you want to do. Maybe you want to declare a prefix for the schema, something like this:

Code: Select all

declare namespace r = "namespace of Assignment-Xquery3.xsd"

Best Regards,
Octavian Nadolu
<oXygen/> XML Editor

Post Reply