Thanks!

On Mon, Dec 3, 2012 at 1:20 AM, Lukasz Lenart <lukaszlen...@apache.org>wrote:

> 2012/12/1 ChadDavis <chadmichaelda...@gmail.com>:
> > Thanks Lukasz.  This is very useful information. I think this clearly
> fixes
> > my problem, but I still have some questions.
> >
> > 1) when was xwork moved to ASF?
>
> Just before 2.2.1, two years ago, but DTDs where changed sometime later
>
> http://struts.apache.org/2.x/docs/version-notes-221.html
>
> > 2) It's not really Struts 2 doing the look up right?  It's the sax
> parser?
> >  Is Struts2 using the EntityResolver to add the resolution logic that
> > converts the DOCTYPE tag to a classpath resource lookup?  If you don't
> know
> > of the top of your head, I plan to dive into the code myself anyhow.
>
> Yes, but you can tell the parser where the DTDs are, so it can read
> them locally before looking for them over the internet. See
> XmlConfigurationProvider for more details.
>
> Example:
>         mappings.put("-//Apache Struts//XWork 2.3//EN", "xwork-2.3.dtd");
>         mappings.put("-//Apache Struts//XWork 2.1.3//EN",
> "xwork-2.1.3.dtd");
>         mappings.put("-//Apache Struts//XWork 2.1//EN", "xwork-2.1.dtd");
>         mappings.put("-//Apache Struts//XWork 2.0//EN", "xwork-2.0.dtd");
>         mappings.put("-//Apache Struts//XWork 1.1.1//EN",
> "xwork-1.1.1.dtd");
>         mappings.put("-//Apache Struts//XWork 1.1//EN", "xwork-1.1.dtd");
>         mappings.put("-//Apache Struts//XWork 1.0//EN", "xwork-1.0.dtd");
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to