Stefan Shoeman wrote:
Hello *,

i have an old application, which works fine with Cocoon 2.0. It uses
xpointers (in combination
with xinclude) to define special parts in a xml-document. For example:


<xsl:attribute name="href">prefs.xml#xpointer(/sec:title/sec:subtitle)</xsl:attribute>


In Cocoon 2.1.9 / 2.1.10 this doesn't work. XInclude runs fine, but
not the xpointers.

I've only seen a major change, concerning xpointer, in the changelog of 2.1.10.
But with 2.1.9 it's the same problem...

Yes there was a change to xpointer handling in the XIncludeTransformer for 2.1.10 to bring it into compliance with the spec, but the old non-conformant behavior was left in (and deprecated) for compatibility so it should still work for the time being.

My first guess would be a namespace issue... how is the 'sec' namespace prefix declared? Does declaring it with a xmlns() xpointer part help?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to