[xquery-talk] Re: Attribute node whose parent is a document node

Wolfgang Hoschek whoschek at lbl.gov
Thu Jul 7 15:27:19 PDT 2005


On Jul 7, 2005, at 2:17 PM, Pierrick Brihaye wrote:

> Hi,
>
> Wolfgang Hoschek a écrit :
>
>
>> The issue can be simplified to these two cases:
>> let $a := <county name="Devon"/>
>> return $a/@name (: W3C spec says top-level attributes can't be   
>> serialized :)
>>
>
> OK. I can understand that (perhaps more on this tomorrow ;-).
>
> My problem is that the error message was returned by :
>
> root/county/district/town
> or
> root/county/district/town/town
>
> At least 3 parents, uh ?
>
> I may be missing something obvious, but what ?
>
> Cheers,
>
> p.b.
>

Perhaps you are confusing which tests worked and which didn't. Could  
you retry?
Regards,
Wolfgang.


More information about the talk mailing list