Re: [basex-talk] Bug in parse-xml-fragment() and ampersand entity?

2023-11-22 Thread Zimmel, Daniel
xample and avoid the entity problems. Von: Christian Grün <christian.gr...@gmail.com> Gesendet: Mittwoch, 22. November 2023 12:41 An: Zimmel, Daniel <d.zim...@esvmedien.de> Cc: BaseX <basex-talk@mailman.uni-konstanz.de> Betreff: Re: [basex-talk] Bug in parse-xml-fragment() and ampersan

Re: [basex-talk] Bug in parse-xml-fragment() and ampersand entity?

2023-11-22 Thread Christian Grün
rse-xml('<x>' || $string || '</x>')) > > > > > > > > > > > > Zimmel, Daniel <d.zim...@esvmedien.de> schrieb am Di., 21. Nov. 2023, > 18:34: > > Thanks for the insight! > > > > I can see the benefit with your example – if y

Re: [basex-talk] Bug in parse-xml-fragment() and ampersand entity?

2023-11-22 Thread Zimmel, Daniel
or internal parser velocity! Von: Christian Grün <christian.gr...@gmail.com> Gesendet: Dienstag, 21. November 2023 18:54 An: Zimmel, Daniel <d.zim...@esvmedien.de> Cc: BaseX <basex-talk@mailman.uni-konstanz.de> Betreff: Re: [basex-talk] Bug in parse-xml-fragment() and ampersand en

Re: [basex-talk] Bug in parse-xml-fragment() and ampersand entity?

2023-11-21 Thread Christian Grün
> *Gesendet:* Dienstag, 21. November 2023 16:59 > *An:* Zimmel, Daniel > *Cc:* basex-talk@mailman.uni-konstanz.de > *Betreff:* Re: [basex-talk] Bug in parse-xml-fragment() and ampersand > entity? > > > > Hi Daniel, > > > > Yes, I assume we’ll need to call it a

Re: [basex-talk] Bug in parse-xml-fragment() and ampersand entity?

2023-11-21 Thread Zimmel, Daniel
been deleted. Daniel Von: Christian Grün Gesendet: Dienstag, 21. November 2023 16:59 An: Zimmel, Daniel Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] Bug in parse-xml-fragment() and ampersand entity? Hi Daniel, Yes, I assume we’ll need to call it a bug… Although what BaseX

Re: [basex-talk] Bug in parse-xml-fragment() and ampersand entity?

2023-11-21 Thread Christian Grün
Hi Daniel, Yes, I assume we’ll need to call it a bug… Although what BaseX is currently doing is known to us to be out of spec behavior. The function fn:parse-xml-fragments is based on our internal XML parser, which is much faster than the standard XML parser (in particular for small input), and

[basex-talk] Bug in parse-xml-fragment() and ampersand entity?

2023-11-21 Thread Zimmel, Daniel
Hi, is this a bug? Query: parse-xml-fragment('Tom Jerry') Result: Tom ? Jerry Same result with: parse-xml-fragment('Tom DUMMY; Jerry') BaseX 10.7 Saxon complains correctly that the resulting document node is not well-formed. BaseX should also return an error,