158 Commits

Author SHA1 Message Date
mrglavas
b4c1723a47 Checking in Sources/Docs of DOM Level 3 Load and Save from:
http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226245 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 22:02:03 +00:00
mrglavas
88612fd7b2 DOM Level 3 Core: COPYRIGHT.html has been replaced with copyright-notice.html.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226244 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 21:08:02 +00:00
mrglavas
275f1a69f6 Removing files not present in DOM Level 3 Core.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226243 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 21:03:56 +00:00
mrglavas
7827b8b3e4 Checking in Sources/Docs of DOM Level 3 Core from:
http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226242 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 20:59:08 +00:00
mrglavas
db0802b6ce Removing SAX docs. David Megginson removed them [1] from SAX CVS
citing that they have fallen out of sync. They were not distributed with
SAX 2.0.2.

http://cvs.sourceforge.net/viewcvs.py/sax/sax2/docs/?hideattic=0#dirlist


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226241 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 20:00:57 +00:00
mrglavas
eca25067ad Removing unused nested classes.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226240 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 19:52:47 +00:00
mrglavas
01c6c51764 Merge in a fix from the tck-jaxp-1_2_0 branch:
Under some JDK's (notably both Sun and IBM 1.4.0), getClassLoader(), when invoked
on the JAXP or SAX classes, it returns null.  This means that
the fallback mechanism in these APIs may not work correctly:  in
particular, when an attempt to invoke an unknown Parser/XMLReader
implementation is made in SAX, a NullPointerException rather than the correct
ClassNotFoundException results.  This patch fixes this problem,
by using Class.forName() in the event that the bootstrap
classloader is not returned in this particular situation.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226239 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 19:50:14 +00:00
mrglavas
ea4dcf269c Merge in a fix from the tck-jaxp-1_2_0 branch:
The reader used to read the service provider is never
closed if an IOException is thrown while reading from
it. Adding a finally block so that the reader will
always be closed.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226238 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 19:32:50 +00:00
mrglavas
729661318d Merge in Performance Fix from the tck-jaxp-1_2_0 branch:
When reading the service provider name from a jar
a BufferedReader is used to read the first line from the
file. BufferedReader's default buffer size is 8K chars. Since
we're only reading one line (the name of a class) this is pretty
excessive. Reducing this size significantly to 80 chars.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226237 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 19:26:53 +00:00
mrglavas
a11ee29779 Javadoc fixes. End tags for <code> were missing. This caused the Javadoc for the methods
following the missing end tag to be formatted entirely in the "code" format. Fixed a few
instances where *s were inadverently included in the Javadoc text that should not have
been.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226236 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 03:10:33 +00:00
mrglavas
6b0f74afed Suppress varargs call warning emitted from Java 5.0 compiler.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226235 13f79535-47bb-0310-9956-ffa450edef68
2005-06-15 00:51:32 +00:00
mkwan
cdcdeab0ae Fix a bug in the XPathException(Throwable) constructor.
Pass the message from the cause Throwable to the super constructor,
so that the getMessage() method on this XPathException would
return the message of the cause.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226234 13f79535-47bb-0310-9956-ffa450edef68
2005-06-14 19:19:27 +00:00
mkwan
e58a70e3ee Fix compile time dependency on File.toURI() which is new to JDK 1.4.
Use reflection instead of a direct method call.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226233 13f79535-47bb-0310-9956-ffa450edef68
2005-06-14 19:17:19 +00:00
mkwan
081cad56b4 Change the default service provider back to org.apache.xalan.processor.TransformerFactoryImpl,
which was the default before the JAXP 1.3 integration.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226232 13f79535-47bb-0310-9956-ffa450edef68
2005-06-14 19:15:12 +00:00
mkwan
57c5a282f3 Migrate a bug fix for printStackTrace which was done before the JAXP 1.3 integration
back to the head.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226231 13f79535-47bb-0310-9956-ffa450edef68
2005-06-14 19:13:40 +00:00
mrglavas
c3fa88a3b2 No functional changes. Updating DOM Level 2 errata:
http://www.w3.org/2002/10/DOM-Level-2-Traversal-Range-java-binding-20021016.zip
http://www.w3.org/2002/10/DOM-Level-2-Views-java-binding-20021016.zip
http://www.w3.org/2002/10/DOM-Level-2-Events-java-binding-20021016.zip
http://www.w3.org/2002/10/DOM-Level-2-Style-java-binding-20021016.zip


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226230 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 15:52:57 +00:00
mcnamara
cf533ed88b Add DOM L3 XPath APIs (from http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226).
This allows us to consolidate the DOM packages in xml-apis.jar and remove them from xalan.jar.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226229 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 21:00:22 +00:00
mcnamara
65ed556c33 Updates from SAX 2.0.2 (sax2r3) being applied to the head branch.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226228 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 20:49:47 +00:00
mrglavas
de9abff1b4 Fixing a potential memory leak. The reader used to read
the service provider is never closed if an IOException is
thrown while reading from it.  Adding a finally block so
that the reader will always be closed.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226227 13f79535-47bb-0310-9956-ffa450edef68
2005-06-05 01:59:03 +00:00
mrglavas
ad5eac5eb9 Adding a fallback DOMImplementationSource: the DOMXSImplemenationSourceImpl class from Xerces.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226226 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 04:23:42 +00:00
mrglavas
8dcb34f116 Minor performance improvements:
Improving the performance of toString() by caching the result.

Improving the performance of equals() by first checking if the QName is the
same object and then by checking whether the local names are equal before
looking at the namespace URI. Since it's more likely that the namespaces
will be equal, we can return false faster when the local names are different.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226225 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 04:12:57 +00:00
mrglavas
378334a0a8 Make default schema factory the one that exists in Xerces CVS.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226224 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 03:50:04 +00:00
mrglavas
9a2f84485a Changed product name and version information so that they will be specified by
build.xml, rather than being hard-coded here. Merging these changes in from
the tck-jaxp-1_2_0 branch.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226223 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 03:45:36 +00:00
mrglavas
520b220df3 Upgrade to Apache Software License Version 2.0
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226222 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 03:43:59 +00:00
mrglavas
cfe461eefb Javadoc fix. Tag @version cannot be used in method documentation.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226221 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 03:36:56 +00:00
mrglavas
d77f57d180 Applying a Javadoc fix which was overwritten by the previous commit. See version 1.5.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226220 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 03:33:57 +00:00
mrglavas
87899134c1 Merging in naming conventions from the tck-jaxp-1_2_0 branch and a few other minor changes.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226219 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 03:20:07 +00:00
mrglavas
bd55e8fa25 Source for META-INF/MANIFEST.MF should pick up implementation version and
vendor and Java version and vendor from values specified in build.xml, rather
than hard-coding. Merging these changes in from the tck-jaxp-1_2_0 branch.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226218 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 03:17:16 +00:00
mrglavas
daf0071761 Merging in bin.distro target from the tck-jaxp-1_2_0 branch.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226217 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 02:43:39 +00:00
mrglavas
99f4b82a7a Upgrade to Apache Software License Version 2.0
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226216 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 02:41:29 +00:00
mrglavas
f228b9bb7b Upgrade W3C license to the December 31, 2002 version.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226215 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 22:49:13 +00:00
mrglavas
dd41b5975d Merging in the KEYS, LICENSE and NOTICE files from the tck-jaxp-1_2_0 branch.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226214 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 22:27:52 +00:00
mrglavas
3d4a664fa1 Applying the Apache 2.0 license.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226213 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 22:04:32 +00:00
mrglavas
dc53decaec Javadoc fix for QName(String,String,String). End tags for code were missing.
<code>QName<code> --> <code>QName</code>

This caused the Javadoc for the methods following this constructor to be
formatted entirely in the "code" format.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226212 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 21:58:15 +00:00
mrglavas
86e0999b73 Update to javadoc target. Build docs for every class under
javax.xml.* not just the parsers and transform packages.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226211 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 21:55:20 +00:00
mrglavas
ad5a8c30af Fixing indentation.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226210 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 18:54:52 +00:00
mrglavas
73c3555309 Fixing a compile and runtime dependency on JDK 1.4.
Prior to JDK 1.4 the exception chaining mechanism didn't
exist. If we're on JDK 1.4 we'll now call Throwable.initCause
by reflection, otherwise we just keep a local copy of the
chained exception. Added a readObject method so
that instances of this class can be serialized/deserialized
between JDK 1.4+ and JDK 1.3 (and below).


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226209 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 18:51:21 +00:00
mrglavas
043065bc76 Fixing Bugzilla #34913:
http://issues.apache.org/bugzilla/show_bug.cgi?id=34913

Usage of the File to URI conversion code only existed on the tck-jaxp-1_2_0 branch.
Merging these fixes into the main branch. For some reason the diffs are showing
the entire file changed however the changes are local to the methods which convert
File objects into URIs.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226208 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 18:28:57 +00:00
mrglavas
743421a9fe Integrating File to URI conversion code into the main branch.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226207 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 15:21:14 +00:00
crossley
15b14b3935 Change impl.version from 1.1 to 1.2
Pack the NOTICE file too.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226206 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 05:09:24 +00:00
crossley
e34db255b2 Use separate NOTICE files for each product.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226205 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 05:07:25 +00:00
ndw
6a0bbf82fc Added note about provenance with pointer to the public domain originals.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226202 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 21:00:56 +00:00
crossley
44343a926d Update to Apache License 2.0
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226201 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 01:51:44 +00:00
ndw
8b61e857cb Support uriSuffix and systemIdSuffix per XML Catalogs V1.1
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226200 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 14:16:13 +00:00
ndw
743cf92ca8 Fix bug #28719 and a little general cleanup
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226199 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 13:30:58 +00:00
ndw
166c71a317 Basic JUnit tests
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226198 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 13:29:02 +00:00
ndw
0de975f15b Fix bug #25262 per suggested patch
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226197 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 10:01:50 +00:00
ndw
14a328eab0 Fix bug #25262: find longest match in rewrites
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226196 13f79535-47bb-0310-9956-ffa450edef68
2005-04-12 22:56:51 +00:00
ndw
1de3bfa617 Fix bug #19311: notice and report unterminated comments in text catalogs
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226195 13f79535-47bb-0310-9956-ffa450edef68
2005-04-12 21:43:53 +00:00
ndw
1dafbf63c9 Fix bug #16336 as suggested.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226194 13f79535-47bb-0310-9956-ffa450edef68
2005-04-12 21:02:54 +00:00