Bug in parser?
Joachim Ziegler <[email protected]> Thu, 23 Oct 2003 14:05:19 +0200
| Newsgroups | gmane.emacs.psgml.user |
|---|---|
| Organization | Max-Planck-Institut für Informatik |
| Message-ID | <[email protected]> |
Hello list,
psgml lets me markup a DocBook classname inside a firstterm:
<para>The class <firstterm><classname>test</classname></firstterm> </para>
Having written
<para>The class <classname>test</classname> </para>
moving the cursor just before <classname>, marking the region until the
end of </classname> and pressing C-c C-r it lets me markup this by a
<firstterm>.
but:
xmllint -valid --noout file.xml
validity error: Element classname is not declared in firstterm list of
possible children
<para>The class <firstterm><classname>test</classname></firstterm>
</para>
(BTW, I've sent a RFE to the DocBook-Repository. Logically, a classname
should be allowed in a firstterm, beause it's allowed in a glossterm.)
--
Joachim Ziegler Stuhlsatzenhausweg 85
Max-Planck-Institut für Informatik 66123 Saarbrücken
Email: [email protected] Germany
-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54