Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/HIVEMIND-9 Here is an overview of the issue: --------------------------------------------------------------------- Key: HIVEMIND-9 Summary: SimpleDataLanguageParser works with NULL namespace Type: Bug Status: Unassigned Priority: Minor Project: HiveMind Components: framework Versions: 1.0 Assignee: Reporter: Dieter Bogdoll Created: Tue, 22 Jun 2004 2:04 AM Updated: Tue, 22 Jun 2004 2:04 AM Description: SimpleDataLanguageParser calls the ContentHandler with a null namespace argument instead of "". That leads to some problems if you want to use transformers. Here is a patch for eclipse to correct this: Index: SimpleDataLanguageParser.jj =================================================================== RCS file: /home/cvspublic/jakarta-hivemind/framework/src/javacc/SimpleDataLanguageParser.jj,v retrieving revision 1.1 diff -u -r1.1 SimpleDataLanguageParser.jj --- SimpleDataLanguageParser.jj 21 May 2004 18:46:54 -0000 1.1 +++ SimpleDataLanguageParser.jj 22 Jun 2004 09:02:31 -0000 @@ -71,7 +71,7 @@ { // No namespace, no qualified name - try { _handler.startElement(null, elementName, null, attributes); } + try { _handler.startElement("", elementName, elementName, attributes); } catch (SAXException ex) { handleException(ex); } } @@ -79,7 +79,7 @@ { // No namespace, no qualified name - try { _handler.endElement(null, elementName, elementName); } + try { _handler.endElement("", elementName, elementName); } catch (SAXException ex) { handleException(ex); } } @@ -100,7 +100,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) --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
