[Users] XMPP BC as consumer : Content not allowed in prolog

alouis petals-components at ebmwebsourcing.com
Wed Mar 16 10:26:08 CET 2011


This is a mere xpath problem, not a PEtALS problem  
You dont have to use prefix like this. 
Please refer to standard Xpath documentation that you can find on internet 
You can try 
/*[namespace-uri()='http://blabla' and local-name()='scenario'] 

Best 

Adrien 


De : cpipo [mailto:petals-components at ebmwebsourcing.com] 
Envoyé : mercredi 14 janvier 2009 13:28
À : petals-components at ebmwebsourcing.com
Objet : Re: XMPP BC as consumer : Content not allowed in prolog 


Hi,


I had to install a pojo SU to print the XML message content of the Exchange. The content was :


...


And, what I must write in the router test is name(/*)='ns4:scenario' !!!

Yes, it works, but how can I guess, without printing the NMR message, which prefix Petals associates to my namespace ?!




-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=397#397

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/23c11279/attachment.htm>


More information about the Users mailing list