Good morning. Some time ago I've uploaded and installed new ConTeXt (ConTeXt ver: 2002.10.23 fmt: 2002.12.4 int: english mes: english). With it my XHTML documents cannot be processed (it worked with some older version). Now I obtain this very error message: ! Missing \endcsname inserted. <to be read again> \def \parseXMLelement #1#2 #3>->\def \currentXMLarguments {#3}\if #1/\chardef \ki... l.2 <HTML> What's wrong? Is it my stupidness or a bug in a new version of ConTeXt? I include a minimal example file. Many thanks and greetings to you all. Michal Kvasnicka
At 09:21 AM 1/10/2003 +0100, you wrote:
Good morning.
Some time ago I've uploaded and installed new ConTeXt (ConTeXt ver: 2002.10.23 fmt: 2002.12.4 int: english mes: english). With it my XHTML documents cannot be processed (it worked with some older version).
Now I obtain this very error message: ! Missing \endcsname inserted. <to be read again> \def \parseXMLelement #1#2 #3>->\def \currentXMLarguments {#3}\if #1/\chardef \ki... l.2 <HTML>
What's wrong? Is it my stupidness or a bug in a new version of ConTeXt? I include a minimal example file.
i assumed that there were two strings, you may try: \def\XMLdoctypeS YSTEM {\XMLgrabstring} \def\XMLdoctypeP UBLIC {\XMLgrabstring} \def\grabXMLstrings {\doifnextcharelse>{\gobbleuntil>}{\dowithgrabbedstring\XMLgrabstring}} How about: \defineXMLgrouped [I] \em \defineXMLgrouped [B] \bf Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
On Fri, Jan 10, 2003 at 12:36:09PM +0100, Hans Hagen wrote:
At 09:21 AM 1/10/2003 +0100, you wrote:
Good morning.
With it my XHTML documents cannot be processed (it worked with some older version).
Now I obtain this very error message: ! Missing \endcsname inserted. <to be read again> \def \parseXMLelement #1#2 #3>->\def \currentXMLarguments {#3}\if #1/\chardef \ki... l.2 <HTML>
i assumed that there were two strings, you may try:
This is a HTML file, not a XHTML file. Therefore it is a SGML file, for which a PUBLIC identifier is not followed by a system identifier. Simon -- Simon Pepping email: spepping@scaprea.hobby.nl
At 09:18 PM 1/11/2003 +0100, Simon Pepping wrote:
On Fri, Jan 10, 2003 at 12:36:09PM +0100, Hans Hagen wrote:
At 09:21 AM 1/10/2003 +0100, you wrote:
Good morning.
With it my XHTML documents cannot be processed (it worked with some older version).
Now I obtain this very error message: ! Missing \endcsname inserted. <to be read again> \def \parseXMLelement #1#2 #3>->\def \currentXMLarguments {#3}\if #1/\chardef \ki... l.2 <HTML>
i assumed that there were two strings, you may try:
This is a HTML file, not a XHTML file. Therefore it is a SGML file, for which a PUBLIC identifier is not followed by a system identifier.
ah, this explains things, i was expecting two strings; thanks (you seem to have the sgml/xml syntax burned into your mind -) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
Good morning. Thanks for your help. I'm stupid. I've generated the file with StarOffice. It looked like XHTML (all tags were paired -- except <!DOCTYPE ...>). I missed it. Many thanks for your help. I'll simply delete the tag in the pre-processing stage. Michal Kvasnicka
This is a HTML file, not a XHTML file. Therefore it is a SGML file, for which a PUBLIC identifier is not followed by a system identifier.
ah, this explains things, i was expecting two strings; thanks (you seem to have the sgml/xml syntax burned into your mind -)
participants (3)
-
AlterEgo Qasars
-
Hans Hagen
-
Simon Pepping