- From: Jacek Kopecky <jacek@systinet.com>
- Date: Wed, 7 Nov 2001 18:55:59 +0100 (CET)
- To: Rich Salz <rsalz@zolera.com>
- cc: <xml-dist-app@w3.org>
Oops, Rich, the offset attribute is only legal on the array itself and specifies the default first position if the first member does not specify its position with enc:position. Attribute enc:offset on a member can be used if the member is an array itself, then it applies to the members of the said member, not to the members of the original array. I agree the text often says "presence of the offset attribute", it implicitly means to add "on the array", it seemed clear to me. Should other disagree it's clear enough, we can add that. 8-) Jacek Kopecky Senior Architect, Systinet (formerly Idoox) http://www.systinet.com/ On Wed, 7 Nov 2001, Rich Salz wrote: > Sorry, I got tired of typing -- originally I had "2 * 2" as the size. > > You can use "offset" at the start of a sequential run of elements, > avoiding the overflow, can't you? In the "2 * 2" case, it would mean > putting an offset attribute on every other item. > > Did you want to allow that type of thing or not? > > New question: can offset ONLY be used to skip leading elements? Can it > skip internal elements, too? Is the following legal (for a > singly-dimensioned array)? > <f><i enc:offset="4">4</i><i>5</i><i enc:offset="8">8</i> > If that isn't legal, then I think the text needs to make the prohibition > more explicit. > /r$ > >
Received on Wednesday, 7 November 2001 12:56:01 UTC