ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML Validator node(ia9a SupportPac) issue

Post new topic  Reply to topic
 XML Validator node(ia9a SupportPac) issue « View previous topic :: View next topic » 
Author Message
sekharchandra
PostPosted: Fri Feb 16, 2007 1:58 pm    Post subject: XML Validator node(ia9a SupportPac) issue Reply with quote

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.

Thanks in advance........
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Feb 16, 2007 5:36 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

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.
Back to top
View user's profile Send private message
sekharchandra
PostPosted: Tue Feb 20, 2007 9:50 am    Post subject: Reply with quote

Newbie

Joined: 11 Aug 2005
Posts: 6

I have successfully validated both the XSD and XML in XML spy. But the same message can't be validated by XML validator node in message flow.

Still, I am getting error as Element type must be declared

could any one help me regarding this issue
Back to top
View user's profile Send private message
madi
PostPosted: Tue Feb 20, 2007 10:08 am    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

can u post the trace

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

thanks
madi
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Feb 20, 2007 10:09 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

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.
Back to top
View user's profile Send private message
sekharchandra
PostPosted: Tue Feb 20, 2007 11:53 am    Post subject: Reply with quote

Newbie

Joined: 11 Aug 2005
Posts: 6

madi wrote:
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...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML Validator node(ia9a SupportPac) issue
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.