Re: [fpc-pascal] fpdoc error with XML parsing

2018-07-03 Thread George Bakhtadze
"--" in comments is not allowed by XML standard.As a workaround it may be replaced by it's UTF-8 equivalent "-".https://stackoverflow.com/questions/10842131/xml-comments-and 03.07.2018, 02:08, "Graeme Geldenhuys" :> On 07/02/18 21:28, wkitt...@windstream.net wrote:>>  can fpdoc process comments spa

Re: [fpc-pascal] fpdoc error with XML parsing

2018-07-03 Thread Bart
On Tue, Jul 3, 2018 at 6:52 PM, wrote: >> So I guess "--" is not allowed inside a >> xml comment block. Another reason to dislike XML. ;-) W3C XML validator says it's invalid XML: " invalid comment declaration: found name start character outside comment but inside comment declaration" and it p

Re: [fpc-pascal] fpdoc error with XML parsing

2018-07-03 Thread wkitty42
On 07/02/2018 07:07 PM, Graeme Geldenhuys wrote: From that error message it doesn't seem to like the "--macro" part inside the xml comment. It seems fpdoc wants to process that "--" as the end of the comment. this was where i was headed... if the multi-line comments work properly, perhaps it i

Re: [fpc-pascal] fpdoc error with XML parsing

2018-07-02 Thread Graeme Geldenhuys
On 07/02/18 21:28, wkitt...@windstream.net wrote: > can fpdoc process comments spanning multiple lines? Yes it can. That same XML file contains multi-line comments too, and those don't give issues. eg: ...snip... ...snip... =

Re: [fpc-pascal] fpdoc error with XML parsing

2018-07-02 Thread wkitty42
On 07/02/2018 04:11 PM, Graeme Geldenhuys wrote: 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

[fpc-pascal] fpdoc error with XML parsing

2018-07-02 Thread Graeme Geldenhuys
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, p