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 Taras Tielkes <ta...@info.nl> on 2001/11/16 12:24:00 UTC

[1.4.1] Schema validation using noNamespaceSchemaLocation

Hi,

I'm using Xerces 1.4.1, and various reasons make upgrading to 1.4.4 not an
option.

I'd like to use XSD validation with this version. The documents I want to
validate contain no namespaces or schema hints.

I tried to use the
"http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation"
property, but it looks like Xerces 1.4.1 doesn't pick up the schema somehow.
All the elements in the xml documents trigger a "Element xx must be
declared" error message.

Replacing the xerces jar by the 1.4.3 release version makes everything work
fine.

Is the noNamespaceSchemaLocation property supposed to work in the 1.4.1
release?

Thanks in advance,

// tt

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