RE: parse DTD validation behind a firewall

2004-08-27 Thread thomas woytaszek
Thank-you! Works like a charm.
On Thu, 2004-08-26 at 19:00, W. Sean Hennessy wrote:
> With the use of a catalog.xml and URI/System rewrite you
> may convert remote references to local ones..
> Then you need only a local copy of the appropriate DTD sets..
> So given the DTD...
>"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
>   "http://java.sun.com/dtd/application_1_3.dtd";>
> 
> 
> One might copy the DTD to a local folder.. say "c:/usr/local/share/sdl/dtd"
> and following the example in catalog.xml one would add the following..
> 
> 
>uri="file:///C:/usr/local/share/sdl/dtd/application_1_3.dtd"/>
>  
>   http://java.sun.com/dtd/application_1_3.dtd";
> uri="file:///C:/usr/local/share/sdl/dtd/application_1_3.dtd"/>
> 
> http://java.sun.com/dtd/application_1_3.dtd"";
>uri="file:///C:/usr/local/share/sdl/dtd/application_1_3.dtd"/>
> 
> 
> 
> > -Original Message-
> > From: thomas woytaszek [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, August 26, 2004 12:36 PM
> > To: Maven Users List
> > Subject: x:parse DTD validation behind a firewall
> > 
> > 
> > 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:
> > 
> > 
> >  > value="${ear.dir}/META-INF/application.xml"/>
> >  > value="${merge.dir}/META-INF/application.xml"/>
> > 
> > 
> > 
> > 
> >   
> >
> > 
> >   
> >...
> >   
> > 
> > 
> >  
> > 
> > 
> > Error:
> > [echo] merging application descriptors...
> > [echo] -
> > /home/twoytaszek/p4/dev/ims/performance/target/existing_ear/ME
> > TA-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: 
> 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]
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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



RE: parse DTD validation behind a firewall

2004-08-26 Thread W. Sean Hennessy
With the use of a catalog.xml and URI/System rewrite you
may convert remote references to local ones..
Then you need only a local copy of the appropriate DTD sets..
So given the DTD...
http://java.sun.com/dtd/application_1_3.dtd";>


One might copy the DTD to a local folder.. say "c:/usr/local/share/sdl/dtd"
and following the example in catalog.xml one would add the following..


  
 
  http://java.sun.com/dtd/application_1_3.dtd";
  uri="file:///C:/usr/local/share/sdl/dtd/application_1_3.dtd"/>
  
http://java.sun.com/dtd/application_1_3.dtd"";
   uri="file:///C:/usr/local/share/sdl/dtd/application_1_3.dtd"/>



> -Original Message-
> From: thomas woytaszek [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, August 26, 2004 12:36 PM
> To: Maven Users List
> Subject: x:parse DTD validation behind a firewall
> 
> 
> 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:
> 
> 
>  value="${ear.dir}/META-INF/application.xml"/>
>  value="${merge.dir}/META-INF/application.xml"/>
> 
> 
> 
> 
>   
>
> 
>   
>...
>   
> 
> 
>  
> 
> 
> Error:
> [echo] merging application descriptors...
> [echo] -
> /home/twoytaszek/p4/dev/ims/performance/target/existing_ear/ME
> TA-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: 
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]




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