  | |  | Error using DOCTYPE in a stylesheet | Error using DOCTYPE in a stylesheet 2003-05-16 - By Foxy Shadis
I thought I'd point out that I've been using doctypes in XSL for some time without any problem, containing nothing but many of entity definitions, including with 2.5.0 and current CVS. The only difference I can reasonably see is that mine are all external, referenced by SYSTEM.
Would it help if you told us how you are invoking this? It might be a depreciated API or.... well, any range of possibilities.
Swiftpaw Foxyshadis, wildlife artist foxyshadis@(protected) | http://foxyshadis.dyndns.org/
>From: Cam.Fordyce@(protected) >To: xalan-j-users@(protected) >Subject: Error using DOCTYPE in a stylesheet >Date: Fri, 16 May 2003 11:14:10 -0400 > >Hi, > >I am using Xalan 2.5.0 and am having problems using DOCTYPE in a >stylesheet. > > >(top of the stylesheet) > ><?xml version="1.0" encoding="UTF-8" ?> ><!DOCTYPE xsl:stylesheet [ > <!ENTITY nbsp " "> > <!ENTITY mdash "�"> > ]> ><xsl:stylesheet version="1.0" xmlns:xsl=" >http://www.w3.org/1999/XSL/Transform" > > > >And when I try to do a transform, I get the following error messages: > > >[Error] visitView.xslt:31:2: Element type "xsl:stylesheet" must be >declared. >[Error] visitView.xslt:36:3: Element type "xsl:output" must be declared. >[Error] visitView.xslt:38:32: Element type "xsl:strip-space" must be >declared. >[Error] visitView.xslt:42:28: Element type "xsl:param" must be declared. >[Error] visitView.xslt:44:73: Element type "xsl:param" must be declared. >[Error] visitView.xslt:46:31: Element type "xsl:param" must be declared. >[Error] visitView.xslt:47:30: Element type "xsl:param" must be declared. >[Error] visitView.xslt:48:33: Element type "xsl:param" must be declared. >[Error] visitView.xslt:49:31: Element type "xsl:param" must be declared. >[Error] visitView.xslt:50:29: Element type "xsl:param" must be declared. >[Error] visitView.xslt:56:35: Element type "xsl:variable" must be declared. >[Error] visitView.xslt:57:31: Element type "xsl:variable" must be declared. >[Error] visitView.xslt:58:30: Element type "xsl:variable" must be declared. >[Error] visitView.xslt:58:40: Element type "xsl:text" must be declared. >[Error] visitView.xslt:62:32: Element type "xsl:variable" must be declared. >[Error] visitView.xslt:62:71: Element type "xsl:value-of" must be declared. >[Error] visitView.xslt:63:33: Element type "xsl:variable" must be declared. >[Error] visitView.xslt:63:73: Element type "xsl:value-of" must be declared. >[Error] visitView.xslt:68:25: Element type "xsl:template" must be declared. >. >. >. ><snipped> > >Is this a known problem? I was using Xalan 2.4.1 and had no problems. > >Cam > > > >****************************************************************************** ************** > This message, together with any attachments, is intended only for the >use of the individual or entity to which it is addressed. It may contain >information that is confidential and prohibited from disclosure. If you >are not the intended recipient, you are hereby notified that any >dissemination or copying of this message or any attachment is strictly >prohibited. If you have received this message in error, please notify the >original sender immediately by telephone or by return e-mail and delete >this message along with any attachments, from your computer.Thank you. > >****************************************************************************** ************** >
_________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
|
|
 |