I found something that might be an error in the current xml-processing. 
In the following minimal example een "Undefined control sequence" error occurs 
for the \xmldisplayverbatim and \xmlinlineverbatims. The \xmlverbatim doesn't.

\startxmldisplayverbatim ...\doinitializeverbatim 
                                                  \beginofverbatimlines 

\startbuffer[test-1]
<?xml version="1.0" encoding="UTF-8"?>
<myroot>
  <text>buffer[test-1] contents</text>
</myroot>
\stopbuffer

\startxmlsetups load:setups
  \xmlsetsetup{\xmldocument}{myroot|text}{load:*}
\stopxmlsetups\xmlregistersetup{load:setups}

\startxmlsetups load:myroot
  \writestatus{TEST}{loading myroot node = #1 = \xmlname{#1}}
%  \xmlverbatim{#1}{text}\par
  \xmldisplayverbatim{#1}{text}\par
%  \xmlinlineverbatim{#1}{text}\par
\stopxmlsetups

\startxmlsetups load:text
\writestatus{TEST}{node = #1 = \xmlname{#1}}
\xmlflush{#1}
\stopxmlsetups

\enabletrackers[lxml.loading]
\setuppapersize[S5][S5]
\starttext
\xmlprocessbuffer{myroot}{test-1}{}
\stoptext
    

Hans van der Meer



___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to