I've been struggling off and on with setting up my build process to pregenerate my servlets from JSP pages, precompile the output, and augment the servlet mappings in the "web.xml" to use the precompiled classes.
I had run into one bug with referencing entities in "web.xml", which Attila Szegedi <[EMAIL PROTECTED]> reported for me (Bug 8024) after I mentioned the problem to him. Fortunately, Craig submitted a fix for this based on Attila's patch. This got me past one problem. Now, I'm seeing another problem. In my JspC output, I see the following: 2002-04-25 12:52:39 - Exception initializing TldLocationsCache: XML parsing error on file /WEB-INF/web.xml: Invalid PUBLIC ID: webinc I found where in the code where this could be reported, and I found it in both MyEntityResolver.resolveEntity() in ParserUtils.java, and in the same class and method in JspUtil.java. Both of these methods are identical. They both search for the given public id in the "Constants.CACHED_DTD_PUBLIC_IDS" array. This array only has four entries, being the public ids for the taglig dtd, versions 1.1 and 1.2, and the public ids for the webapp dtd, version 2.2 and 2.3. If the given public id is not any of those, it throws this SAXException. I could be mistaken, but this sure seems like a bug to me. It appears that I can't use external public entities that I've defined myself, or any others, besides the four listed in that array. Am I missing something? -- =================================================================== David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
