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

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


Hi,

I noticed this question on stackoverflow:
http://stackoverflow.com/questions/10027737/xquery-should-give-me-proper-c
losed-tags-for-empty-node-sql-server-2008

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..

Cheers,
Geert


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
www.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