W3C home > Mailing lists > Public > www-archive@w3.org > January 2002

XML parser has trouble with tag in comment swap/test/p3p/

From: Tim Berners-Lee <timbl@w3.org>
Date: Tue, 15 Jan 2002 17:02:17 -0500
Message-ID: <00d701c19e10$4c2c46c0$a101a8c0@CREST>
To: <timbl+n3bugs@w3.org>
Cc: <www-archive+n3bugs@w3.org>, "Dan Connolly" <connolly@w3.org>
The error reporting isn't excellent either - maybe the :22:1  isn
line/character?


$ make
sed -f p3p-rdf-schema.sed < p3p-rdf-schema.xml > p3p-rdf-schema.noents
python ../../cwm.py -rdf p3p-rdf-schema.noents -n3 > p3p-rdf-schema.n3
Traceback (most recent call last):
  File "../../cwm.py", line 606, in ?
    doCommand()
  File "../../cwm.py", line 468, in doCommand
    p.load(_inputURI)
  File "/devel/WWW/2000/10/swap/sax2rdf.py", line 479, in load
    self.loadStream(f)
  File "/devel/WWW/2000/10/swap/sax2rdf.py", line 488, in loadStream
    raise SyntaxError("parsing XML: "+sys.exc_info()[1].__str__())   #
Remove all XML diagnostic info?!? -tbl
SyntaxError: parsing XML: <unknown>:22:1: not well-formed
make: *** [p3p-rdf-schema.n3] Error 1

timbl@CREST /devel/WWW/2000/10/swap/test/p3p
Received on Tuesday, 15 January 2002 17:02:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:16 GMT