[xquery-talk] XML prologue

Frank Cohen fcohen at rainingdata.com
Mon Jul 25 14:46:59 PDT 2005

Hi All: My first posting to the talk at xquery.com list. I'm looking  
forward to contributing too.

let $a := <frank/>
let $b :=<?xml version="1.0"?><frank/>

$a works as expected.
$b fails with a lexxing error.

I read the XQuery 4/2005 spec and don't see that this is not allowed  
but the 3 different XQuery processors I ran this on all have a  
problem with it.

What was the reasoning behind disallowing the XML prologue?


Frank Cohen, Raining Data, http://www.RainingData.com, phone: 408 236  
Author of "Java Testing and Design: From Unit Tests to Automated Web  
from Prentice Hall, details at http://thebook.pushtotest.com

More information about the talk mailing list