You right...
In a file analysez  by XmlTask, I reference a DTD no longer Avaliable in the local directory of ant...
I delete this reference and XmlTask work fine.
Its no relation with the installation of jre 1.5...
 (In the givee example, the listing is from a "ultimate" test using my old jre...).
Thanks for Your help and for this very nice extension of ant...


De : Brian Agnew []
Envoyé : mardi 15 mars 2005 17:54
Cc :
Objet : Re: [Xmltask-users] TR: Xmltask problem with after jre 1.5 installation

  [xmltask] C

says to me that it's trying to resolve a DTD externally, rather than use a locally available one. i.e. <xmlcatalog> doesn't look like it's being used. Also:

  [taskdef] Could not load definitions from resource net/sf/antcontrib/ It could not be found

doesn't look good. You say that you've installed JRE 1.5, but the below is using 1.4. So it all looks a bit confusing. Can you clarify ?



Envoyé :        mardi 15 mars 2005 12:28
À :     ''
Objet : Xmltask problem with after jre 1.5 installation

I use xmltask from weeks without problem.
I had instelled a new jre and now, xmltask crash as below.

Help will be appreciated…

Apache Ant version 1.6.2 compiled on July 16 2004
Buildfile: buildRC.xml
Detected Java version: 1.4 in: C:\j2sdk1.4.2_04\jre
Detected OS: Windows XP
parsing buildfile C:\V3_RFP_OMS_2005\buildRC.xml with URI = file:///C:/V3_RFP_OMS_2005/buildRC.xml
Project base dir set to: C:\V3_RFP_OMS_2005
  [taskdef] Could not load definitions from resource net/sf/antcontrib/ It could not be found.
Override ignored for property originaux.dir
Build sequence for target `expxml' is [expxml]
Complete build sequence is [expxml, reidentxmltohtml, unmanufpj, unficpj, mymkdir, manquick, verifExpNeeded, exp, unePieceJointe, testif, reidenttoxm

, copydtd, quickplace, VerifIfReidentNeeded, Reident, recupfiles, exp_merge, help, addHTMLReidentFile, expxml_part, VerifIfDepouNeeded, fait_lignefil

, addHTMLReidentDir, pjsxmltohtml, pjstoxml, , depou]

  [xmltask] Reading C:\V3_RFP_OMS_2005\pub.xml
  [xmltask] Executing xmltask 1.10.5
  [xmltask] Processing C:\V3_RFP_OMS_2005\pub.xml [no output document]
  [xmltask] Using predefined xml catalog
Apache resolver library not found, internal resolver will be used
  [xmltask] C
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at<init>(
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
  [xmltask]     at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
  [xmltask]     at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
  [xmltask]     at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
  [xmltask]     at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
  [xmltask]     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
  [xmltask]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  [xmltask]     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
  [xmltask]     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  [xmltask]     at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
  [xmltask]     at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
  [xmltask]     at com.oopsconsultancy.xmltask.ant.XmlTask.documentFromStream(
  [xmltask]     at com.oopsconsultancy.xmltask.ant.XmlTask.documentFromFile(
  [xmltask]     at com.oopsconsultancy.xmltask.ant.XmlTask.access$000(
  [xmltask]     at com.oopsconsultancy.xmltask.ant.XmlTask$InputFile.getDocument(
  [xmltask]     at com.oopsconsultancy.xmltask.ant.XmlTask.execute(
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at
  [xmltask]     at


Brian Agnew        
OOPS Consultancy Ltd         brian @
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012