You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by da...@apache.org on 2003/06/24 13:30:02 UTC
cvs commit: jakarta-gump/dtd profile.dtd
danny 2003/06/24 04:30:01
Modified: dtd profile.dtd
Log:
profiles contain modules, projects, repositories and servers.
This patch extends the profile DTD to validate accordingly.
Revision Changes Path
1.2 +20 -7 jakarta-gump/dtd/profile.dtd
Index: profile.dtd
===================================================================
RCS file: /home/cvs/jakarta-gump/dtd/profile.dtd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- profile.dtd 26 Aug 2001 23:01:46 -0000 1.1
+++ profile.dtd 24 Jun 2003 11:30:01 -0000 1.2
@@ -1,10 +1,23 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
+<!ELEMENT profile (module|project|repository|server)*>
+<!ELEMENT module EMPTY>
+<!ELEMENT project EMPTY>
+<!ELEMENT repository EMPTY>
+<!ELEMENT server EMPTY>
-<!ELEMENT profile (project*) >
-<!ELEMENT project EMPTY >
-
-<!ATTLIST profile
- name CDATA #IMPLIED >
-
+<!ATTLIST profile
+ name CDATA #IMPLIED
+>
+<!ATTLIST module
+ href CDATA #REQUIRED
+>
<!ATTLIST project
- href CDATA #REQUIRED >
+ href CDATA #REQUIRED
+>
+<!ATTLIST repository
+ href CDATA #REQUIRED
+>
+<!ATTLIST server
+ href CDATA #REQUIRED
+>
+