[MKDoc-modules] [BUG] MKDoc::XML comment parsing error

Steve Purkis spurkis at mkdoc.com
Tue Oct 7 12:50:41 BST 2003


Hi all,

MKDoc::XML doesn't like parsing the following comment:

	<!-- pre><?var name="dump: view/user"?></pre -->

It produces the error:

	invalid comment token: <!-- pre>[--
	 at /Library/Perl/MKDoc/XML/Tokenizer.pm line 72.

These produce similar errors:

	<!-- pre<?var name="dump: view/user"?></pre -->
	<!-- pre<?var name="dump: view/user"?>/pre -->
	<!-- <?var?> -->

These do *not* produce errors:
	<!-- pre?var name="dump: view/user"?>/pre -->
	<!-- pre<?var name="dump: view/user"?/pre -->
	<!-- pre<?var name="dump: view/user">/pre -->
	<!-- ?var? -->
	<!-- <var> -->

Seems to be something related to control tags <?blah?> & perhaps 
parsing precedence.

They are all parsed as comments by emacs' xml major mode.  I haven't 
taken the time to try other real xml parsers.

hth,
-Steve



More information about the MKDoc-modules mailing list