2002/css-validator/org/w3c/css/util ApplContext.java,1.17,1.18 Messages.properties.en,1.41,1.42

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

Modified Files:
	ApplContext.java Messages.properties.en 
Log Message:
Vendor-specific extensions patch by Cyrille Moureaux

Index: ApplContext.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/util/ApplContext.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- ApplContext.java	16 Feb 2009 16:42:14 -0000	1.17
+++ ApplContext.java	12 Jan 2011 15:01:56 -0000	1.18
@@ -69,6 +69,7 @@
     String medium;
     private String link;
     int warningLevel = 0;
+    boolean treatVendorExtensionsAsWarnings = false;
 
     FakeFile fakefile = null;
     String   faketext = null;
@@ -210,6 +211,15 @@
 	this.link = queryString;
     }
 
+    public boolean getTreatVendorExtensionsAsWarnings() {
+        return treatVendorExtensionsAsWarnings;
+    }
+
+    public void setTreatVendorExtensionsAsWarnings(
+        boolean treatVendorExtensionsAsWarnings) {
+        this.treatVendorExtensionsAsWarnings = treatVendorExtensionsAsWarnings;
+    }
+
     /**
      * Sets the content encoding to the first charset that appears in
      * <i>acceptCharset</i>. If the charset is not supported, the content

Index: Messages.properties.en
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/util/Messages.properties.en,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- Messages.properties.en	8 Jan 2010 21:38:01 -0000	1.41
+++ Messages.properties.en	12 Jan 2011 15:01:56 -0000	1.42
@@ -269,6 +269,7 @@
 warning.noexistence-media: Property %s doesn't exist for media %s
 warning.notforusermedium : Property %s doesn't exist for this usermedium
 warning.noothermedium : Properties for other media might not work for usermedium
+warning.vendor-extension : Property %s is an unknown vendor extension
 # used by org.w3c.css.parser.AtRule*
 error.noatruleyet: Other @rules than @import are not supported by CSS1 %s
 # used by org.w3c.css.parser.analyzer.CssParser

Received on Wednesday, 12 January 2011 15:02:01 UTC