[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: RE: [xsl] JSP Tag library .tld files to HTML: DOCTYPE mangles it...
From: "Paul Brown" <prb@xxxxxxxxxxxxx>
Date: Tue, 19 Nov 2002 12:59:15 -0500

> From: Jon Archer [mailto:jon@xxxxxxxxxxxxxx]
> 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



Current Thread