URN as library module namespace

Wednesday, 25 June 2014 · 3 messages · last reply 26 Jun 2014
CL
Carl Leitner25 Jun 2014 15:16 #
Hi, I am trying to do a “REPO INSTALL” a library module which has a namespace which is an URN, urn:ihe:iti:csd:2013, but am receiving the error: [bxerr:BXRE0002] Namespace URI is invalid: 'urn:ihe:iti:csd:2013'. I noticed that URNs are not discussed here: http://docs.basex.org/wiki/Repository#URI_Rewriting Taking a look here: http://www.w3.org/TR/2014/REC-xquery-30-20140408/#doc-xquery30-ModuleDecl I don’t see anywhere where URNs are explicitly disallowed. Any suggestions would be appreciated. Cheers, -carl
DP
Dimitar Popov25 Jun 2014 20:13 #
Quoted text · Carl Leitner · 19 lines
On Wednesday 25 June 2014 15:16:21 Carl Leitner wrote: > Hi, > > I am trying to do a “REPO INSTALL” a library module which has a namespace > which is an URN, urn:ihe:iti:csd:2013, but am receiving the error: > [bxerr:BXRE0002] Namespace URI is invalid: 'urn:ihe:iti:csd:2013'. > > I noticed that URNs are not discussed here: > http://docs.basex.org/wiki/Repository#URI_Rewriting > > Taking a look here: > > http://www.w3.org/TR/2014/REC-xquery-30-20140408/#doc-xquery30-ModuleDecl > I don’t see anywhere where URNs are explicitly disallowed. > > Any suggestions would be appreciated. > > Cheers, > -carl
I guess this is an effect of bug #928 [1] :/ Regards, Dimitar [1] https://github.com/BaseXdb/basex/issues/928
CG
Christian Grünin reply to Carl Leitner, 25 Jun 2014, 15:1626 Jun 2014 11:45 #
Hi Carl, Module URIs that are to be installed in a repository need to have a path component. I have revised the documentation [1], and I have slightly extended the error message in the latest snapshot [2]. Christian [1] http://docs.basex.org/wiki/Repository#URI_Rewriting [2] http://files.basex.org/releases/latest/
Quoted text · Carl Leitner · 21 lines
On Wed, Jun 25, 2014 at 3:16 PM, Carl Leitner <litlfred at ibiblio.org> wrote: > > Hi, > > I am trying to do a "REPO INSTALL" a library module which has a namespace > which is an URN, urn:ihe:iti:csd:2013, but am receiving the error: > [bxerr:BXRE0002] Namespace URI is invalid: 'urn:ihe:iti:csd:2013'. > > I noticed that URNs are not discussed here: > http://docs.basex.org/wiki/Repository#URI_Rewriting > > Taking a look here: > > http://www.w3.org/TR/2014/REC-xquery-30-20140408/#doc-xquery30-ModuleDecl > I don't see anywhere where URNs are explicitly disallowed. > > Any suggestions would be appreciated. > > Cheers, > -carl >

⚡Generated with XQuery