Hi Will,

I am not 100% positive about this, but I think it is a feature.  The MarkLogic 
XSLT engine is 2.0, not 1.0, and when it sees 1.0 stylesheets, it runs them in 
1.0 compatibility mode.  See the XSLT 2 spec for the gory details.

So I think this is as expected.

-Danny

________________________________
From: [email protected] 
[[email protected]] on behalf of Will Thompson 
[[email protected]]
Sent: Saturday, December 22, 2012 10:53 AM
To: MarkLogic Discussion
Subject: [MarkLogic Dev General] xdmp:xslt-eval/invoke expected behavior

If I pass xdmp:xslt-eval() a stylesheet that's declared version="1.0" and use a 
path expression  on a result tree fragment, it doesn't throw an error. Bug or 
feature? That's allowed in 1.1 but not 1.0.

-Will
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to