[oXygen-user] <import/> and validation
George Cristian Bina
Thu Aug 5 05:07:02 CDT 2004
Hi Steve,
Thanks for your message.
Sure the <import/> should be validated, the XML Schema specification
specifically allows it:
<quote source="http://www.w3.org/TR/xmlschema-1/#composition-schemaImport">
NOTE: Since both the namespace and schemaLocation [attribute] are optional,
a bare <import/> information item is allowed. This simply allows unqualified
reference to foreign components with no target namespace without giving any
hints as to where to find them.
</quote>
We already found the problem in oXygen and fix it. It was a bug in the
catalog resolver that rised an exception when the resource to be resolved
had all the fields set to null.
Best Regards,
George
-------------------------------------------------------------
George Cristian Bina mailto:
<oXygen/> XML Editor - http://www.oxygenxml.com/
----- Original Message -----
From: "Steve Lay" <>
To: <>
Sent: Wednesday, August 04, 2004 5:07 PM
Subject: [oXygen-user] <import/> and validation
> I've been trying to validate the current MathML schema and I'm getting the
> unhelpful error message "E Null" as a result. I've figured out that that
> means that a schemaLocation is missing (but agreed with others that this
> should be expanded into something that doesn't take so much research to
> figure out).
>
> Anyway, the line that is causing me trouble is:
>
> <xs:import/>
>
> This line is followed by the helpful comment "import any foreign
namespace".
>
> Now I know that "This simply allows unqualified reference to foreign
> components with no target namespace without giving any hints as to where
to
> find them." but the schema doesn't contain any such references as far as I
> can see and commenting out the line allows it to validate.
>
> Perhaps it would be more useful to get Oxygen to defer its disapproval
> until it finds a reference for which no definition exists?
>
> Or am I misunderstanding what is going on here.
>
> Steve
> _______________________________________________
> oXygen-user mailing list
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
More information about the oXygen-user
mailing list