From 3da3cd9e4e095aacaa70bf912ed9e5581940c64d Mon Sep 17 00:00:00 2001
From: Christian Lefebvre <christian_lefebvre@laposte.net>
Date: Sun, 24 Dec 2006 22:42:31 +0000
Subject: [PATCH] autodoc

---
 ecrire/inc/valider_xml.php | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/ecrire/inc/valider_xml.php b/ecrire/inc/valider_xml.php
index 7cf06ee866..808ae9d040 100644
--- a/ecrire/inc/valider_xml.php
+++ b/ecrire/inc/valider_xml.php
@@ -29,7 +29,7 @@ class DTC {
 	var	$entites = array();
 }
 
-// http://doc.spip.org/@validateur
+// http://doc.spip.org/@charger_dtd
 function charger_dtd($data)
 {
 	if (!preg_match(_REGEXP_DOCTYPE, $data, $r))
@@ -57,6 +57,7 @@ function charger_dtd($data)
 	return $dtc;
 }
 
+// http://doc.spip.org/@analyser_dtd
 function analyser_dtd($grammaire, $avail, &$dtc)
 {
 
@@ -236,6 +237,7 @@ function validerAttribut($phraseur, $name, $val, $bal)
 	}
 }
 
+// http://doc.spip.org/@validerAttribut_ID
 function validerAttribut_ID($phraseur, $name, $val, $bal)
 {
 	global $phraseur_xml;
@@ -256,12 +258,14 @@ function validerAttribut_ID($phraseur, $name, $val, $bal)
 	}
 }
 
+// http://doc.spip.org/@validerAttribut_IDREF
 function validerAttribut_IDREF($phraseur, $name, $val, $bal)
 {
 	global $phraseur_xml;
 	$phraseur_xml->idrefs[] = array($val, xml_get_current_line_number($phraseur), xml_get_current_column_number($phraseur));
 }
 
+// http://doc.spip.org/@validerAttribut_IDREFS
 function validerAttribut_IDREFS($phraseur, $name, $val, $bal)
 {
 	global $phraseur_xml;
@@ -269,6 +273,7 @@ function validerAttribut_IDREFS($phraseur, $name, $val, $bal)
 	$phraseur_xml->idrefss[] = array($val, xml_get_current_line_number($phraseur), xml_get_current_column_number($phraseur));
 }
 
+// http://doc.spip.org/@valider_motif
 function valider_motif($phraseur, $name, $val, $bal, $motif)
 {
 	global $phraseur_xml;
@@ -285,6 +290,7 @@ function valider_motif($phraseur, $name, $val, $bal, $motif)
 	}
 }
 
+// http://doc.spip.org/@valider_idref
 function valider_idref(&$own, $nom, $ligne, $col)
 {
 	if (!isset($own->ids[$nom]))
@@ -295,6 +301,7 @@ function valider_idref(&$own, $nom, $ligne, $col)
 		. $col;
 }
 
+// http://doc.spip.org/@inc_valider_passe2_dist
 function inc_valider_passe2_dist(&$own)
 {
 	if (!$own->err) {
-- 
GitLab