Add XML catalog. dtd tip
authorFabien Ninoles <fabien@tzone.org>
Sun, 06 Sep 2015 22:13:01 -0400
branchdtd
changeset 5 006cc13454c8
parent 4 7d1cb707b8fc
Add XML catalog.
catalog.xml
cv.dtd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/catalog.xml	Sun Sep 06 22:13:01 2015 -0400
@@ -0,0 +1,15 @@
+<?xml version='1.0'?>
+<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
+    "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
+
+<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
+<!-- OVERRIDE YES -->
+<public publicId="-//Fabien Ninoles//DTD Poetry XML V1.0//EN" uri="poetry.dtd"/>
+<public publicId="-//Fabien Ninoles//DTD Story XML V1.0//EN" uri="story.dtd"/>
+<public publicId="-//Fabien Ninoles//DTD Curriculum XML V1.0//EN" uri="cv.dtd"/>
+<public publicId="-//Fabien Ninoles//DTD Common XML V1.0//EN" uri="common.dtd"/>
+<system systemId="http://www.tzone.org/~fabien/dtd/poetry.dtd" uri="poetry.dtd"/>
+<system systemId="http://www.tzone.org/~fabien/dtd/story.dtd" uri="story.dtd"/>
+<system systemId="http://www.tzone.org/~fabien/dtd/cv.dtd" uri="cv.dtd"/>
+<system systemId="http://www.tzone.org/~fabien/dtd/common.dtd" uri="common.dtd"/>
+</catalog>
--- a/cv.dtd	Sun Jan 14 22:15:25 2007 -0500
+++ b/cv.dtd	Sun Sep 06 22:13:01 2015 -0400
@@ -12,7 +12,7 @@
 <!ELEMENT identification (%individu.class;)>
 <!ATTLIST identification %common.attrib;>
 <!-- work declaration -->
-<!ELEMENT work (organism,post+)>
+<!ELEMENT work (organism,description?,post+,description?)>
 <!ATTLIST work %common.attrib;>
 <!ELEMENT post (title?,supervisor?,duration,description)>
 <!ATTLIST post %common.attrib;>