You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by di...@apache.org on 2006/04/05 05:22:39 UTC
svn commit: r391471 -
/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/builder/StAXBuilder.java
Author: dims
Date: Tue Apr 4 20:22:37 2006
New Revision: 391471
URL: http://svn.apache.org/viewcvs?rev=391471&view=rev
Log:
can we please enable this after the relevent changes in ADB to support this? Kills performance on woodstox because getProperty is supposed to be per parser and unrelated to the current element/attribute
Modified:
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/builder/StAXBuilder.java
Modified: webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/builder/StAXBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/builder/StAXBuilder.java?rev=391471&r1=391470&r2=391471&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/builder/StAXBuilder.java (original)
+++ webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/builder/StAXBuilder.java Tue Apr 4 20:22:37 2006
@@ -186,19 +186,19 @@
* @return omNode
*/
private OMNode createOMText(OMElement omElement, int textType) {
- try {
- if (Boolean.TRUE == parser.getProperty(IS_BINARY)) {
- Object dataHandler = parser.getProperty(DATA_HANDLER);
- OMText text = omfactory.createText(dataHandler, true);
- omElement.addChild(text);
- return text;
- }
- } catch (IllegalArgumentException e) {
- // nothing to be done here. This is handled in finally case
- } finally {
+// try {
+// if (Boolean.TRUE == parser.getProperty(IS_BINARY)) {
+// Object dataHandler = parser.getProperty(DATA_HANDLER);
+// OMText text = omfactory.createText(dataHandler, true);
+// omElement.addChild(text);
+// return text;
+// }
+// } catch (IllegalArgumentException e) {
+// // nothing to be done here. This is handled in finally case
+// } finally {
return omfactory.createText(omElement, parser.getText(), textType);
-
- }
+//
+// }
}
/**