173 Commits

Author SHA1 Message Date
ndw
21fc7e9d1a Added a bootstrap resolver for use when reading XML Catalog files (so the DTD for catalogs can be resolved to the DTD stored in the Jar file, for example).
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226059 13f79535-47bb-0310-9956-ffa450edef68
2003-04-22 14:51:09 +00:00
ndw
46f117aae8 Fix bug in addReader(), using contains() where containsKey() was intended
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226058 13f79535-47bb-0310-9956-ffa450edef68
2003-04-22 14:12:09 +00:00
ndw
8086ef5f62 Fix a whole bunch of JavaDoc problems, mostly 1.4.x 'first sentence' errors on my part
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226053 13f79535-47bb-0310-9956-ffa450edef68
2003-02-17 12:45:03 +00:00
neilg
1cdfd4dfde Since Xerces now needs a zipped version of the API source, because CVS seems to corrupt .tar.gz files on some platforms, porting code to build such a file to the main branch. This way, it will not get lost when the trunk is forked in the future.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226052 13f79535-47bb-0310-9956-ffa450edef68
2003-02-12 20:20:22 +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
curcuru
58491b0d33 Cleanup imports Submitted by: vladimir@bossicard.com PR: 15647
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226033 13f79535-47bb-0310-9956-ffa450edef68
2003-01-11 00:46:05 +00:00
curcuru
5be43815bc Cleanup imports Submitted by: vladimir@bossicard.com PR: 15647
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226032 13f79535-47bb-0310-9956-ffa450edef68
2003-01-10 21:29:08 +00:00
crossley
6dedce922b Add building of resolver docs to draft website build with Forrest.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226027 13f79535-47bb-0310-9956-ffa450edef68
2002-12-20 05:46:47 +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
ndw
2f14cac764 Minor fixes suggested by ville.skytta-at-iki.fi
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226014 13f79535-47bb-0310-9956-ffa450edef68
2002-11-14 13:04:01 +00:00
ndw
c538161e2c Published release notes; tweaked resolver documentation
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226013 13f79535-47bb-0310-9956-ffa450edef68
2002-11-13 21:08:04 +00:00
ndw
6ab1395669 Updated targets
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226012 13f79535-47bb-0310-9956-ffa450edef68
2002-11-13 20:59:54 +00:00
ndw
f3fec278ee These apps still use the static CatalogManager by default; so make sure we use that manager's debug object for messages
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226011 13f79535-47bb-0310-9956-ffa450edef68
2002-11-13 20:55:47 +00:00
ndw
4f7be003f3 Add interfaces for constructing a filter with a particular CatalogManager
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226010 13f79535-47bb-0310-9956-ffa450edef68
2002-11-13 20:54:30 +00:00
ndw
ec123dbb6d Rely on the catalog for which we are reading to provide the debug object for printing messages.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226009 13f79535-47bb-0310-9956-ffa450edef68
2002-11-13 20:50:49 +00:00
ndw
60a2439163 Catalogs are now governed by their CatalogManager instance (of which there is a single static instance for simplicity and backwards compatibility). Stefan Wachter provided a parse method that takes a URL; this allows catalogs to occur inside jar files.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226008 13f79535-47bb-0310-9956-ffa450edef68
2002-11-13 20:49:31 +00:00
ndw
dcec3ff81e Use catalogManager's debug object instead of static Debug object to print messages
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226007 13f79535-47bb-0310-9956-ffa450edef68
2002-11-13 20:47:19 +00:00
ndw
32de5fd9df Reworked CatalogManager. The code no longer assumes that there will be one static manager. Each manager can have its own settings and carries its own debug object around with it. Almost all of the old methods are deprecated now that there are proper get/set methods for most of the properties.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226006 13f79535-47bb-0310-9956-ffa450edef68
2002-11-13 20:46:19 +00:00
ndw
87b64a669f Debug is no longer static; there's now a unique Debug object associated with each CatalogManager. This class should probably have been called Message or something...
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226005 13f79535-47bb-0310-9956-ffa450edef68
2002-11-13 20:44:52 +00:00
ndw
5a3f4539e2 New tests
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226004 13f79535-47bb-0310-9956-ffa450edef68
2002-11-13 20:31:22 +00:00
curcuru
53db5ea418 Oops fix package to match org.apache.xml.resolver
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226001 13f79535-47bb-0310-9956-ffa450edef68
2002-11-12 16:52:37 +00:00
curcuru
3e814b44c7 For xml-commons-resolver, add a "dist" target and an
org.apache.xml.resolver.Version file; use filtered @impl.version@


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226000 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 15:06:31 +00:00
curcuru
77fc5217e1 A few documentation updates and new email addr
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225999 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 15:04:04 +00:00
curcuru
083ea4d7d5 Prepare to have each subproject have it's own build number; I'll
propose that which, resolver, and external can each have their own distro


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225994 13f79535-47bb-0310-9956-ffa450edef68
2002-08-07 19:24:39 +00:00
curcuru
ae09b42018 Updating comments; preparing to have a real docset someday!
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225993 13f79535-47bb-0310-9956-ffa450edef68
2002-08-07 19:24:05 +00:00
curcuru
44d3664db4 Updated to work with JDK 1.1.x properly: added try...catch and null checks
for various places system properties, etc. may be unavailable on 1.1.x systems;
Check for new JAXP related jars


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225992 13f79535-47bb-0310-9956-ffa450edef68
2002-08-06 21:37:15 +00:00
curcuru
7c30a0a75d Added assorted Ant, JAXP, Xerces release jar info
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225991 13f79535-47bb-0310-9956-ffa450edef68
2002-08-06 21:36:09 +00:00
curcuru
cb396f3206 Look for EITHER a Xerces 1.x jar or a 2.x jar; look for either xerces.jar or xercesImpl.jar
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225983 13f79535-47bb-0310-9956-ffa450edef68
2002-06-20 19:59:55 +00:00
curcuru
0c290f3c61 Stop comparing .jar names as toLowerCase();
update getClasspathInfo to catch exceptions with private worker method


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225982 13f79535-47bb-0310-9956-ffa450edef68
2002-06-20 19:59:23 +00:00
curcuru
5454cda96f Add jar size info of a few new releases
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225981 13f79535-47bb-0310-9956-ffa450edef68
2002-06-20 19:41:18 +00:00
ndw
526e262afd Added resolver tests
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225980 13f79535-47bb-0310-9956-ffa450edef68
2002-06-14 15:49:46 +00:00
ndw
05e24ba410 Resolver documentation
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225979 13f79535-47bb-0310-9956-ffa450edef68
2002-06-14 15:48:31 +00:00
ndw
3d9241dce9 Fix bug with file: URLs getting too many slashes (file:////) which caused confusion
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225978 13f79535-47bb-0310-9956-ffa450edef68
2002-06-14 14:37:20 +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
edwingo
7a9fbfa4c6 Added a "debug" compile option to enable the possibility that the stack
trace shows line numbers.  However, the default value is set to the ant
default of "off" so no debug info is provided, as before.  This is to
maintain backward compatibility.  I think the default should be "on",
instead, though.  I will let someone else change it.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225965 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 01:47:45 +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
curcuru
d4fe4c89f6 Now puts various LICENSE files in our exportsrc tar.gz and in the xml-apis.jar itself
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225956 13f79535-47bb-0310-9956-ffa450edef68
2002-02-06 11:58:46 +00:00
curcuru
e72d644c32 LICENSE and README information about all SAX sources
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225954 13f79535-47bb-0310-9956-ffa450edef68
2002-01-31 23:26:48 +00:00
curcuru
05c8f7390b LICENSE and README information about all DOM sources
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225953 13f79535-47bb-0310-9956-ffa450edef68
2002-01-31 23:13:42 +00:00
ndw
4118e38777 Add resolver to Ant build
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225951 13f79535-47bb-0310-9956-ffa450edef68
2002-01-30 12:25:53 +00:00
ndw
92f652862f Initial checkin of Sun Resolver 1.1 sources
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225950 13f79535-47bb-0310-9956-ffa450edef68
2002-01-30 12:25:00 +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
curcuru
f77419e989 New build system for whole xml-commons project
Top-level xml-commons/build.xml creates distro out of all sub-sub-projects
README.html updated with forrest 1.5 look and more info
which.xml and external/build.xml simplified with minor updates; outputs are still the same


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225943 13f79535-47bb-0310-9956-ffa450edef68
2002-01-09 20:01:23 +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