Author |
Message
|
fazz |
Posted: Thu Mar 03, 2005 3:11 am Post subject: Which XML Parser? |
|
|
 Centurion
Joined: 20 Feb 2004 Posts: 144 Location: England
|
Hi All,
Does anyone know which xml parser the broker (v5) uses?
Cheers |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 03, 2005 5:28 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Why do you care? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fazz |
Posted: Thu Mar 03, 2005 5:43 am Post subject: |
|
|
 Centurion
Joined: 20 Feb 2004 Posts: 144 Location: England
|
I don't see why that matters...but.....i have been asked to find out what xml parser the broker is using by the aplication development team, they have their own xml parser and want to compare the two to see if the functionality is the same. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 03, 2005 5:49 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Ask them if it's easier to use the supplied XML parser, or write and maintain a custom parser for WBIMB.
And then remind them that custom parsers for WBIMB can only be written in C. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 03, 2005 5:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
On second thought, scratch that.
They're probably looking to find out if there are unsupported features in the WBIMB parser compared to the XML standard.
The limitations of the XML parser are described in the documentation... somewhere...
It should be fully compliant with the W3C standard, so as long as they don't breach that, they should be okay. The Broker developers might need to use the XMLNS domain instead of the XML domain. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fazz |
Posted: Thu Mar 03, 2005 6:06 am Post subject: |
|
|
 Centurion
Joined: 20 Feb 2004 Posts: 144 Location: England
|
yeah, i think thats what they are after.
Ok, I'll have a dig round in the docs for the limitations.
Thanks for your input. |
|
Back to top |
|
 |
Nizam |
Posted: Thu Mar 03, 2005 6:18 am Post subject: |
|
|
Disciple
Joined: 10 Feb 2004 Posts: 160
|
You can use use the xml parser in the xml domain or MRM domain to parse your messages. IBM documentation says that the xml parser in the xml domain is faster than the one in MRM domain. Advantage of using xml parser in MRM domaini is to validate your messages. _________________ Nyzam
IBM Cert. Solution Designer - WBIMB V5
IBM Cert. Administrator - WBIMB V5
IBM Cert. Administrator - WebSphere MQ V5.3 |
|
Back to top |
|
 |
fazz |
Posted: Thu Mar 03, 2005 6:23 am Post subject: |
|
|
 Centurion
Joined: 20 Feb 2004 Posts: 144 Location: England
|
I will be using the MRM parser as we have a need to validate the message.
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 03, 2005 6:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The MRM domain XML parsing is slightly more limited than the unmodelled XML/XMLNS domain - I think.
But it's also much better documented!  _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fazz |
Posted: Thu Mar 03, 2005 6:35 am Post subject: |
|
|
 Centurion
Joined: 20 Feb 2004 Posts: 144 Location: England
|
If I use the MRM and check the use namespace option, will this give the same functionality as the XMLNS parser? |
|
Back to top |
|
 |
Craig B |
Posted: Thu Mar 03, 2005 7:36 am Post subject: |
|
|
Partisan
Joined: 18 Jun 2003 Posts: 316 Location: UK
|
Hi,
WBI-MB V5 uses the IBM Xerces V2.2 C++ parser which is also equivalent to the xml4c 5.2 parser. The WMQI V2.1 product uses the IBM Xerces V1.3.1 C++ parser.
This is the same for both the XML, XMLNS and MRM-XML domains. However, the MRM-XML parser parses against a message model giving a slight overhead, but does allow for message validation and simpler transformations to other physical formats. _________________ Regards
Craig |
|
Back to top |
|
 |
JLRowe |
Posted: Thu Mar 03, 2005 5:28 pm Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
If you are importing XML schema's, beware of limitations in MRM. |
|
Back to top |
|
 |
|