On Wed, 24 Jul 2002, Cedric Dumoulin wrote:

> Date: Wed, 24 Jul 2002 15:59:37 +0200
> From: Cedric Dumoulin <[EMAIL PROTECTED]>
> Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> To: Struts Developers List <[EMAIL PROTECTED]>
> Subject: Re: cvs commit:
>     jakarta-struts/src/share/org/apache/struts/action ActionServlet.java
>
>
>   I am also in favor of using namespaces. Struts tags can use the
> default namespace (no prefix), and custom tags use their own namespace.
> Checking the Digester documentation, it appears it support namespaces,
> and you can associate a RuleSet to a namespace.

Digester definitely supports namespaces.  You can see an example of this
in the commons-workflow package:

  http://jakarta.apache.org/builds/jakarta-commons/nightly/commons-workflow

>   Normally, namespaces should also work with DTD, ensuring proper
> validation (or did I miss something ?)

As far as I can tell, the one-and-only DTD that you declare at the top of
your original source document is the only one that is used for the entire
thing -- and this DTD has to be the union of all the valid elements and
attributes.  And I don't know how to create a DTD that "imports"
struts-config_1_1.dtd and adds to it :-(.

>   In fact, I think of using namespaces in struts-config to allow
> "inline" declaration of a Tiles definitions inside a <forward>.
> Regarding some previous mails I think it is a similar requirement than
> for the <transform> tag. So, we should certainly propose a common and
> general solution for this kind of extension.
>   I will try to play a little bit more with namespaces, digester and
> user configurable files ;-).
>

If you find anything we've all missed, please let us know!

>      Cedric

Craig


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

Reply via email to