Comments in XML at beginning of document

Posted by wanderameise on Stack Overflow See other posts from Stack Overflow or by wanderameise
Published on 2010-06-11T10:07:32Z Indexed on 2010/06/11 10:13 UTC
Read the original article Hit count: 246

Filed under:
|
|

my python xml parser fails if there´s a comment at the beginnging of an xml file like::

<?xml version="1.0" encoding="utf-8"?>
<!-- Script version: "1"-->
<!-- Date: "07052010"-->
...

is it illegal to place a comment like this?

© Stack Overflow or respective owner

Related posts about python

Related posts about Xml