xsl-list
[Top] [All Lists]

RE: JSP Tag library .tld files to HTML: DOCTYPE mangles it...

2002-11-19 10:59:15

From: Jon Archer [mailto:jon(_at_)perceptive(_dot_)com]
Has anyone else been here before and found an answer?

I you look in the JSP 1.2 taglib DTD, you'll find:

<!ATTLIST taglib id ID #IMPLIED
          xmlns CDATA #FIXED
                "http://java.sun.com/JSP/TagLibraryDescriptor";


If you look in the JSP 1.1 taglib DTD, you'll find:

<!ATTLIST taglib id ID #IMPLIED
          xmlns CDATA #FIXED
                "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd";


and that means that there is a default xmlns attribute applied to the taglib 
element in each case.

If the stylesheet was built for one version, it won't match the other -- 
because of the different namespaces.

        -- Paul

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list