Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=homepage-ng.git;a=commitdiff;h=8b1db062c02974538b66c19f057cfdd7fd270f14

commit 8b1db062c02974538b66c19f057cfdd7fd270f14
Author: Michel Hermier <[EMAIL PROTECTED]>
Date:   Tue Jan 29 17:04:03 2008 +0100

news*
* Update all the news DTD so that they are the same (trying to reduce the 
number of errors when validating with xmllint)
* Make the hidden attribute optionnal (so that it conform to the usage done in 
news_hu.xml).

diff --git a/frugalware/xml/news.xml b/frugalware/xml/news.xml
index 7b0ff54..3b134c7 100644
--- a/frugalware/xml/news.xml
+++ b/frugalware/xml/news.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE news [
<!ELEMENT news (post)*>
-<!ELEMENT post (id , title , date , author , editedby* , icon* , content, 
hidden)>
+<!ELEMENT post (id , title , date , author , editedby* , icon* , hidden? , 
content)>
<!ELEMENT id (#PCDATA)>
<!ELEMENT date (#PCDATA)>
<!ELEMENT title (#PCDATA)>
diff --git a/frugalware/xml/news_fr.xml b/frugalware/xml/news_fr.xml
index 9eb4c92..9e18da4 100644
--- a/frugalware/xml/news_fr.xml
+++ b/frugalware/xml/news_fr.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE news [
<!ELEMENT news (post)*>
-<!ELEMENT post (id , title , date , author , editedby* , icon* , content, 
hidden)>
+<!ELEMENT post (id , title , date , author , editedby* , icon* , hidden? , 
content)>
<!ELEMENT id (#PCDATA)>
<!ELEMENT date (#PCDATA)>
<!ELEMENT title (#PCDATA)>
diff --git a/frugalware/xml/news_hu.xml b/frugalware/xml/news_hu.xml
index a7af527..a36165e 100644
--- a/frugalware/xml/news_hu.xml
+++ b/frugalware/xml/news_hu.xml
@@ -1,15 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE news [
<!ELEMENT news (post)*>
-<!ELEMENT post (id , title , date , author , editedby* , content)>
+<!ELEMENT post (id , title , date , author , editedby* , icon* , hidden? , 
content)>
<!ELEMENT id (#PCDATA)>
<!ELEMENT date (#PCDATA)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT author (#PCDATA)>
<!ELEMENT content (#PCDATA)>
+<!ELEMENT hidden (#PCDATA)>
<!ELEMENT editedby (name , date)>
+<!ELEMENT icon (#PCDATA)>
<!ELEMENT name (#PCDATA)>
]>
+
+<!-- if you modify this file, be sure it's still valid - xmllint is your 
friend -->
+
<news>
<post>
<id>86</id>
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to