Return-Path: Delivered-To: apmail-jakarta-hivemind-cvs-archive@www.apache.org Received: (qmail 77051 invoked from network); 25 Jun 2004 20:30:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Jun 2004 20:30:30 -0000 Received: (qmail 3670 invoked by uid 500); 25 Jun 2004 20:30:44 -0000 Delivered-To: apmail-jakarta-hivemind-cvs-archive@jakarta.apache.org Received: (qmail 3565 invoked by uid 500); 25 Jun 2004 20:30:41 -0000 Mailing-List: contact hivemind-cvs-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: hivemind-dev@jakarta.apache.org Delivered-To: mailing list hivemind-cvs@jakarta.apache.org Received: (qmail 3420 invoked by uid 99); 25 Jun 2004 20:30:36 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Fri, 25 Jun 2004 13:30:36 -0700 Received: (qmail 77015 invoked by uid 1616); 25 Jun 2004 20:30:19 -0000 Date: 25 Jun 2004 20:30:18 -0000 Message-ID: <20040625203018.77014.qmail@minotaur.apache.org> From: hlship@apache.org To: jakarta-hivemind-cvs@apache.org Subject: cvs commit: jakarta-hivemind status.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hlship 2004/06/25 13:30:18 Modified: framework/src/javacc SimpleDataLanguageParser.jj . status.xml Log: [HIVEMIND-9] Make SimpleDataLanguageParser emit SAX parse events using an empty, not null, namespace. Revision Changes Path 1.3 +8 -6 jakarta-hivemind/framework/src/javacc/SimpleDataLanguageParser.jj Index: SimpleDataLanguageParser.jj =================================================================== RCS file: /home/cvs/jakarta-hivemind/framework/src/javacc/SimpleDataLanguageParser.jj,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- SimpleDataLanguageParser.jj 25 Jun 2004 20:20:02 -0000 1.2 +++ SimpleDataLanguageParser.jj 25 Jun 2004 20:30:18 -0000 1.3 @@ -72,7 +72,7 @@ { // No namespace, no qualified name - try { _handler.startElement(null, elementName, null, attributes); } + try { _handler.startElement("", elementName, null, attributes); } catch (SAXException ex) { handleException(ex); } } @@ -80,7 +80,7 @@ { // No namespace, no qualified name - try { _handler.endElement(null, elementName, elementName); } + try { _handler.endElement("", elementName, elementName); } catch (SAXException ex) { handleException(ex); } } @@ -101,7 +101,7 @@ private void addAttribute(AttributesImpl attributes, String name, String value) { - attributes.addAttribute(null, name, name, "CDATA", value); + attributes.addAttribute("", name, name, "CDATA", value); } private String unquote(String input) @@ -163,10 +163,12 @@ int length = input.length(); return input.substring(2, length - 2); + +// The remainder of this class is generated by JavaCC. +///CLOVER:OFF } -// The remainder of this class is generated by JavaCC. -///CLOVER:OFF + } PARSER_END(SimpleDataLanguageParser) 1.14 +4 -0 jakarta-hivemind/status.xml Index: status.xml =================================================================== RCS file: /home/cvs/jakarta-hivemind/status.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- status.xml 25 Jun 2004 20:20:06 -0000 1.13 +++ status.xml 25 Jun 2004 20:30:18 -0000 1.14 @@ -80,6 +80,10 @@ Restore the getConfiguration() and expandSymbols() methods to the Registry interface. + SimpleDataLanguageParser calls the + ContentHandler with a null namespace argument instead of "". That leads + to some problems if you want to use transformers. --------------------------------------------------------------------- To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org