summaryrefslogtreecommitdiff
path: root/javax/xml
diff options
context:
space:
mode:
authorChris Burdess <dog@bluezoo.org>2005-09-04 14:46:41 +0000
committerChris Burdess <dog@bluezoo.org>2005-09-04 14:46:41 +0000
commit43850d5ea7c0d4c3a4c7a2f03f1b9b50ee2ab333 (patch)
tree1eca24b3e364c72245074b06719338acf67f0f90 /javax/xml
parentafc5ff6131b77d5e4bf3474f695649ac2c31c744 (diff)
downloadclasspath-43850d5ea7c0d4c3a4c7a2f03f1b9b50ee2ab333.tar.gz
2005-09-04 Chris Burdess <dog@gnu.org>
* doc/README.jaxp: Updated JAXP documentation for StAX. * javax/xml/stream/XMLEventFactory.java, javax/xml/stream/XMLInputFactory.java, javax/xml/stream/XMLOutputFactory.java: Use GNU implementation by default.
Diffstat (limited to 'javax/xml')
-rw-r--r--javax/xml/stream/XMLEventFactory.java3
-rw-r--r--javax/xml/stream/XMLInputFactory.java3
-rw-r--r--javax/xml/stream/XMLOutputFactory.java3
3 files changed, 3 insertions, 6 deletions
diff --git a/javax/xml/stream/XMLEventFactory.java b/javax/xml/stream/XMLEventFactory.java
index 531caf83d..456414d61 100644
--- a/javax/xml/stream/XMLEventFactory.java
+++ b/javax/xml/stream/XMLEventFactory.java
@@ -133,8 +133,7 @@ public abstract class XMLEventFactory
}
}
while (className == null && count < 3);
- //return new gnu.xml.stream.XMLEventFactoryImpl();
- throw new FactoryConfigurationError();
+ return new gnu.xml.stream.XMLEventFactoryImpl();
}
private static String getFactoryClassName(ClassLoader loader, int attempt)
diff --git a/javax/xml/stream/XMLInputFactory.java b/javax/xml/stream/XMLInputFactory.java
index f42127d03..4c904a62f 100644
--- a/javax/xml/stream/XMLInputFactory.java
+++ b/javax/xml/stream/XMLInputFactory.java
@@ -246,8 +246,7 @@ public abstract class XMLInputFactory
}
}
while (className == null && count < 3);
- //return new gnu.xml.stream.XMLInputFactoryImpl();
- throw new FactoryConfigurationError();
+ return new gnu.xml.stream.XMLInputFactoryImpl();
}
private static String getFactoryClassName(ClassLoader loader, int attempt)
diff --git a/javax/xml/stream/XMLOutputFactory.java b/javax/xml/stream/XMLOutputFactory.java
index 55c46fa1e..cf31f02a5 100644
--- a/javax/xml/stream/XMLOutputFactory.java
+++ b/javax/xml/stream/XMLOutputFactory.java
@@ -132,8 +132,7 @@ public abstract class XMLOutputFactory
}
}
while (className == null && count < 3);
- //return new gnu.xml.stream.XMLOutputFactoryImpl();
- throw new FactoryConfigurationError();
+ return new gnu.xml.stream.XMLOutputFactoryImpl();
}
private static String getFactoryClassName(ClassLoader loader, int attempt)