Nicolas,
well this is a bug; it seems to me that this only happens with xml:lang
within a stylesheet though. I'll look into this. If you can produce the
bug with the attribute inside your XML data only, please send me the
test files so I can reproduce it.
Thanks,
Tom
Nicolas Sauret wrote:
>
> Nicolas Sauret a écrit :
> >
> > Hi,
> >
> > another very little problem.
> > Sablotron doesn't accept in the XSL or XML input files the attribute
> > xml:lang.
> >
> > Here is the error message it returns :
> > Error [code:227]
> > [URI:file:/home/nicolas/DOCS/UEPG/NOVDEC/Sabtest/friends.profile]
> > [line:10]
> > invalid namespace prefix 'xml'
>
> I found in XML mailing list (www.w3c.org) that xml:lang as xml:space
> were reserved attributes. It means that Processor and Parsor are not
> supposed to match such attributes, or to detect here an 'invalid
> namespace prefix'.
>
> >
> > So it's clearly a namespace problem, but I don't understand why
> > Sablotron find here a problem. It's not a problem for Xalan for example.
> >
> > Do I have to add a namespace declaration in the begining of my
> > stylesheet or of my input file ?
> > If yes, wich one : xmlns:xml="?????????" .
> >
> > Thanks,
> > nico
>
> Has anybody an idee about how to process this specific attribute ?
>
> thanks,
> nico