| From | Sent On | Attachments |
|---|---|---|
| John Himpel | Oct 1, 2002 7:37 pm | |
| Kevi...@ubsw.com | Oct 2, 2002 1:30 am | |
| Bob Stayton | Oct 2, 2002 9:16 am | |
| Togan Muftuoglu | Oct 2, 2002 9:29 am | |
| Jeff Beal | Oct 2, 2002 9:43 am | |
| Dave Pawson | Oct 2, 2002 10:08 am | |
| Bob Stayton | Oct 2, 2002 9:49 pm | |
| Peter Ring | Oct 3, 2002 2:38 am | |
| Peter Ring | Oct 3, 2002 2:43 am | |
| Karl Eichwalder | Oct 3, 2002 6:14 am | |
| Bob Stayton | Oct 3, 2002 10:27 am | |
| Peter Ring | Oct 4, 2002 12:06 am | |
| Daniel Veillard | Oct 4, 2002 2:53 am | |
| Daniel Veillard | Oct 4, 2002 2:57 am | |
| Daniel Veillard | Oct 4, 2002 3:02 am | |
| Yann Dirson | Oct 4, 2002 3:30 am | |
| Daniel Veillard | Oct 4, 2002 3:43 am | |
| Yann Dirson | Oct 4, 2002 5:52 am | |
| Bob Stayton | Oct 4, 2002 10:16 am | |
| John Himpel | Oct 5, 2002 2:05 am | |
| Karl Eichwalder | Oct 5, 2002 12:44 pm | |
| Norman Walsh | Oct 5, 2002 1:50 pm | |
| Norman Walsh | Oct 5, 2002 1:55 pm | |
| Norman Walsh | Oct 5, 2002 1:57 pm | |
| Michael Smith | Oct 6, 2002 2:24 am | .pgp |
| Michael Smith | Oct 6, 2002 3:03 am | |
| Yann Dirson | Oct 7, 2002 2:40 am | |
| Yann Dirson | Dec 1, 2002 4:14 pm | |
| Bob Stayton | Dec 1, 2002 9:37 pm | |
| Daniel Veillard | Dec 2, 2002 1:22 am | |
| Vitaly Ostanin | Dec 2, 2002 2:31 am | |
| Norman Walsh | Dec 3, 2002 4:32 am | |
| Jean-Baptiste Quenot | Dec 3, 2002 4:34 am | |
| Vitaly Ostanin | Dec 3, 2002 5:02 am | |
| Paul Grosso | Dec 3, 2002 7:23 am | |
| Vitaly Ostanin | Dec 3, 2002 10:27 pm | |
| Michael Smith | Dec 4, 2002 11:29 am | |
| Michael Smith | Dec 4, 2002 12:11 pm | |
| Elliotte Rusty Harold | Dec 6, 2002 5:39 am | |
| Nicholas Atkinson | Dec 6, 2002 7:00 am | |
| Elliotte Rusty Harold | Dec 6, 2002 7:46 am | |
| Nicholas Atkinson | Dec 6, 2002 8:24 am | |
| Bob Stayton | Dec 6, 2002 9:53 am | |
| Elliotte Rusty Harold | Dec 6, 2002 10:18 am | |
| Bob Stayton | Dec 6, 2002 4:21 pm | |
| Elliotte Rusty Harold | Dec 6, 2002 6:53 pm |
| Subject: | RE: DOCBOOK-APPS: XInclude doesn't validate with xmllint | |
|---|---|---|
| From: | Jeff Beal (jeff...@ansys.com) | |
| Date: | Oct 2, 2002 9:43:10 am | |
| List: | org.oasis-open.lists.docbook-apps | |
No one seems to have mentioned this yet, and it may just be a typo in your e-mail, but the element has to be <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Called.xml"/>, not just <xi xmlns:xi="http://www.w3.org/2001/XInclude" href="Called.xml"/>
-----Original Message----- From: John Himpel [mailto:jwhi...@tseinc.com] Sent: Tuesday, October 01, 2002 10:35 PM To: docb...@lists.oasis-open.org Subject: DOCBOOK-APPS: XInclude doesn't validate with xmllint
Greetings,
I am trying to validate two xml files using the modular document technique that Bob Stayton shows in www.sagehill.net.
My version of xmllint: xmllint: using libxml version 20423
File: Caller.xml <?xml version='1.0' encoding='utf-8' ?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" > <book id="XFree86"> <title>XFree86 Documentation (Docbook Version)</title> <xi xmlns:xi="http://www.w3.org/2001/XInclude" href="Called.xml" /> </book>
File: Called.xml
<?xml version="1.0"?> <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" >
<chapter id='Called'> <title> Chapter Title. </title>
<section> <title>Preface</title> <para>Simple paragraph.</para> </section> </chapter>
Command: xmllint --catalogs --noout --xinclude --valid --dtdvalid http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd Caller.xml
Result: Variable $SGML_CATALOG_FILES not set Caller.xml:6: validity error: No declaration for attribute href on element xi <xi xmlns:xi="http://www.w3.org/2001/XInclude" href="Called.xml" /> ^ Caller.xml:6: validity error: No declaration for element xi <xi xmlns:xi="http://www.w3.org/2001/XInclude" href="Called.xml" /> ^ Caller.xml:7: validity error: Element book content doesn't follow the DTD Expecting ((title , subtitle? , titleabbrev?)? , bookinfo? , (dedication | toc | lot | glossary | bibliography | preface | chapter | reference | part | article | appendix | index | setindex | colophon)*), got (title xi ) </book> ^ Element book content doesn't follow the DTD
I don't know if the problem is DocBook or if the problem is xmllint.
Any pointers or suggestions would be welcome.
Thanks






.pgp