[svn r1975] r2268@freebird: fabien | 2006-01-31 00:28:15 -0500 contes
authorfabien
Fri, 03 Feb 2006 16:28:04 -0500
branchcontes
changeset 7 201b9e3f08dd
parent 6 f5ce1e175ca6
child 8 e3e4d3d6c637
[svn r1975] r2268@freebird: fabien | 2006-01-31 00:28:15 -0500 Permet à toutes les pages de valider correctement.
Makefile
contes.xml
--- a/Makefile	Thu Jan 26 16:51:42 2006 -0500
+++ b/Makefile	Fri Feb 03 16:28:04 2006 -0500
@@ -27,8 +27,8 @@
 
 #OUTPUT=$(foreach target,$(basename $(SRCS)),$(call output,$(target)))
 OUTPUT=contes.pdf contes/
-xml_validate=xmllint --catalogs --xinclude --postvalid --noout $(1)
-html_validate=true
+xml_validate=xmllint --catalogs --xinclude --valid --noout $(1)
+html_validate=xmllint --valid --noout $(1)
 
 all: $(OUTPUT)
 
--- a/contes.xml	Thu Jan 26 16:51:42 2006 -0500
+++ b/contes.xml	Fri Feb 03 16:28:04 2006 -0500
@@ -1,6 +1,13 @@
 <?xml version="1.0"?>
 <!DOCTYPE book PUBLIC "-//Fabien Ninoles//DTD Story XML V1.0//EN" 
-   "http://www.tzone.org/~fabien/dtd/story.dtd">
+   "http://www.tzone.org/~fabien/dtd/story.dtd" [
+  <!ELEMENT xi:include EMPTY>
+  <!ATTLIST xi:include href CDATA #REQUIRED>
+  <!ENTITY % local.common.attrib
+             "xmlns:xi CDATA #IMPLIED
+             xml:base CDATA #IMPLIED" >
+  <!ENTITY % local.section.alt "|xi:include">
+]>
 <book lang="fr" xmlns:xi="http://www.w3.org/2003/XInclude">
   <docinfo>
     <title>Proses, contes et nouvelles</title>