thanks >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 5/16/02, 6:04:05 PM, "David N Bertoni/Cambridge/IBM" <[EMAIL PROTECTED]> wrote regarding Re: Unable to resolve prefix 'xalan': > Hi Chen, > Please post to the list, not to me private email address. > The -EN option only changes what namespace the processor uses for extension > functions. It does not affect your stylesheet in any way -- you stylesheet > must still declare namespaces correctly. It simply allows you to declare a > different namespace in your stylesheets than the default extension > namespace, and tell the processor to use your namespace. > Dave > [EMAIL PROTECTED] > m To: David N Bertoni/Cambridge/IBM <[EMAIL PROTECTED]> > cc: > 05/16/2002 05:52 Subject: Re: Unable to resolve prefix 'xalan' > PM > Hi, > Actually I made a mistake here, it worked if I put > xmlns:xalan="http://xml.apache.org/xalan" into the <xsl:stylesheet> tag > (when I was writing the last mail, I forgot to put it in one of the > included stylesheets that also uses the extension function), however, it > doesn't work with "-EN http://xml.apache.org/xalan" or without the -EN > option (supposedly it should use the default ns which is the same as > above). > I guess I just need to always insert the xmlns attribute in the > stylesheets where I need to use the extension functions. Thanks anyway! > Chen > >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< > On 5/16/02, 5:01:17 PM, "David N Bertoni/Cambridge/IBM" > <[EMAIL PROTECTED]> wrote regarding Re: Unable to resolve prefix > 'xalan': > > If you can post a minimal stylesheet and source document that reproduces > > the problem, we can take a look at it. > > I would be very surprised if such a fundamental bug existed in the code. > > Dave > > [EMAIL PROTECTED] > > m To: > [email protected] > > cc: (bcc: David N > Bertoni/Cambridge/IBM) > > 05/16/2002 04:36 Subject: Unable to resolve > prefix 'xalan' > > PM > > I need some help in using xalan-c. I compiled xerces (1.6) and xalan > > (1.3) on both Linux (RedHat 7.2) and Solaris 2.6, the build processes > > were okay, but when I try to run the samples (both testXSLT and Xalan): > > testXSLT -IN aInXml.xml -XSL aSSheet.xsl -- or -- Xalan aInXml.xml > > aSSheet.xsl > > (where in aSSheet.xsl, I use the Xalan extension function > > "xalan:nodeset()" in a select="..." attribute) > > I got the error below: > > XSLException Type is: XPathParserException > > Message is: Unable to resolve prefix 'xalan'. > > I tried to run testXSLT by adding the option -EN > > http://xml.apache.org/xalan and also tried to put the namespace attribute > > xmlns:xalan="http://xml.apache.org/xalan" into the <xsl:stylesheet> tag, > > and it still has the same problem. > > The exact same input xml and xsl stylesheet works perfectly fine with > > xalan-c 1.2 (but I need 1.3 for another application to build and run > > correctly) > > Does anyone know what was wrong with my xalan-c 1.3 build? Any help and > > pointer would be appreciated. > > Thanks! > > Chen
