Skip to content

[BUG] Spurious namespace declarations in REST API results #5845

@ndw

Description

@ndw

This query (posted to REST API for eXist-db 6.4.0 running on a Mac):

<query xmlns="http://exist.sourceforge.net/NS/exist" wrap="no" typed="no">
   <text>&lt;doc&gt;{3+4}&lt;/doc&gt;</text>
</query>

returns

<doc>7</doc>

but this query:

<query xmlns="http://exist.sourceforge.net/NS/exist" wrap="no" typed="no">
   <text>&lt;doc&gt;7&lt;/doc&gt;</text>
</query>

returns

<doc xmlns="http://exist-db.org/xquery/types/serialized">7</doc>

Metadata

Metadata

Assignees

No one assigned

    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