282 Commits

Author SHA1 Message Date
mrglavas
cd7ba61b85 Eliminate warning for unused DEBUG field.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@292853 13f79535-47bb-0310-9956-ffa450edef68
2005-09-30 20:42:07 +00:00
mrglavas
bbb4a3742c Cleanup unused imports.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@292852 13f79535-47bb-0310-9956-ffa450edef68
2005-09-30 20:41:09 +00:00
mrglavas
376c96b652 Adding serialVersionUID to a serializable class.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@292851 13f79535-47bb-0310-9956-ffa450edef68
2005-09-30 20:40:52 +00:00
ndw
005dd3d7d7 Assure that filenames of the form c:/foo/bar and foo/bar don't get turned into inaccessible URIs of the form file://c:/foo/bar and file://foo/bar
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@292416 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 11:21:06 +00:00
crossley
3f0703188b Update the documentation about building the site.
Now using Forrest-0.7 version.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@280508 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 05:42:06 +00:00
crossley
e32f0461a4 Better links to SVN and browse.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@280507 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 05:28:03 +00:00
crossley
6a5cab32df A copy of the license is linked from the docs.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@280503 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 05:02:46 +00:00
crossley
5432c5290a Forrest-0.7 now finds this file relative to xdocs directory.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@280498 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 04:49:07 +00:00
crossley
dd0092a0dc Update references to ASF projects that use resolver.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@280494 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 04:40:13 +00:00
crossley
e8bd3f5a97 xml-commons moved to SVN.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@280492 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 04:23:07 +00:00
crossley
32edb6bbe5 Default location of docbook-xsl on linux and mac.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@280491 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 04:21:07 +00:00
crossley
f3db158680 XML-Commons started in 2001.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@280478 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 03:29:16 +00:00
crossley
c35c82d716 Woosh, another year has gone. Update ApacheCon link.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@280477 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 03:24:50 +00:00
mrglavas
46b98b1e88 Adding a new PGP key for myself to the KEYS file (and verifying that my SVN client works).
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@227400 13f79535-47bb-0310-9956-ffa450edef68
2005-08-04 13:33:00 +00:00
jeremias
7d174c34dd Test commit.
Updates repository information for XML Commons.

git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@227312 13f79535-47bb-0310-9956-ffa450edef68
2005-08-04 06:45:32 +00:00
mrglavas
2bfc7e85d8 Incrementing the version number to 1.3.02. This should be the version
of xml-commons-external which ships with Xerces-J 2.7.1 and Xalan-J 2.7.0.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226259 13f79535-47bb-0310-9956-ffa450edef68
2005-07-22 18:21:58 +00:00
mrglavas
96cbd4ae74 The package.html files for javax.xml.validation and javax.xml.xpath were
somehow missed in xml-commons-external-1.3.01.  Adding these in from
the jsr-206-src.zip under contrib/jaxp13.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226258 13f79535-47bb-0310-9956-ffa450edef68
2005-07-22 18:20:18 +00:00
crossley
b8b0610cd5 Upgrade to forrest-0.7 ... will finish off at ApacheCon hackathon.
Still need to tidy up and also update the "howto forrest" and readme.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226257 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 02:23:37 +00:00
crossley
952f4fe63d Start a section about "Debug" tips.
Fix some old URLs for moved projects.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226256 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 02:18:00 +00:00
crossley
65a621a789 Update old ApacheCon notice.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226255 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 02:12:36 +00:00
mrglavas
fe0e541d42 Use SecuritySupport when looking up org.xml.sax.parser system property.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226253 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 02:20:47 +00:00
mrglavas
e37ca1b076 Merging ClassLoader fixes from the tck-jaxp-1_2_0 branch.
I had almost forgotten these. Will re-tag the main branch.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226252 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 02:13:56 +00:00
mrglavas
a8a58328eb Synching up XMLReaderFactory with the FactoryFinders.
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.

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@226251 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 19:19:22 +00:00
mrglavas
43b5998999 Get system property using SecuritySupport.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226250 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 19:05:20 +00:00
mrglavas
80124b43a8 Merging in SecuritySupport code from the tck-jaxp-1_2_0 branch.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226249 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 19:03:16 +00:00
mkwan
410062edf4 Fix a bug in the factory finding algorithm for service files.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226248 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 15:08:51 +00:00
mrglavas
2c61e0d811 When processing META-INF/services SchemaFactoryFinder was calling
loadFromProperty() which reads a META-INF/services file as if it were a
properties file. In SchemaFactory [1] for the META-INF/services file it
says to look at the "JAR file specification for file format and parsing
rules". Looking at the JAR file specification [2] it says: "The file
should contain a newline-separated list of unique concrete provider-class
names".

We should now be reading the META-INF/services files as specified
in the JAR file specification.

[1] http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/validation/SchemaFactory.html#newInstance(java.lang.String)
[2] http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Provider%20Configuration%20File


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226247 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 22:05:52 +00:00
mrglavas
1f07579183 Checking in Sources/Docs of DOM Level 3 XPath from:
http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226246 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 22:16:45 +00:00
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