At the same level, have you tried:
<!ENTITY c SYSTEM "validation-c.xml">
                   ^


--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

"If you were plowing a field, which would you rather use? Two strong oxen or
1024 chickens?"
- Seymour Cray (1925-1996), father of supercomputing


> -----Original Message-----
> From: Andreas Langmann [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 25, 2002 6:05 AM
> To: Struts User Mailingliste
> Subject: XML Include for validation.xml
>
>
> Hello,
>
> i tried the following:
>
> **************************
> <?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
>
> <!DOCTYPE validation
> [
>    <!ENTITY a SYSTEM
> "file://C:/Programme/eclipse/workspace/appl/build/webapp/WEB-INF/validation/
> validation-a.xml">
>    <!ENTITY b SYSTEM
> "file://C:/Programme/eclipse/workspace/appl/build/webapp/WEB-INF/validation/
> validation-b.xml">
>    <!ENTITY c SYSTEM "/WEB-INF/validation/validation-c.xml">
> ]>
>
> <form-validation>
>   <formset>
>     &a;
>
>     &b;
>
>     &c;
>   </formset>
> </form-validation>
> *********************
>
> and it works... but how can i use relative url's for the included files?
> This example loads validation-a, and validation-b, but not c...
>
> I dont want to use "http://127.0.0.1/...xml"; because i dont want to give the
> xml files to public http access....
>
> The same problem in struts-config xml for including form-bean-definitions
> was no problem... it works fine, but here i got problems with missing dtd if
> i use the header from struts-examples...
>
> tia
>
> Andreas
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to