tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: trying to make a custom jsp tag
Date Wed, 18 Oct 2000 16:33:18 GMT
Pierre.Damas@cec.eu.int wrote:

> You have the DTDs in the /conf directory
> (for web.xml and server.xml).
>
> It seems however that the web DTD is missing some element definitions to be
> valid itself.
>
> The WEB.DTD is valid only if you add these definitions, (but I don't know if
> these are the correct definitions)
> <!ELEMENT basic-auth (#PCDATA)>
> <!ELEMENT form-auth (#PCDATA)>
> <!ELEMENT mutual-auth (#PCDATA)>
>

The correct answer is actually the reverse -- instead of adding these elements,
you should remove the three ATTLIST elements listed below.  They are incorrect.

I will report this to the spec feedback address for correction.

>
> Another solution would be to comment their usage:
> <!--
> <!ATTLIST basic-auth
>         id ID #IMPLIED
> >
> -->
> <!--
> <!ATTLIST form-auth
>         id ID #IMPLIED
> >
> -->
> <!--
> <!ATTLIST mutual-auth
>         id ID #IMPLIED
> >
> -->
>
> I validate with XML Spy on NT, but any other good XML editor would be able
> to do it...
>
> Pierre A.
>

Craig McClanahan

====================
See you at ApacheCon Europe <http://www.apachecon.com>!
Session VS01 (23-Oct 13h00-17h00):  Sun Technical Briefing
Session T06  (24-Oct 14h00-15h00):  Migrating Apache JServ
                                    Applications to Tomcat



Mime
View raw message