Hi,

xml comments have a bug (!?): spaces are critical at the 
beginning of a comment.


\starttext
\startbuffer
<!-- ignored comment -->
<one>one</one>
<!--not ignored -->
<two>two</two>
\stopbuffer
\processXMLbuffer
\stoptext

this should (as far as I understand the spec right) only output 
one two and not the second comment (<!--not ignored -->)

it seems that the missing space between the -- and the n is 
causing this effect. 

Thats what the xml rec says:
[15]���
Comment
��::=���
 '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'

But probably Taco knows for sure if there is another spec which 
states otherwise ;-)

I hope you don't understand me wrong: with all my bug reports 
I don't want to complain  
about context, which is in my eyes a great piece of software. 


Viele Gr��e,

  Patrick Gundlach


- I TeX, therefore I am -

Reply via email to