|
Hi Stephen thnx for the reply so right now what im doing is like this i have the XML file like this <?xml version="1.0" encoding="UTF-8"?> <IPU-Answers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipu_answers_ses.xsd" > <IPU-Masterinfo> now the code is something liek this my $parser = XML::Xerces::XMLReaderFactory::createXMLReader(); #$parser->setFeature("$XML::Xerces::XMLUni::fgSAX2CoreNameSpaces", 0); #$parser->setFeature("$XML::Xerces::XMLUni::fgSAX2CoreValidation", 0); #$parser->setFeature("$XML::Xerces::XMLUni::fgXercesSchema", 0); #$parser->setErrorHandler(MyErrorHandler->new); my $xml = "ipu_answers.xml"; open (HNDLR,$xml); my (@lines) = <HNDLR>; close HNDLR; my $something = join (" ",@lines); eval ($parser->parse(XML::Xerces::MemBufInputSource->new($something))); it just runs without any err and nithing happens the things coloured in red means that the script exists there... where am i doing wrong? regards Raju The light at the end of the tunnel has been turned off due to budget cuts. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] |
- validate an XML against an XSD Raju Sunny
- Re: validate an XML against an XSD Raju Sunny
- Re: validate an XML against an XSD Stephen Collyer
- Re: validate an XML against an XSD Raju Sunny
- Re: validate an XML against an XSD Stephen Collyer
- Re: validate an XML against an XSD Raju Sunny
