Posted: Fri Feb 16, 2007 1:58 pm Post subject: XML Validator node(ia9a SupportPac) issue
Newbie
Joined: 11 Aug 2005 Posts: 6
Hi
In my scenario i have to validate the XML message with XSd's using XML validator node(ia9a SupportPac).While validating the xml message with XSd's where xsd's are multi-level (one xsd refers multiple xsds). Does XML validator node support multilevel xsd's.
As far as I know - and this may not be very far at all, please take warning -
The XMLValidator node should support any level of XML schema that is valid for XML schemas.
But if you're trying to get it to validate stuff that isn't valid for XML Schemas... you're probably out of luck. _________________ I am *not* the model of the modern major general.
and also the parts of the message it is giving the error ........ i use xml validator and would like to know if referring to other schemas in the root xsd is a possibility
Maybe you do not have the schemas deployed in the proper manner for the node to find the nested schemas. _________________ I am *not* the model of the modern major general.
can u post the trace
and also the parts of the message it is giving the error ........
madi
Tue Feb 20 13:44:12 EST 2007 XMLValidatorNode 1.0 >> evaluate
Tue Feb 20 13:44:12 EST 2007 XMLValidatorNode 1.0 Message body:
<Inven xmlns="http://www.sample.com/rs/h/nswe/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" sys="Psys" rID="String" vID="String" l="en-US"><AA><S><CID>PS</CID></S><CDT>2007-02-20</CDT></AA><DA><Ack> </Ack><MI><MIH><DD><ID>123</ID></DD><DDT>2006-12-24</DDT></MIH><MIL><LN>normalizedString</LN><It><ItID><ID>normalizedString</ID></ItID><Cl><C><Cd name="It" sequence="1">normalizedString</Cd></C></Cl><Spe><P><NameValue name="ZC">123</NameValue></P></Spe><RID></RID><SN></SN><UA></UA></It><Qu>33832795</Qu><GE>normalizedString</GE><RC></RC><Des><GED>normalizedString</GED><Fty><As><CC>123</CC></As></Fty><TDT>2006-12-24</TDT></Des><LAt><GWC>String</GWC><MC>String</MC></LAt><Lsn></Lsn></MIL></MI>
</DA></Inven>
Tue Feb 20 13:44:12 EST 2007 XMLValidatorNode 1.0 Found LocalEnvironment variable for SchemaLocation:http://www.sample.com/rs/h/nswe/1 file:///c:/Inven.xsd
Tue Feb 20 13:44:12 EST 2007 XMLValidatorParserInterface 1.0 >> setProperty
Tue Feb 20 13:44:12 EST 2007 XMLValidatorParserInterface 1.0 Setting parser property http://apache.org/xml/properties/schema/external-schemaLocation to "http://www.sample.com/rs/h/nswe/1 file:///c:/Inven.xsd"
Tue Feb 20 13:44:12 EST 2007 XMLValidatorParserInterface 1.0 Unrecognized feature:
Tue Feb 20 13:44:12 EST 2007 XMLValidatorParserInterface 1.0 http://apache.org/xml/properties/schema/external-schemaLocation
Tue Feb 20 13:44:12 EST 2007 XMLValidatorParserInterface 1.0 << setProperty
Tue Feb 20 13:44:12 EST 2007 XMLValidatorNode 1.0 Validating...
Tue Feb 20 13:44:12 EST 2007 XMLValidatorParserInterface 1.0 >> validateXML
Tue Feb 20 13:44:12 EST 2007 XMLValidatorParserInterface 1.0 >> setXMLData
Tue Feb 20 13:44:12 EST 2007 XMLValidatorParserInterface 1.0 << setXMLData
Tue Feb 20 13:44:12 EST 2007 XMLValidatorParserInterface 1.0 >> parseXMLData
Tue Feb 20 13:44:12 EST 2007 XMLValidatorParserInterface 1.0 Setting parser feature http://xml.org/sax/features/validation to "true"
Tue Feb 20 13:44:12 EST 2007 XMLValidatorParserInterface 1.0 Setting parser feature http://apache.org/xml/features/validation/schema to "true"
Tue Feb 20 13:44:12 EST 2007 XMLValidatorParserInterface 1.0 << parseXMLData
Tue Feb 20 13:44:12 EST 2007 XMLValidatorParserInterface 1.0 << validateXML
Tue Feb 20 13:44:12 EST 2007 XMLValidatorNode 1.0 Propagating message to Invalid...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum