[Fwd: RE: vizant with DOCTYPE xml includes]
Nicola Ken Barozzi <[email protected]> Thu, 08 May 2003 08:56:22 +0200
| Newsgroups | gmane.comp.jakarta.alexandria.devel |
|---|---|
| Organization | Apache Software Foundation |
| Message-ID | <[email protected]> |
-------- Original Message -------- Subject: RE: vizant with DOCTYPE xml includes Date: Wed, 23 Apr 2003 16:45:46 -0400 From: Keane, Patrick <[email protected]> To: '[email protected]' <[email protected]>, '[email protected]' <[email protected]>, '[email protected]' <[email protected]> It does not choke if I specify like <!ENTITY defineTasks SYSTEM "file:./defineTasks.build.xml"> (with the ./) Thanks I got it. PK -----Original Message----- *From:* Keane, Patrick *Sent:* Wednesday, April 23, 2003 12:53 PM *To:* '[email protected]'; '[email protected]'; '[email protected]' *Cc:* Marangoni, Gary *Subject:* vizant with DOCTYPE xml includes *This is an incredibly useful program! Thanks very much for your work. I have a support question, it seems that vizant does not work well with XML style include directives in ant build.xml files, such as shown below:* <!DOCTYPE project [ <!ENTITY defineTasks SYSTEM "file:defineTasks.build.xml"> <!ENTITY definePaths SYSTEM "file:definePaths.build.xml"> ]> <project name="dev" default="compile" basedir="." > <property file="build.properties"/> &defineTasks; &definePaths; *The results of running vizant with such directives is:* Buildfile: vizant.xml init: create: BUILD FAILED /home/qabuild/build/Gab502/vizant.xml:16: org.xml.sax.SAXParseException: Relative URI "file:defineTasks.build.xml"; can not be resolved without a document URI. Total time: 0 seconds *Is there any chance of a workaround for this, or is this something that could be fixed? Perhaps the parser cannot partse the file for some other reason that I don't understand. If you could provide any help that would be really great.* Thanks Patrick Keane -- Nicola Ken Barozzi [email protected] - verba volant, scripta manent - (discussions get forgotten, just code remains) ---------------------------------------------------------------------