Discussion Forums

Re: XML namespaces
Jonathan Wakely / UBS Investment Bank
13 Aug 2008 2:42PM ET

Argh, the less-than symbols dont' get escaped on submission, making it very difficult to post XML :)

> Hi,
>
> One exchange I'm working with provides XML template definitions that
> begin like this:
>
<?xml version="1.0" encoding="UTF-8" ?>
<templates xmlns="http://www.fixprotocol.org/ns/fast/td/1.1">

> and another provides:

<?xml version="1.0" encoding="UTF-8" ?>
<templates>

This of course means the "template" elements in the two documents are
not the same element, and cannot be matched by a single XPath query.
 
> Am I right in thinking that the second example should issue static error
> S1, according to section 4 of the FAST spec?
>
> If that's right, is the example of the concrete syntax on page 7 wrong,
> since it gives a different default namespace to that required by the
> RELAX NG schema.
>
> Thanks for any help clarifying this,
>
> Jonathan


XML namespaces
Jonathan Wakely / UBS Investment Bank   13 Aug 2008 2:38PM ET
Re: XML namespaces
Jonathan Wakely / UBS Investment Bank   13 Aug 2008 2:42PM ET
Re: XML namespaces
David Rosenborg / Pantor Engineering AB   13 Aug 2008 3:52PM ET