ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craeg K Strong <cstr...@arielpartners.com>
Subject [PATCH] tests, documentation, and code fixes for <xmlcatalog>
Date Thu, 16 May 2002 04:20:21 GMT
Hello:

Based on the advice of Erik Hatcher and dIon Gillard, attached please
find my revised set of patches for <xmlcatalog>.  What is the difference?
This patch set includes only fixes, docs, and tests.  I left out the
code that adds support for external catalog files.

Since the additional feature (support for external catalogs) depends on
these fixes and docs anyway, I am happy to adopt this more "phased"
approach.  When these fixes get landed, we can talk about what would be
an appropriate time to introduce <catalogfiles>.

Here is a manifest for the contents of the zip file:

DOCS

[ ant-catalog-changes/docs/manual/CoreTasks/style-html.patch ]
Added more info about use of <xmlcatalog> for <xslt>/<style> task

[ ant-catalog-changes/docs/manual/CoreTypes/xmlcatalog-html.patch ]
Added full explanation of resolution algorithm, more examples, added link to
OASIS standard on which this is based, etc.

[ ant-catalog-changes/docs/manual/OptionalTasks/xmlvalidate-html.patch ]
Added more info about use of <xmlcatalog> for <xmlvalidate> task

TESTS

[ ant-catalog-changes/src/etc/testcases/taskdefs/optional/xmlvalidate-xml.patch ]
Added testcase for double-nested <xmlcatalog> instance

[ 
ant-catalog-changes/src/testcases/org/apache/tools/ant/taskdefs/optional/XmlValidateTest-java.patch

]
Added code for testcase for double-nested <xmlcatalog> instance

[ ant-catalog-changes/src/testcases/org/apache/tools/ant/types/XMLCatalogTest.java ]
Full suite of unit tests for <xmlcatalog>

CODE

[ ant-catalog-changes/src/main/org/apache/tools/ant/types/XMLCatalog-java.patch ]
Refactored code, added comments, added check for circular references

[ 
ant-catalog-changes/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison-java.patch

]
Added capability to set a URIResolver as well as an EntityResolver

[ 
ant-catalog-changes/src/main/org/apache/tools/ant/taskdefs/XSLTProcess-java.patch ]
Adds <xmlcatalog> as a URIResolver as well as an EntityResolver if present


That's it.  Please let me know if you need anything more.  Thanks,

--Craeg

Mime
View raw message