Ankit Kumar


---------- Forwarded message ----------
From: ankit kumar <ankitforstudy@gmail.com>
Date: Wed, Dec 31, 2014 at 2:10 PM
Subject: Error Undefined Schema Name While Using schema-element(xbrli:item)
To: christian.gruen@uni-konstanz.de, alexander.holupirek@uni-konstanz.de, cg@basex.org, ms@basex.org


I am trying to run this xquery script using base-x gui. But i am getting this error as show by gui
"Undefined Schema name Q{http://www.xbrl.org/2003/instance}item" by schema-element(xbrli:item) function.
Please help me out.


declare namespace xfi = "http://www.xbrl.org/2008/function/instance";
declare namespace xbrli="http://www.xbrl.org/2003/instance";
declare function xfi:test($a as schema-element(xbrli:item)) {
     let $b := 1
     return $a
};

let $context :=//*
return  //*/xfi:test(.)



Ankit Kumar