Return-Path: Delivered-To: apmail-xmlgraphics-batik-dev-archive@www.apache.org Received: (qmail 61482 invoked from network); 19 May 2009 21:59:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 May 2009 21:59:04 -0000 Received: (qmail 93392 invoked by uid 500); 19 May 2009 19:25:42 -0000 Delivered-To: apmail-xmlgraphics-batik-dev-archive@xmlgraphics.apache.org Received: (qmail 84434 invoked by uid 500); 19 May 2009 19:24:19 -0000 Mailing-List: contact batik-dev-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: batik-dev@xmlgraphics.apache.org Delivered-To: mailing list batik-dev@xmlgraphics.apache.org Received: (qmail 77635 invoked by uid 99); 19 May 2009 18:04:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 18:04:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 18:03:57 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 8D463234C044; Tue, 19 May 2009 11:03:37 -0700 (PDT) From: bugzilla@apache.org To: batik-dev@xmlgraphics.apache.org Subject: DO NOT REPLY [Bug 47221] New: cannot parse the input string because of simple CSS X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Batik X-Bugzilla-Component: CSS X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: shahryar.ghazi@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: batik-dev@xmlgraphics.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 19 May 2009 11:03:37 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=47221 Summary: cannot parse the input string because of simple CSS Product: Batik Version: 1.8 Platform: PC URL: http://www.geeksww.com OS/Version: Windows XP Status: NEW Severity: blocker Priority: P5 Component: CSS AssignedTo: batik-dev@xmlgraphics.apache.org ReportedBy: shahryar.ghazi@gmail.com CC: shahryar.ghazi@gmail.com Created an attachment (id=23694) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23694) css file before chanegs (that did not work) Hi, The attached CSS file is not getting parsed properly by the batick CSS parser. But, if I remove the following selector(with properties) from CSS I am able to parse it. body { background:#ffffff; margin:0; color:#333333; font:x-small Georgia Serif; font-size/* */:/**/small; font-size: /**/small; text-align: center; } I tried printing names in property function but with the above selector I managed to print only background. I am getting the following error message only when I try inputting the CSS text ps.parseStyleSheet(new org.w3c.css.sac.InputSource(new StringReader(src)));. [ java.lang.IllegalStateException ] nullnulljava.lang.IllegalStateException at org.apache.batik.css.parser.CSSLexicalUnit.getStringValue(CSSLexicalUnit.java:175) at CSSParser.property(CSSParser.java:82) at org.apache.batik.css.parser.Parser.parseStyleDeclaration(Parser.java:885) at org.apache.batik.css.parser.Parser.parseRuleSet(Parser.java:604) at org.apache.batik.css.parser.Parser.parseStyleSheet(Parser.java:233) at CSSParser.parseStyleSheet(CSSParser.java:48) at .run(.java:322) at java.lang.Thread.run(Thread.java:619) Please fix it and let me know. thanks -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org