- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 29 Aug 2005 12:57:40 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/css
In directory hutz:/tmp/cvs-serv23996
Modified Files:
XMLStyleSheetHandler.java
Log Message:
skip internal fragment ids.
Index: XMLStyleSheetHandler.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/XMLStyleSheetHandler.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- XMLStyleSheetHandler.java 29 Aug 2005 12:00:42 -0000 1.17
+++ XMLStyleSheetHandler.java 29 Aug 2005 12:57:38 -0000 1.18
@@ -154,6 +154,11 @@
styleSheetParser.notifyErrors(ers);
}
+ if (href.chatAt(0) == '#') {
+ // internal style sheet, will be processed by the parser
+ return;
+ }
+
if (type != null) {
MimeType mt = null;
try {
Received on Monday, 29 August 2005 12:57:44 UTC