Hi,
I'm trying to merge an xml document using xsl. I have an application.xml
document which is generated by maven. How can I bypass parsing of this
element? I don't want to set a proxy, I just want to ignore the DTD
check completely.
Any hints?
Thanks in advance.
Example jelly code:
<postGoal name="ear:generate-ear-descriptor">
<!-- merge the original, and generated descriptors -->
<j:set var="generated" value="${ear.dir}/META-INF/application.xml"/>
<j:set var="original"
value="${merge.dir}/META-INF/application.xml"/>
<echo message="merging application descriptors..."/>
<util:file var="inputFile" name="${generated}"/>
<echo message="----- ${inputFile}"/>
<x:parse validate="false" var="doc" xml="${inputFile}" />
<jsl:stylesheet select="$doc">
<jsl:template match="application/module">
...
</jsl:template>
</jsl:stylesheet>
<echo message="merge complete."/>
</postGoal>
Error:
[echo] merging application descriptors...
[echo] -----
/home/twoytaszek/p4/dev/ims/performance/target/existing_ear/META-INF/application.xml
BUILD FAILED
File......
file:/home/twoytaszek/.maven/plugins/maven-multiproject-plugin-1.2/plugin.jelly
Element... maven:reactor
Line...... 202
Column.... 9
Unable to obtain goal [multiproject:install-snapshot-callback] --
file:/home/twoytaszek/p4/dev/ims/performance/maven.xml:32:62: <x:parse>
Server returned HTTP response code: 403 for URL:
http://java.sun.com/dtd/application_1_3.dtd Nested exception: Server
returned HTTP response code: 403 for URL:
http://java.sun.com/dtd/application_1_3.dtd
Total time: 14 seconds
Finished at: Thu Aug 26 15:32:06 EDT 2004
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]