Forgot to mention I'm using Xerces-J 2.6.1 from Ant 1.6.1

Emmanuil Batsis (Manos) wrote:

Hi all,

I'm trying to patch up an xinclude task to automate some stuff but have "context" problems. My project structure (fragment):

xclude
ââââtestfiles
    â   include1.xml
    â   init.xml


My initial document (init.xml) is just

<?xml version="1.0" ?>
<test xmlns:xi="http://www.w3.org/2003/XInclude";>
  <xi:include href="include1.xml" />
</test>

the include1.xml indeed exists in the same directory as the nitial document, however i get the following error:

 [Warning] :3:44: Include operation failed, reverting to fallback. Re
source error reading file as XML (href='include1.xml'). Reason: C:\tools
\eclipse\workspace\xclude\include1.xml (The system cannot find the path
specified)

So, although the init.xml was read from

C:\tools\eclipse\workspace\xclude\testfiles

the processor looks for the included file in

C:\tools\eclipse\workspace\xclude

Can someone please tell me what am i missing?


Thanks,

-- Manos Batsis

    _  __    __                    __
   / |/ /__ / /____ __ _ ___ _____/ /_
  /    / -_) __(_-</  ' Y _ `/ __/ __/
 /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/


http://www.netsmart.gr mailto:[EMAIL PROTECTED] tel:+302103240940 http://forte.netsmart.gr/foaf/manos_foaf.rdf



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to