Hi,

 I am getting following error in loadgrammer function when loading ipo.xsd
file.
http://old.nabble.com/file/p28753289/ipo.xsd ipo.xsd 
error: unable to resolve host/address 'www.example.com'
ipo.xsd:16:66 error: fatal error during schema scan

but it works fine if schemaLocation is changed from
schemaLocation="http://www.example.com/schemas/address.xsd";
to
schemaLocation="/asd/address.xsd"
in the file ipo.xsd. 

i am using following settings:

  conf->setParameter (XMLUni::fgDOMComments, false);
  conf->setParameter (XMLUni::fgDOMDatatypeNormalization, true);
  conf->setParameter (XMLUni::fgDOMEntities, false);
  conf->setParameter (XMLUni::fgDOMNamespaces, true);
  conf->setParameter (XMLUni::fgDOMElementContentWhitespace, false);

  conf->setParameter (XMLUni::fgDOMValidate, true);
  conf->setParameter (XMLUni::fgXercesSchema, true);
  conf->setParameter (XMLUni::fgXercesSchemaFullChecking, false);

  conf->setParameter (XMLUni::fgXercesUseCachedGrammarInParse, true);

  conf->setParameter (XMLUni::fgXercesLoadSchema, false);

plz reply soon...
thq.

other ref files:
http://old.nabble.com/file/p28753289/address.xsd address.xsd 
http://old.nabble.com/file/p28753289/ipo.xml ipo.xml 
source: http://old.nabble.com/file/p28753289/load-grammar-dom.cpp
load-grammar-dom.cpp 
-- 
View this message in context: 
http://old.nabble.com/unable-to-resolve-host-address-tp28753289p28753289.html
Sent from the Xerces - C - Users mailing list archive at Nabble.com.

Reply via email to