Throw exception on xsl:sort lang not on order. Oops.

This commit is contained in:
jez 2008-10-27 14:26:20 +00:00
parent c4d237e97b
commit 04de9f2b60

View file

@ -43,7 +43,7 @@ public:
datatype = context_.xpath_attribute_value_template(attr["data-type"]);
order = context_.xpath_attribute_value_template(attr["order"]);
if(attr["order"].length() != 0)
if(attr["lang"].length() != 0)
throw SAX::SAXException("Sorry! Don't support xsl:sort lang attribute yet");
sort_ = new Sort(select,