Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2006-07

fpdoc gives error on embeded <ul> tag

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

I am busy documenting some of my code and I get this error. Even though the html output is exactly what I wanted, by is fpdoc give me this error?

----------------------
FPDoc - Free Pascal Documentation Tool
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther,

Writing 1043 pages...
[#fpgui.fpGUI.TLayout] Invalid description (illegal XML element: "#text") Done.
----------------------

As you can see below, I am using two <ul> tags. One inside the other. I read tho fpdoc documentation regarding the <ul> item, and it says you can use plain text or formatted text inside a <li>.

----------------------------
[ ... ]
<descr>
<p>By specifying the logical layout once, you get the following benefits:</p>
<ul>
<li>Positioning of child widgets.</li>
<li>Sensible default sizes for windows.</li>
<li>Sensible minimum sizes for windows.</li>
<li>Resize handling.</li>
<li>Automatic update when contents change:
<ul>
<li>Font size, text or other contents of child widgets.</li> <li>Hiding or showing a child widget.</li>
<li>Removal of child widgets.</li>
</ul>
</li>
</ul>
</descr>
[ ... ]
----------------------------

fpdoc complains, but the html output looks exactly like I want.

Regards,
Graeme.

There's no place like 127.0.0.1

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys
Graeme Geldenhuys wrote 30 lines
Hi, I am busy documenting some of my code and I get this error. Even though the html output is exactly what I wanted, by is fpdoc give me this error? ---------------------- FPDoc - Free Pascal Documentation Tool (c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, Writing 1043 pages... [#fpgui.fpGUI.TLayout] Invalid description (illegal XML element: "#text") Done. ---------------------- As you can see below, I am using two <ul> tags. One inside the other. I read tho fpdoc documentation regarding the <ul> item, and it says you can use plain text or formatted text inside a <li>. ---------------------------- [ ... ] <descr> <p>By specifying the logical layout once, you get the following benefits:</p> <ul> <li>Positioning of child widgets.</li> <li>Sensible default sizes for windows.</li> <li>Sensible minimum sizes for windows.</li> <li>Resize handling.</li> <li>Automatic update when contents change:

The above should be

<li><p>Automatic update when contents change:</p>

on account of the <ul> following it:

Show quoted text 9 lines
<ul> <li>Font size, text or other contents of child widgets.</li> <li>Hiding or showing a child widget.</li> <li>Removal of child widgets.</li> </ul> </li> </ul> </descr> [ ... ]

Michael.

Reply by email