xml:base handling

Hi,

While making process with the SWI-Prolog RDFa implementation, I'm 
struggling with xml:base for the XML test suite.  The spec says
this must be set when creating the initial context, but XML seems
to allow for zero or more xml:base attributes anywhere in the
tree.

What is supposed to happen here?

   - Scan the tree for xml:base when creating the initial context?
     Then, what if there are two of them (with a different base).
   - Update the context as we see xml:base, similar as to what we
     do for xml:lang processing?

 Thanks --- Jan

Received on Tuesday, 25 February 2014 16:38:11 UTC