[fpc-pascal] fpdoc error with XML parsing
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Mon Jul 2 22:11:23 CEST 2018
Hi,
What is illegal about this fpdoc XML project file? fpdoc from FPC 3.1.1
keeps giving an exception error reading the XML document. The issue it
has is with the XML Comment I have on lines 2-5 (ignore the line
wrapping caused by my email client). If I remove that comment, then the
XML is read, parsed and the documentation is generated without problem.
But I fail to see what the problem is - the xml syntax looks fine to me.
====================================
<?xml version="1.0" encoding="utf-8"?>
<!--
Run using:
fpdoc --macro=FPCDIR=/data/devel/fpc-3.1.1/src
--sproject=rtl-project.xml
-->
<docproject>
<options>
<option name="ostarget" value="FreeBSD"/>
<option name="cputarget" value="x86_64"/>
...snip...>
====================================
Here is the actual error:
$> /data/devel/fpc-3.1.1/x86_64-freebsd/bin/fpdoc
--macro=FPCDIR=/data/devel/fpc-3.0.4/src --project=rtl-project.xml
FPDoc - Free Pascal Documentation Tool
Version 3.1.1 [2017/11/20]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, sg at freepascal.org
(c) 2005 - 2012 various FPC contributors
Exception at 000000000052F81A: EXMLReadError:
In 'stream:' (line 4 pos 13): Expected ">".
$>
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the fpc-pascal
mailing list