2002/css-validator/org/w3c/css/parser CssFouffa.java,1.49,1.50

Update of /sources/public/2002/css-validator/org/w3c/css/parser
In directory hutz:/tmp/cvs-serv27391/org/w3c/css/parser

Modified Files:
	CssFouffa.java 
Log Message:
More namespace support

Index: CssFouffa.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/CssFouffa.java,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- CssFouffa.java	15 Feb 2009 18:23:24 -0000	1.49
+++ CssFouffa.java	16 Feb 2009 12:16:34 -0000	1.50
@@ -421,7 +421,8 @@
 	}
 
 	// That's all folks, notify all errors and warnings
-	for (Enumeration<CssValidatorListener> e = listeners.elements(); e.hasMoreElements();) {
+	for (Enumeration<CssValidatorListener> e = listeners.elements(); 
+	     e.hasMoreElements();) {
 	    CssValidatorListener listener;
 	    listener = e.nextElement();
 	    listener.notifyErrors(ac.getFrame().getErrors());
@@ -442,7 +443,8 @@
 	AtRuleNamespace nsrule = new AtRuleNamespace(prefix, nsname, is_url);
 	newAtRule(nsrule);
 	endOfAtRule(); 
-	// FIXME add in the NS declaration for the document
+	// add the NS in the global context definition
+	ac.setNamespace(url, prefix, nsname);
     }
     /**
      * Call by the import statement.

Received on Monday, 16 February 2009 12:16:46 UTC