This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Where is the benefit ? (Was : RE: The hard cocktail of sequence and (node-)set ..)


> Thanks for your thoughts, Jeni & Mike. I was also kind of curious why
> sequences are not allowed to contain other sequences?

I don't actually know the origins of that decision. It was there in the
XQuery data model before the two groups started working together, it almost
certainly comes from Quilt and no doubt has its origins in the academic work
that Quilt was based on. During the time the joint task force has been
working, it hasn't been seriously questioned.

One justification is that if you allow nested lists, you end up with a data
structure very similar to trees, but these are trees that don't translate at
all naturally to XML trees. There's always been an aim to keep the type
system aligned as far as possible with XML and XML Schema.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]