** Changed in: zorba Milestone: 2.5 => 2.7 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/903797
Title: XQXQ feature request: custom schema uri resolver Status in Zorba - The XQuery Processor: New Bug description: It should be possible to validate xdm instances against schemas which are stored in collections or dynamically created. Therefore, a mechanism is needed to tell the resolver before compiling and XQXQ module how to find these schemas. This could be implemented using HOFs. Example: declare function schema-uri-resolver($namespace as xs:string, $at-hints as xs:string*) as element(xs:schema)? { (: create/fetch xml schema :) xqddf:collection(...)//xs:schema[@targetNamespace=$namespace] }; let $module := xqxq:prepare-main-module("import schema namespace test = 'http://test'; validate { <test:test /> }", schema-uri-resolver#2 ) return xqxq:evaluate($module) To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/903797/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp