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

Jean-Michel Hiver jhiver at mkdoc.com
Tue Oct 7 13:51:06 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.

This is strange, this funcionality is in the MKDoc::XML::Tokenizer
module.

If I run the following test script:

  use MKDoc::XML::Tokenizer;
  MKDoc::XML::Tokenizer->process_data (qq |<!-- pre><?var name="dump: view/user"?></pre -->|);

It does work on my system.

Can you run that and see if it dies on your box?

If it doesn't, could you send a simple test script that demonstrates the
incorrect behavior?

Thanks a bunch,
-- 
Building a better web - http://www.mkdoc.com/
---------------------------------------------
Jean-Michel Hiver
jhiver at mkdoc.com  - +44 (0)114 255 8097
Homepage: http://www.webmatrix.net/


More information about the MKDoc-modules mailing list