Google for: XML DTD "public identifier" "system identifier"

On 12/14/05, Rivka Shisman <[EMAIL PROTECTED]> wrote:
> Joe wrote:
>
>
>
> >>Struts, Tiles, and Validator all are distributed with the correct DTDs
> (as well as several historic versions) packaged in the JAR. If you
> >>have the correct DOCTYPE declaration in your XML file, the DTD will be
> read as a classpath resource rather than over the internet.
>
>
>
> >>I think I missed that part; the suggestions I had are only for running
> Struts; not for work in an IDE.
>
>
>
> >>Eclipse has an XML Catalog (at least 3.1 with the Web Tools installed;
> I'm not sure where that came in). With that, you can do a similar
> >>process -- register a public ID and tell Eclipse where it can find a
> locally stored copy of that DTD. You can get a copy from the URL (if
> >>the server is working) or from a Struts JAR or the SVN repository.
>
>
>
> >>For other IDEs, I can't say, but they could all offer similar
> services.
>
>
>
> Joe - It turns out I still don't understand how to work with local
> dtd's:
>
>
>
> When I use in my struts-config.xml the line: "<!DOCTYPE struts-config
> PUBLIC "My_Key_In_XML_CATALOG" ""> - it works in my eclipse IDE but not
> while running the application.
>
>
>
>
>
> When I use in my struts-config.xml the line: <!DOCTYPE struts-config
> PUBLIC "-//Apache Software Foundation//DTD Struts Configuration1.2//EN"
>
>
> "http://struts.apache.org/dtds/struts-config_1_2.dtd";> - it works while
> running the application but not in my IDE when the apache site is down.
>
>
>
>
>
> What am I doing wrong?
>
>
>
> Thanks
>
> Rivka

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

Reply via email to