#59 wrong namespace in example now appears

Syd Bauman

On 2007-10-27 srahtz normalized the use of alien namespaces in the TEI Guidelines (r3833). Back then, a child of <egXML> that was in an alien namespace showed up with its prefix, without any visible binding of that prefix. This meant that the first example of section 20.4 showed up as having <xi:include> elements, and the reader was not aware that “xi” was (inappropriately, but necessarily) bound to the namespace “http://www.example.org/ns/nonTEI”.[1] That is, the reader of the processed Guidelines saw a (mildly) incomplete, but correct example.

But now this example shows up without prefixes, and with each <include> element having an explicit xmlns= attribute that shows the example namespace, leaving readers with a complete, but erroneous example.

[1] This is inappropriate, because the point of the example is to demonstrate the use of the <include> element in the “http://www.w3.org/2001/XInclude” namespace. It is necessary because we *can’t* use the <include> element from the “http://www.w3.org/2001/XInclude” namespace, lest it be interpreted as being an instruction for inclusion during processing of the TEI Guidelines.


  • Sebastian Rahtz

    Sebastian Rahtz - 2009-01-10
    • status: open --> closed
  • Sebastian Rahtz

    Sebastian Rahtz - 2009-01-10

    I'm not wild about any of the possible solutions; I have rather reluctantly
    put the offending bit in a CDATA section, the same technique
    as used when eg a DOCTYPE is displayed. This has the version
    of being sure to work.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks