I’m using webMethods 9.7.
I receive the same XML Document Type from a couple partners. Up to now, everyone has sent the XML with no namespace. For example:
<?xml version="1.0" encoding="UTF-8"?>
<Order>
<OrderHeader>
...
Now, a new partner wants to send the XML with a default namespace:
<?xml version="1.0" encoding="UTF-8"?>
<Order xmlns="rrn:org.xcbl:schemas/xcbl/v3_5/xcbl35.xsd">
<OrderHeader>
...
Trading Networks adds “prefix0:” to the front of all the element names in the second example, as described in the TN Administrators Guide.
The problem is that there’s no prefix applied to the no-namespace XMLs, so none of my Identifying or Extract XQL queries work on both XMLs.
I can see how I could map the namespace “rrn:org.xcbl:schemas/xcbl/v3_5/xcbl35.xsd” to different prefixes if I received XMLs with different prefixes on the same namespace. How can I configure TN to handle XMLs with no namespace defined and XMLs with a default namespace defined in the same document type?