* xml--verbatim in error?
@ 2012-03-21 13:00 Meer, H. van der
0 siblings, 0 replies; only message in thread
From: Meer, H. van der @ 2012-03-21 13:00 UTC (permalink / raw)
To: ConTeXt NTG
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-21 13:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-21 13:00 xml--verbatim in error? Meer, H. van der
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).