Hi all!
I cannot seem to validate the attached document using:
{{{
xmllint --relaxng http://www.docbook.org/xml/5.0/rng/docbook.rng
hebrew-html-tutorial.xml
}}}
I'm on Mandriva Linux Cooker. When I comment out the <mediaobject> it
validates. My question is why? What am I doing wrong?
Regards,
-- Shlomi Fish
--
------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Electrical Engineering studies. In the Technion. Been there. Done
that. Forgot a lot. Remember too much.
<?xml version='1.0' ?>
<book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="index" xml:lang="he">
<info>
<title>המדריך העברי ל-HTML תקני</title>
<author>
<personname>
<firstname>Shlomi</firstname>
<surname>Fish</surname>
</personname>
<affiliation>
<address>
<email>[email protected]</email>
</address>
</affiliation>
</author>
<copyright>
<year>2008</year>
<holder>Shlomi Fish</holder>
</copyright>
<legalnotice xml:lang="en">
<!-- Ci vis pacem -->
<para>
<!-- belum. ;-) -->
This document was written by Shlomi Fish and is available
under the terms of either the:
</para>
<orderedlist>
<listitem>
<para>
<link xlink:href="http://creativecommons.org/licenses/publicdomain/">The Public Domain</link>,
as defined by the Creative Commons or your local
jurisdication.
</para>
</listitem>
<listitem>
<para>
<link xlink:href="http://creativecommons.org/licenses/by/3.0/">The Creative Commons Attribution License (CC-by) version 3.0</link>
(or at your option any later version of the same
license.)
</para>
</listitem>
<listitem>
<para>
The
<link
xlink:href="http://www.opensource.org/licenses/mit-license.php">MIT
X11 License</link>.
</para>
</listitem>
</orderedlist>
</legalnotice>
<revhistory>
<revision>
<revnumber>2780</revnumber>
<date>27 April 2008</date>
<authorinitials>shlomif</authorinitials>
<revremark>
Started working on this document after forking the template
of an older one.
</revremark>
</revision>
</revhistory>
</info>
<chapter xml:id="basic-html">
<info>
<title>HTML בסיסי</title>
</info>
<section xml:id="more-HTML-tags">
<info>
<title>תגי HTML נוספים</title>
</info>
<para>
בפרק זה נכיר תגי HTML נוספים ושימושיים.
</para>
<section xml:id="headings">
<info>
<title>כותרות - h1, h2, h3</title>
</info>
<para>
וכך זה נראה:
</para>
<mediaobject>
<imageobject>
<imagedata
fileref="images/h1-h2-example.png" format="PNG"
/>
</imageobject>
</mediaobject>
<para>
Foo.
</para>
</section>
</section>
</chapter>
</book>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]