Project

Profile

Help

Support #6510

closed

load-xquery-module fails incomprehensibly with a 'hash-uri'

Added by Pieter Lamers about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2024-08-15
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

following a discussion on Slack I tried to include an xquery library module using a namespace uri defined as '#my-module'. The error reported by Oxygen when running the code with EE 12.3 was 'The file imported for module null is not a valid XQuery library module. The content starts: <xsl:stylesheet xmlns:mymod...'. When I changed all instances of the namespace-uri to 'http://test/#my-module' my code ran fine. I have not yet tried on latest EE.


Files

my-module.xqm (189 Bytes) my-module.xqm Pieter Lamers, 2024-08-15 17:27
my-xslt.xslt (587 Bytes) my-xslt.xslt Pieter Lamers, 2024-08-15 17:27
test.xml (33 Bytes) test.xml Pieter Lamers, 2024-08-15 17:27

Please register to edit this issue

Also available in: Atom PDF