webwork/src/main/webwork/view/xslt/SAXAdapter/dom NodeWalker.java,1.1,1.2
[email protected] Wed, 22 May 2002 05:30:27 -0700
| Newsgroups | gmane.comp.java.webwork.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/webwork/webwork/src/main/webwork/view/xslt/SAXAdapter/dom
In directory usw-pr-cvs1:/tmp/cvs-serv19748
Modified Files:
NodeWalker.java
Log Message:
Added bug fix sent in by Tom Quellenberg:
Attributes should be preserved now.
Index: NodeWalker.java
===================================================================
RCS file: /cvsroot/webwork/webwork/src/main/webwork/view/xslt/SAXAdapter/dom/NodeWalker.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- NodeWalker.java 3 Mar 2002 04:11:48 -0000 1.1
+++ NodeWalker.java 22 May 2002 12:30:25 -0000 1.2
@@ -33,7 +33,7 @@
saxAttributes.addAttribute("", current.getNodeName(), "", "CDATA", current.getNodeValue());
}
}
- contentHandler.startElement("", attributeName, "", EMPTY_ATTRS);
+ contentHandler.startElement("", attributeName, "", saxAttributes);
NodeList children = node.getChildNodes();
if (children != null)
{
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm