Index: trunk/zoo-kernel/main_conf_read.l
===================================================================
--- trunk/zoo-kernel/main_conf_read.l	(revision 11)
+++ trunk/zoo-kernel/main_conf_read.l	(revision 12)
@@ -1,3 +1,3 @@
-/* pour pouvoir acceder au numero de ligne dans bison */
+/* Line number from bison */
 %option yylineno
 
@@ -19,69 +19,22 @@
 
 
-/*====================================================*/
-/*====================================================*/
-/* Les Separateurs xml */
-/*====================================================*/
 S		[ \t\r\n]+
-/*====================================================*/
 
+CharRef		"&#"[0-9]+";"|"&#x"[0-9a-fA-F]+";"
 
+egalevolue		{S}?"="{S}?
 
+Name		([_:]|[\x41-\x5A]|[\x61-\x7A]|[\xC0-\xD6]|[\xD8-\xF6]|[\xF8-\xFF])(([\x41-\x5A]|[\x61-\x7A]|[\xC0-\xD6]|[\xD8-\xF6]|[\xF8-\xFF])|[0-9.\-_:])*
 
-/*====================================================*/
-/* CharRef regle 66 */
-/*====================================================*/
-CharRef		"&#"[0-9]+";"|"&#x"[0-9a-fA-F]+";"
-/*====================================================*/
+chardata	[^<]*
 
+attname	[a-zA-Z0-9_\-:]+
 
+attvalue1	[,@a-zA-Z0-9_\-.:" "\"\'/\\\(\)\+\x41-\xff]+
 
-
-/*====================================================*/
-/*   espaces? '=' espaces?    regle 25  */
-/* si on veut pouvoir utiliser S dans bison, */
-/* il faut cr�r au moins une autre start condition */
-/* comme on n'utilise "egalevolue" que pour version et encoding */
-/* il est pr��able de rajouter cette macro */
-/*====================================================*/
-egalevolue		{S}?"="{S}?
-/*====================================================*/
-
-
-
-
-/*====================================================*/
-/* Name regle 5 */
-/*====================================================*/
-/*** Name		[a-zA-Z_:][a-zA-Z0-9.\-_:]* ***/
-Name		([_:]|[\x41-\x5A]|[\x61-\x7A]|[\xC0-\xD6]|[\xD8-\xF6]|[\xF8-\xFF])(([\x41-\x5A]|[\x61-\x7A]|[\xC0-\xD6]|[\xD8-\xF6]|[\xF8-\xFF])|[0-9.\-_:])*
-/*====================================================*/
-
-
-
-
-
-/*====================================================*/
-/* chardata  regle 14 */
-/*====================================================*/
-/**chardata	[a-zA-Z0-9_\-.:" "\"\'\\]***/
-chardata	[^<]*
-/*====================================================*/
-attname	[a-zA-Z0-9_\-:]+
-attvalue1	[,@a-zA-Z0-9_\-.:" "\"\'/\\\(\)\+]+
-
-
-
-
-
-/*====================================================*/
-/* attvalue regle 10 */
-/*====================================================*/
-/* attvalue		\"([^"&]|{CharRef})*\"|\'([^'&]|{CharRef})*\' */
-/* pas tr� classe mais ca marche . */
 attvalue		\"[^"]*\"|\'[^']*\'
-/*====================================================*/
 
 virgule	[,]+
+
 whitespace                      [ ]{0,}
 whitesp                      [ ]
@@ -91,16 +44,5 @@
 
 
-
-
-
-
-
-
-
-/*====================================================*/
-/* initial = de debut a ?> du prolog ; DANSBALISE = dans une balise ; HORSBALISE = hors d'une balise */
-/*====================================================*/
 %x DANSBALISE HORSBALISE PAIRSTART
-/*====================================================*/
 
 
@@ -123,5 +65,5 @@
 <PAIRSTART,INITIAL,HORSBALISE,DANSBALISE>{newline}+{whitesp}*			{if (affichetrace==1) printf ("\n\nNEWLINE 2\n") ; BEGIN(INITIAL); return NEWLINE;}
 
-<INITIAL>"<?"[Xx][Mm][Ll]  { if (attentionImpossibleDeTrouverXMLDeclapres == 1 || attentionImpossibleDeTrouverPIapres == 1) {/* il y a eut un commentaire ou une balise applicative avant la declaration xml */ 	printf("\nerror : a la ligne %d : il y a eut un commentaire ou un PI avant la declaration xml\n",yylineno); exit (10) ; } ; if (affichetrace==1) printf ("\n\nSTARTXMLDECL:%s\n",yytext) ;return STARTXMLDECL;}
+<INITIAL>"<?"[Xx][Mm][Ll]  { if (attentionImpossibleDeTrouverXMLDeclapres == 1 || attentionImpossibleDeTrouverPIapres == 1) { printf("\nerror : a la ligne %d : il y a eut un commentaire ou un PI avant la declaration xml\n",yylineno); exit (10) ; } ; if (affichetrace==1) printf ("\n\nSTARTXMLDECL:%s\n",yytext) ;return STARTXMLDECL;}
 
 <INITIAL>"version"{egalevolue}\"1.0\"|"version"{egalevolue}\'1.0\'  {if (affichetrace==1) printf ("\n\nVERSIONDECL:%s\n",yytext) ;return VERSIONDECL;}
