|
From: Randall R S. <rrs...@cr...> - 2002-08-29 18:47:02
|
Alx, Thanks! Thanks for answering and thanks for doing the reverse-engineering, so I didn't have to. I usually try avoid that, if possible. A few further questions, if you will. I see that the local file names in your Catalog are simple file names, not full path names. Does this imply that the DTD files are in the same directory as the Catalog file? Are all these files in the same directory as the XML files you're working with? If so, is that mandatory, or can the DTD files and Catalog be placed in a "centralized" location and shared by XML file in arbitrary directories? Is it necessary to have both the PUBLIC and SYSTEM entries? By the way, since you were kind enough to send exactly the entries I need, I simply clipped them from you email and made a Catalog file from them, and they work fine just as they were. Furthermore, to answer some of my own questions, the Catalog file is in the same directory as the locally cached DTD files and they are in a separate directory, not that of the XML file that references them. Thanks, again. Randall Schulz Mountain View, CA USA At 11:22 2002-08-29, you wrote: >Here's an example... in the actual file, each PUBLIC/SYSTEM line has no >newline/carriage return characters in it (these may be inserted by my >email file): > > >-- CATALOG -- > >-- J2EE Web descriptor files -- > >PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" >"web-app_2_2.dtd" >SYSTEM "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd" "web-app_2_2.dtd" > >PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" >"web-app_2_3.dtd" >SYSTEM "http://java.sun.com/dtd/web-app_2_3.dtd" "web-app_2_3.dtd" > >PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" >"web-jsptaglibrary_1_2.dtd" >SYSTEM "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd" >"web-jsptaglibrary_1_2.dtd" > > >BTW, I learned how to make this catalog by unjarring the xml plug-in >itself and looking at how they used a catalog for the built-in DTD support. :-) > >Alx > > >Randall R Schulz wrote: >>Hi, >>Could someone who has managed to make the XML plug-in's local DTD catalog >>feature work please post an example of a working catalog file? ... >> >>Thanks in advance. >>Randall Schulz > > >-- >... ... ... ... ... ... ... ... ... ... ... ... >Alx Dark, Ph.D. > al...@ea... > http://purl.org/net/alxdark |