You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by Stephen Collyer <sc...@netspinner.co.uk> on 2005/06/24 14:07:23 UTC

Setting schema location in code - SAXNotRecognizedException

I'm using XML::Xerces 2.5.0 and I'm getting a
XML::Xerces::SAXNotRecognizedException when trying to use
either of these:

$XML::Xerces::XMLUni::fgXercesSchemaExternalSchemaLocation
$XML::Xerces::XMLUni::fgXercesSchemaExternalNoNameSpaceSchemaLocation

via code like:

$parser->setFeature("$XML::Xerces::XMLUni::fgXercesSchemaExternalSchemaLocation",
                     "http://xyz/ns schema.xsd");

$parser->setFeature("$XML::Xerces::XMLUni::fgXercesSchemaExternalNoNameSpaceSchemaLocation",
                     "schema.xsd");

Can anyone see what I'm doing wrong ?

-- 
Regards

Stephen Collyer
Netspinner Ltd

---------------------------------------------------------------------
To unsubscribe, e-mail: p-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: p-dev-help@xerces.apache.org