[xquery-talk] Non-conformant XML-parsers..

Geert Josten geert.josten at dayon.nl
Thu Apr 5 22:41:45 PDT 2012


I noticed this question on stackoverflow:

Apparently SQLServer has trouble processing the short notation of empty
elements. It got me thinking though, the new serialization spec gives
quite some strength for tweaking the output, but not influence tiny things
like notation of empty elements. Maybe this isn't the most appropriate
list asking this, but I'm asking here anyhow: hasn't it been given thought
to add some flags that allow end users to tweak the output more
extensively? Like a short-empty-elements="no", things like that?

I also used to work with a language that allowed so-called productions
from in-memory trees. (It was a language much alike XSLT, but older.) It
allowed writing production rules for each element, to control how things
should be serialized. Not sure how that would help here, but thought I'd
mention it anyway..


M.Sc. G.P.H. (Geert) Josten
Senior Developer

Dayon B.V.
Delftechpark 37b
2628 XJ Delft
The Netherlands

T +31 (0)88 26 82 570

geert.josten at dayon.nl

De informatie - verzonden in of met dit e-mailbericht - is afkomstig van
Dayon BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan
dit bericht kunnen geen rechten worden ontleend.

More information about the talk mailing list