- in comments
GCGiuseppe G. A. Celano17 Nov 2020 18:18 # <!----->/data() is printed as - , while "-” as - (even if both are xs:string): is there a reason? In any case, is there a function to convert <!-----> into - ? Thanks.
CGChristian Grün17 Nov 2020 18:31 # Hi Giuseppe,
The reason is the specification: entities in comments are adopted without change (i.e. in their literal representation) [1]. The following example expression will be successfully evaluated:
<!--{xyz;-->/data()
Quoted text · Giuseppe G. A. Celano · 9 lines
On Tue, Nov 17, 2020 at 6:18 PM Giuseppe G. A. Celano
<celano at informatik.uni-leipzig.de> wrote:
>
> Hi,
>
> <!----->/data() is printed as - , while "-” as - (even if both are xs:string): is there a reason? In any case, is there a function to convert <!-----> into - ? Thanks.
>
> Best,
> Giuseppe
⚡Generated with XQuery