You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/12/05 19:54:37 UTC
DO NOT REPLY [Bug 23913] -
Style task does not use XMLCatalog as required
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23913>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23913
Style task does not use XMLCatalog as required
------- Additional Comments From j_a_fernandez@yahoo.com 2003-12-05 18:54 -------
Ok, I think I have found the problem. When I run my build with -debug I get
the following errors when trying to resolve with the catalogue:
[style] Using class org.apache.tools.ant.taskdefs.optional.TraXLiaison
[style] In file E:\projects\ant1_6-branch-20031018
\pita\apps\travel\airport-codes-nations.xml time: 1066520355410
[style] Out file E:\projects\ant1_6-branch-20031018
\pita\apps\travel\conf\name-
identities\com.cellectivity.app.travel.data.flight.Airport.xml time: 0
[style] Style file E:\projects\ant1_6-branch-20031018
\pita\apps\travel\airports.xsl time: 1065621175000
[style] Processing E:\projects\ant1_6-branch-20031018
\pita\apps\travel\airport-codes-nations.xml to E:\projects\ant1_6-branch-
20031018\pita\apps\travel\conf\name-
identities\com.cellectivity.app.travel.data.flight.Airport.xml
[style] Loading stylesheet E:\projects\ant1_6-branch-20031018
\pita\apps\travel\airports.xsl
resolveEntity: '-//W3C//ENTITIES Latin
1//EN//HTML': 'http://dtds.cellectivity.com/cellectivity/HTMLEntities.dtd'
Apache resolver library not found, internal resolver will be used
Failed to load Apache resolver: java.lang.NoClassDefFoundError:
org/apache/xml/resolver/tools/CatalogResolver
Matching catalog entry found for publicId: '-//W3C//ENTITIES Latin
1//EN//HTML' location: 'E:\projects\ant1_6-branch-20031018
\pita\conf\cellectivity/HTMLEntities.dtd'
Couldn't load ResourceStream for E:\projects\ant1_6-branch-20031018
\pita\conf\cellectivity/HTMLEntities.dtd
No matching catalog entry found, parser will
use: 'http://dtds.cellectivity.com/cellectivity/HTMLEntities.dtd'
[style] : Fatal Error! Failure reading file:///E:/projects/ant1_6-branch-
20031018/pita/apps/travel/airport-codes-nations.xml Cause:
java.net.UnknownHostException: dtds.cellectivity.com
[style] Failed to process E:\projects\ant1_6-branch-20031018
\pita\apps\travel\airport-codes-nations.xml
The file E:\projects\ant1_6-branch-20031018
\pita\conf\cellectivity/HTMLEntities.dtd is there, so aparently the resolver
does not understand about accessing files (at least in windows) correctly.
Notice I am specifying a "location" in the catalogue entry.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org