You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Stephane Crettet <st...@lightobjects.com> on 2000/11/09 15:11:46 UTC

Parser error with xalan1.2 not with xalan1_0_1

Hi all

I have a problem with xalan1.2 and a xsl file 
I work with windows2000 and xalanJ1.2  xercesJ1.2 (08/24/2000)

i have the following message 

    Parser error: The namespace prefix "select='@id' xmlns" was not declared.

for the code below when i use  add-style entity and anchor entity in an xml file

<!DOCTYPE xsl:stylesheet [
  <!ENTITY with-orientation "<xsl:with-param name='orientation' select='$orientation' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'/>">
  <!ENTITY add-style "<xsl:call-template name='add-style-attribute' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'/>">
  <!ENTITY anchor "<xsl:apply-templates select='@id' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'/>">
]>

The same code has no error with xalan1_0_1 and xerces1_0_3

Can you help me to find a solution for this problem.

Thank you for your help

Stephane

stephane.crettet@lightobjects.com
LightObjects SaRL
26 rue Maunoir
Geneva, Switzerland