Skip to content

Custom namespaces #4

@Kolophonium0

Description

@Kolophonium0

I get the following error:

<exception> <path>/db/apps/ediarum.web/views/api/object-part.xql</path> <message>err:XPTY0004 'rws:defaultWit' is not a valid attribute name [at line 65, column 32, source: /db/apps/ediarum.web/views/api/object-part.xql] In function: local:milestone-chunk(node(), node()) [65:32:/db/apps/ediarum.web/views/api/object-part.xql] local:milestone-chunk(node(), node()) [67:32:/db/apps/ediarum.web/views/api/object-part.xql] local:milestone-chunk(node(), node()) [133:9:/db/apps/ediarum.web/views/api/object-part.xql] local:get-part(map(*), node(), node()+, xs:string?) [177:8:/db/apps/ediarum.web/views/api/object-part.xql]</message> </exception>

when trying to access a part of an object of a xml doc, which includes a custom namespace. Is it possible to deal with custom namespaces? I tried to add:

<namespace id="rws">...</namespace>

to the appconf.xml but that doesnt seem to do the trick.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions