Thanks Christin and Brian, that was it. I was using the implementation shipped with with JDK1.4.:| After adding -Djava.endorsed.dirs things worked ok! ... That you very much!
Rui On Wed, 2005-11-09 at 09:30 -0500, Christine Li wrote: > > Hi, Rui > > I don't see any problems with your code. It works for me. Please check > the execution environment and make sure that you are using the right > version of Xalan. > > Christine Li > XSLT Development > IBM Toronto Lab > Tel: (905)413-2601 > Email: [EMAIL PROTECTED] > > > "Rui Alberto L. Goncalves" > <[EMAIL PROTECTED]> > > 09/11/2005 06:11 AM > Please respond to > rui-l-goncalves > > > > > To > xalan-j-users@xml.apache.org > cc > > Subject > startPrefixMapping namespace problem > > > > > > > > > Hi all, > does anyone knows why the following code (attach) produces an invalid > result? Prefixes are used, but the namespaces are not declared!! > I'm probably missing something trivial, but I can't figure out what > I'm > doing wrong here. > > The produced result is: > > <?xml version="1.0" encoding="UTF-8"?> > <x:element/> > > Prefix "x", is used but not declared!!! > > I'm using xalan 2.7.0. > > Thanks for any help. > > Rui > > >