ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1748503 - /webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMParser.java
Date Wed, 15 Jun 2016 07:01:53 GMT
Author: veithen
Date: Wed Jun 15 07:01:53 2016
New Revision: 1748503

URL: http://svn.apache.org/viewvc?rev=1748503&view=rev
Log:
No need to perform namespace repairing in FOMParser because the XMLStreamReader always comes
from a parser.

Modified:
    webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMParser.java

Modified: webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMParser.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMParser.java?rev=1748503&r1=1748502&r2=1748503&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMParser.java
(original)
+++ webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMParser.java
Wed Jun 15 07:01:53 2016
@@ -183,11 +183,8 @@ public class FOMParser extends AbstractP
         throws ParseException {
         try {
             final FOMFactory factory = getFomFactory(options);
-            // TODO: we probably don't need namespace repairing here
             BuilderImpl builder = new BuilderImpl(
-                    new FilteredXmlInput(
-                            new StAXPullInput(new FOMStAXFilter(reader, options), false,
null),
-                            NamespaceRepairingFilter.DEFAULT),
+                    new StAXPullInput(new FOMStAXFilter(reader, options), false, null),
                     FOMNodeFactory.INSTANCE, factory, null);
             builder.addListener(new BuilderListener() {
                 @Override



Mime
View raw message