Author |
Message
|
ferloz |
Posted: Thu May 26, 2005 3:39 am Post subject: XML namespace and so on |
|
|
 Novice
Joined: 26 May 2005 Posts: 23
|
Dear all, i've a question about namespace:
I've imported an DTD from a provider in witch there are some namespaces .
I received also a message from an mq queue but after the node MQInput ( i'm working on WBIMB rel 5 ) the kind is BLOB.
I've tried to Reset the message for making it accessible via XML.
If the property of the node ResetContent is "XML" the result is accessible only referencing the field not as ns field but as field wit a semicolon in the name ( es InputRoot.XML."SwInt:ExchangeResponse" ).
Therefore i've tried also to reparse ( via resetContent ) with a pre imported messageset. but in this last case i received only a parse error ( parsenext).
Can anyone help me (forgetting my poor english )
Thanks a lot _________________ fkid |
|
Back to top |
|
 |
ydsk |
Posted: Thu May 26, 2005 7:43 am Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
why take the msg as BLOB and use RCD ? Take it as XMLNS and use syntax like InputRoot.XMLNS.abc:parenttag.def:childtag
Thanks. |
|
Back to top |
|
 |
ferloz |
Posted: Thu May 26, 2005 7:49 am Post subject: |
|
|
 Novice
Joined: 26 May 2005 Posts: 23
|
Dear ydsk, i've tried but dosen't work .
The problem appear directly after the MQInput node.
If i use XML as domain work but the field is es. "SwInt:ExchangeResponse" .
If i change to XMLNS i receive an exception .
But a thing i've not mentioned before is that after the import of DTD some Elements are duplicate ( and marked with an red dot ) but in the dtd are with differents namaespaces ..... yhis can be a suggestion ?
Thank for your replay _________________ fkid |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 26, 2005 8:54 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You have to enable namespaces on the message definition file or the message set. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ferloz |
Posted: Thu May 26, 2005 12:46 pm Post subject: |
|
|
 Novice
Joined: 26 May 2005 Posts: 23
|
Dear jefflowrey, thank for the replay but unfortunatly i've do what you are suggesting without ani result .
Do i enable the namesapce before to create the message def file ?
Thank a lot. _________________ fkid |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 26, 2005 12:48 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
ferloz wrote: |
Do i enable the namesapce before to create the message def file ? |
Yes.
And use XMLNS. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ferloz |
Posted: Thu May 26, 2005 12:49 pm Post subject: |
|
|
 Novice
Joined: 26 May 2005 Posts: 23
|
Thanks a lot . i'll try immediatly.
 _________________ fkid |
|
Back to top |
|
 |
ferloz |
Posted: Fri May 27, 2005 6:42 am Post subject: |
|
|
 Novice
Joined: 26 May 2005 Posts: 23
|
it dosn't work. _________________ fkid |
|
Back to top |
|
 |
kishoreraju |
Posted: Tue May 31, 2005 12:47 pm Post subject: |
|
|
Disciple
Joined: 30 Sep 2004 Posts: 156
|
my first quation is that why u r going for a message set.
u can directly access Message by using XMLNS asessage domain in the MQInput Node.
U can directly access the message in the esql by sing wildcard characters. |
|
Back to top |
|
 |
ferloz |
Posted: Tue May 31, 2005 11:45 pm Post subject: |
|
|
 Novice
Joined: 26 May 2005 Posts: 23
|
dear kishoreraju, thanks for the suggestion, but when i set the domain property to XML or XMLNS always i receive an exception caused by the parser and the message is set to BLOB.
I tryied all flawors of properties , but without any result.
Ferloz _________________ fkid |
|
Back to top |
|
 |
|