[NTG-context] bug when dealing with XML classes?

Pablo Rodriguez oinos at gmx.es
Thu Jan 22 19:42:26 CET 2015


I have the following sample:

    <h1>This is my title</h1>

    <div class="section" class="level1" class="hidden">
        <h1>This title is hidden</h1>

    <div class="section level1 hidden">
        <h1>This title is not hidden</h1>



\startxmlsetups xml:initialize


\startxmlsetups xml:div

\startxmlsetups xml:h1


ConTeXt MkIV is not able to understand

    class="section level1 hidden"


    class="section" class="level1" class="hidden"

and the second attribution is invalid XML (according to the W3C
Validator [http://validator.w3.org/] and xmlvalidation.com): class
should be only specified once.

I think this might be a bug in ConTeXt.

Many thanks for your help,


More information about the ntg-context mailing list