summaryrefslogtreecommitdiff
path: root/tex/context/base/xtag-pre.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2003-01-10 00:00:00 +0100
committerHans Hagen <pragma@wxs.nl>2003-01-10 00:00:00 +0100
commit8de3b8a6a820ba65fe85f0cb83700b6282e61d71 (patch)
treedcc2e712bc7cd631ffeb9190bb8a6320e38617f3 /tex/context/base/xtag-pre.tex
parentd66c6c7f5bf3b189c2b194ba167fb39f548742e5 (diff)
downloadcontext-8de3b8a6a820ba65fe85f0cb83700b6282e61d71.tar.gz
stable 2003.01.10
Diffstat (limited to 'tex/context/base/xtag-pre.tex')
-rw-r--r--tex/context/base/xtag-pre.tex14
1 files changed, 10 insertions, 4 deletions
diff --git a/tex/context/base/xtag-pre.tex b/tex/context/base/xtag-pre.tex
index 78b1505ed..84bbeecda 100644
--- a/tex/context/base/xtag-pre.tex
+++ b/tex/context/base/xtag-pre.tex
@@ -207,11 +207,17 @@
\setvalue{XMLdoctype>}{}
\setvalue{XMLdoctype[}{\processuntil{]>}}
-\def\XMLdoctypeS YSTEM %
- {\dowithgrabbedstring\dodohandleXMLdoctype}
+%\def\XMLdoctypeS YSTEM %
+% {\dowithgrabbedstring\dodohandleXMLdoctype}
-\def\XMLdoctypeP UBLIC %
- {\dowithgrabbedstring{\dowithgrabbedstring\dodohandleXMLdoctype}}
+%\def\XMLdoctypeP UBLIC %
+% {\dowithgrabbedstring{\dowithgrabbedstring\dodohandleXMLdoctype}}
+
+\def\XMLdoctypeS YSTEM {\XMLgrabstring}
+\def\XMLdoctypeP UBLIC {\XMLgrabstring}
+
+\def\XMLgrabstring
+ {\doifnextcharelse>{\gobbleuntil>}{\dowithgrabbedstring\XMLgrabstring}}
%D Some day we may need to support entities within a
%D document type namespace.