From: SourceForge.net <no...@so...> - 2012-08-08 09:22:01
|
Bugs item #3555299, was opened at 2012-08-08 02:22 Message generated for change (Tracker Item Submitted) made by mgraauw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=117691&aid=3555299&group_id=17691 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Marc de Graauw (mgraauw) Assigned to: Nobody/Anonymous (nobody) Summary: comment before document element handled wrong Initial Comment: Used eXist 2.1-dev-rev0000-20120615 The following XQuery gives aan error in eXist: xquery version "1.0"; let $doc := document{<!-- foo --><bar/>} return $doc The XML is perfectly well-formed though, comments may appear before root. I ran into this with other XML (dynamically adding comments, which could appear before root), this is a short way to recreate it. Found an older 2008 issue to the same effect, which was closed without resolution. Regards, Marc de Graauw ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=117691&aid=3555299&group_id=17691 |