Author |
Message
|
Lillian |
Posted: Thu Mar 02, 2006 5:16 am Post subject: xml validation: NS parsing |
|
|
Centurion
Joined: 15 Apr 2002 Posts: 102
|
Hi
Broker version 2.1:
I have imported an xsd and am trying to validate against it. As soon as a messages with the ns attribute is submitted, it abends but if I remove it the message validates.
None of the namespace parameter were set for the import. Any MRM setting that I am missing?
sample one abends
<?xml version="1.0" encoding="UTF-8"?>
<TXLife xmlns="http://ACORD.org/Standards/Life/2">
<TXLifeResponse>
sample two validates
<?xml version="1.0" encoding="UTF-8"?>
<TXLife>
<TXLifeResponse> |
|
Back to top |
|
 |
elvis_gn |
Posted: Thu Mar 02, 2006 5:23 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi Lillian,
Are you using the MRM parser ?
Why not use XMLNS, or atleast XML and tick the Use of namespaces.
Do other namespaces in the message exist, and if Yes do they work ?
Regards. |
|
Back to top |
|
 |
kimbert |
Posted: Thu Mar 02, 2006 5:53 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
Why not use XMLNS, or atleast XML |
probably because
Quote: |
and am trying to validate against it |
|
|
Back to top |
|
 |
kimbert |
Posted: Thu Mar 02, 2006 5:56 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Lillian: The product should not abend under any circumstances. If you are on the latest CSD level, I suggest you raise a PMR. Otherwise, get the latest CSD and retry. |
|
Back to top |
|
 |
Lillian |
Posted: Thu Mar 02, 2006 6:02 am Post subject: |
|
|
Centurion
Joined: 15 Apr 2002 Posts: 102
|
Will log PMR , on CSD09.
True, need to validate.
I have tried to update the suppress doctype to No and insert the http://ACORD.org/Standards/Life/2 in the systen Id. Still no joy.
What are the ideal settings for the parameters when importing the xsd wrt namespaces? |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 02, 2006 6:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Namespace support in 2.1 is pretty much non-existant, last I knew. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|