[ http://issues.apache.org/jira/browse/XALANJ-2054?page=all ] Brian Minchau closed XALANJ-2054: ---------------------------------
Daniel, I thought that issue reporters could close the issue that they created. However it seems that JIRA project "developer"s can do that but not issue reporters. Your comments are sufficent, and are all you can do. As a JIRA "developer I will close this issue. Thanks. > ExampleContentHandler code looks cut-and-paste typo'ed > ------------------------------------------------------ > > Key: XALANJ-2054 > URL: http://issues.apache.org/jira/browse/XALANJ-2054 > Project: XalanJ2 > Type: Bug > Components: Samples-Examples > Versions: 2.6 > Environment: All > Reporter: Daniel Martin > Assignee: Henry Zongaro > Priority: Minor > Fix For: 2.7 > Attachments: patch.j2054.txt > > In ExampleContentHandler, in the function startElement, there is this line: > System.out.print("startElement: "+namespaceURI+", "+namespaceURI+ > ", "+qName); > Similarly, the function endElement is: > public void endElement (String namespaceURI, String localName, > String qName) > throws SAXException > { > System.out.println("endElement: "+namespaceURI+", "+namespaceURI+ > ", "+qName); > } > These should both say "localName" instead of the second occurrence of > "namespaceURI"; printing the namespaceURI twice makes no sense, nor does not > printing the localName. > The current code violates the principle of least surprise, and is an annoying > fly in the ointment of TrAX understanding. -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
