You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by "Nguyen, Linh" <Li...@ccra-adrc.gc.ca> on 2002/12/06 18:01:07 UTC

How to ignore error in "xsi:noNamespaceSchemaLocation" attribute?

If the document contains

<Submission xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="G:\BLAH BLAH\layout.xsd">

Xerces 2.2.1 complains as follows:

Line 4: cvc-datatype-valid.1.2.1: 'G:\BLAH BLAH\layout.xsd' is not a valid
'anyURI' value.

Is there any way I can detect if the error comes from the attribute
"xsi:noNamespaceSchemaLocation"?  My parser uses its own internal schema any
way.

TIA
linh

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org