50 Commits

Author SHA1 Message Date
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
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
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
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
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
neeraj
e238b84fd0 Upgrading to JAXP 1.3 APIs.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226188 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 07:49:39 +00:00
neeraj
f672902d3f Upgrading to JAXP 1.3 APIs.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226187 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 07:02:02 +00:00
neeraj
ec634acf94 upgrading to JAXP 1.3 APIS.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226186 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 11:30:41 +00:00
neeraj
6b504e7786 Upgrading to JAXP 1.3 APIs.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226184 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 10:53:24 +00:00
neeraj
5b838d686f Upgrading to JAXP 1.3 APIs.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226183 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 10:39:14 +00:00
crossley
72e36cded9 Fixed some javadoc errors.
PR: 16914
Submitted by: Tilman Giese tilman.giese<AT>gmx.de


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226099 13f79535-47bb-0310-9956-ffa450edef68
2003-09-06 01:00:14 +00:00
crossley
ac8379247a Keep 'cvs update' happy.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226091 13f79535-47bb-0310-9956-ffa450edef68
2003-09-05 00:34:07 +00:00
jkesselm
8c274f41e3 HTMLBlockquoteElement was present in the
published DOM Level 1 spec, but was subsequently
*DROPPED*. There's an erratum covering this:

Section 2.5.5 Interface HTMLBlockquoteElement
    This interface is an error and must be ignored.
    The Interface HTMLQuoteElement is used for both
    the Q and BLOCKQUOTE elements.

This interface is being removed from xml-commons
to comply with that erratum.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226039 13f79535-47bb-0310-9956-ffa450edef68
2003-01-13 22:12:32 +00:00
curcuru
34ece59e71 Cleanup imports Submitted by: vladimir@bossicard.com PR: 15647
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226036 13f79535-47bb-0310-9956-ffa450edef68
2003-01-11 01:39:09 +00:00
curcuru
a29c15bee1 Cleanup imports Submitted by: vladimir@bossicard.com PR: 15647
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226034 13f79535-47bb-0310-9956-ffa450edef68
2003-01-11 00:54:46 +00:00
neilg
6ef6cd1d5f revert mistaken commit to HEAD. This should restore HEAD to its correct state, leaving only the new tck-jaxp-1_2_0 branch with "unofficial" APIs
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226024 13f79535-47bb-0310-9956-ffa450edef68
2002-12-12 16:52:03 +00:00
neilg
c9ce59d37b Changes needed to permit the xml-apis.jar generated
from this branch to pass the JAXP 1.2 TCK.  I've attempted to keep
these as limited as possible, in a few cases simply
modifying the original commons source directly rather than simply
importing Xerces code.  However, for many changes--such as that
involving correct handling of security-critical operations
like property checking--I've simply imported the relevant Xerces code.

I have always indicated in the comments at the top of substituted
files that they are substitutions (except in the case of the JAXP code
in which virtually all files were touched); where I've modified commons
code directly, I've placed comments immediately above
the modifications.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226021 13f79535-47bb-0310-9956-ffa450edef68
2002-12-12 16:26:53 +00:00
jkesselm
8c459bfa25 Still trying to get the Javadoc synched up. No functional changes.
DOM HTML Level 1 Second Edition, extracted from
http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/java-binding.zip


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225970 13f79535-47bb-0310-9956-ffa450edef68
2002-05-10 20:33:38 +00:00
jkesselm
3ad12ecf26 Still trying to get the Javadoc synched up. No functional changes.
DOM Level 2 Errata:
http://www.w3.org/2001/06/DOM-Level-2-Core-java-binding-20010621.zip
http://www.w3.org/2001/06/DOM-Level-2-Traversal-Range-java-binding-20010621.zip
http://www.w3.org/2001/06/DOM-Level-2-Views-java-binding-20010621.zip
http://www.w3.org/2001/06/DOM-Level-2-Events-java-binding-20010621.zip
http://www.w3.org/2001/06/DOM-Level-2-Style-java-binding-20010621.zip

DOM HTML Level 1 Second Edition, extracted from
http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/java-binding.zip


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225969 13f79535-47bb-0310-9956-ffa450edef68
2002-05-10 20:32:51 +00:00
jkesselm
4ff561bf31 HTML DOM files do _not_ belong in the DOM's home directory, but in the html subdirectory.
(Probably an editing goof on my part. grrr.)


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225968 13f79535-47bb-0310-9956-ffa450edef68
2002-05-10 20:10:03 +00:00
dims
909f6f7cc9 Upgrading to sax 2.0.1 (sax2r2) from http://sourceforge.net/projects/sax/ as per Edwin Goei.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225961 13f79535-47bb-0310-9956-ffa450edef68
2002-02-27 16:04:55 +00:00
dleslie
32b041f81d Bugzilla 2230. Added clarification that newInstance, newTransformer(),
and newTemplates() can in fact return null if an ErrorHandler is registered
with the factory and what would otherwise be an Exception occurs.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225949 13f79535-47bb-0310-9956-ffa450edef68
2002-01-22 20:45:17 +00:00
dleslie
3c06546315 Bugzilla 5304 -- corrected error in VERSION: xml 4.0 to html 4.0.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225948 13f79535-47bb-0310-9956-ffa450edef68
2002-01-22 18:45:09 +00:00
jkesselm
1d6cda7c46 Updating the W3C DOM documentation.
1) Added HTML Level 1. Xerces apparently wants this,
and there's certainly no reason not to have it in xml-commons.

2) Fixed the generated @param comments. The DOM WG's stylesheet
for producing Javadoc from their abstract XML markup had a glitch,
and did not reliably produce a space between the parameter name
and its description. I've submitted that as an erratum, to make sure
they fix it. Meanwhile, I've gone through and fixed them all manually.
(Not everything could be fixed by simply replacing "The" with " The";
some descriptions start with other words.)

I'm an ex-member of the DOM WG, and still on the IG, so feel free to
blame me for the fact that this wasn't caught before the DOM shipped
... and for making the change. The fact that these files are no
longer byte-for-byte identical with those supplied by the W3C will
annoy some folks, but I think it's fairly safe to assume that the DOM WG
will accept the erratum.

And we definitely want to fix it here rather than having each Apache
project patch their own copy.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225942 13f79535-47bb-0310-9956-ffa450edef68
2002-01-04 20:20:52 +00:00
curcuru
7d9faa78ca Manifest file for xml-apis.jar of external sources
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225936 13f79535-47bb-0310-9956-ffa450edef68
2001-11-28 19:38:44 +00:00
curcuru
22df5934f2 Implement simplistic Version.getVersion for the external portion of xml-commons
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225935 13f79535-47bb-0310-9956-ffa450edef68
2001-11-28 19:37:44 +00:00
edwingo
a2a37eb4cf Applied MS VJ++ workaround for jkesselm
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225930 13f79535-47bb-0310-9956-ffa450edef68
2001-10-26 00:23:47 +00:00
edwingo
41208535c4 Clean up debug code
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225929 13f79535-47bb-0310-9956-ffa450edef68
2001-10-24 01:12:42 +00:00
edwingo
d84a3ea853 Fixed bug in reflection code so code will compile and run on JDK 1.1
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225928 13f79535-47bb-0310-9956-ffa450edef68
2001-10-24 00:55:15 +00:00
edwingo
23ce6ff1d8 Make jaxp code compile under JDK 1.1 (it used to only just run on 1.1)
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225927 13f79535-47bb-0310-9956-ffa450edef68
2001-10-22 22:10:30 +00:00
jkesselm
38a2b89e48 Needlessly required JDK1.2 collections API (add/get);
replaced with JDK1.1-and-up equivalents. (addElement/elementAt)


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225926 13f79535-47bb-0310-9956-ffa450edef68
2001-10-19 20:30:38 +00:00
edwingo
f13681688c Removed "fallback implementation class name" from sources as it is
unnecessary as long as a services resource file exists in the jar.  The
original author put that in there b/c of parinoia.  This change makes the
implementation of javax.xml.parsers and javax.xml.transform totally
implementation neutral.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225925 13f79535-47bb-0310-9956-ffa450edef68
2001-10-12 23:44:49 +00:00
edwingo
5ab0e788b4 Updated DOM Level 2 Core classes to latest errata. See
http://www.w3.org/2000/11/DOM-Level-2-errata core-18.  Javadoc fixes.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225921 13f79535-47bb-0310-9956-ffa450edef68
2001-08-01 23:24:39 +00:00
edwingo
c4ca9aa4a8 Fix service provider code so that it uses UTF-8 for better cross-platform
compatibility with non-ascii platforms like EBCDIC


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225918 13f79535-47bb-0310-9956-ffa450edef68
2001-07-26 00:02:50 +00:00
edwingo
1a37d8fa1c Updates in javax.xml.{parsers, transform} for JAXP (Reference
Implementation) RI version 1.1.1.
Javadoc fixes to SAXParser and SAXParserFactory.
Misc bug fixes to javax.xml.transform classes.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225916 13f79535-47bb-0310-9956-ffa450edef68
2001-06-28 23:12:32 +00:00
dims
82b88df622 Checking in Sources/Docs of DOM Level 2 from :
http://www.w3.org/DOM/DOMTM


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225913 13f79535-47bb-0310-9956-ffa450edef68
2001-06-01 11:15:37 +00:00
garyp
7d5c881d20 Fixed removeAttribute bug pointed out by by dims. This should be fixed in the next release of SAX.
Made the same change to both Xalan and xml-commons.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225912 13f79535-47bb-0310-9956-ffa450edef68
2001-05-31 18:08:19 +00:00
edwingo
9d79137a1e Update copyright
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225911 13f79535-47bb-0310-9956-ffa450edef68
2001-05-22 17:05:45 +00:00
edwingo
cb24b2ecfa Initial revision
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225907 13f79535-47bb-0310-9956-ffa450edef68
2001-05-22 01:01:03 +00:00
curcuru
c507350d30 Checkin external modules: SAX 2.0 r2 prerelease; SAX2-ext 1.0
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225904 13f79535-47bb-0310-9956-ffa450edef68
2001-05-20 03:12:59 +00:00