OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

ubl message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [ubl] Extension element children

I am not sure whether you are talking ASN.1 or something else.

But for ASN.1, the extension marker can appear anywhere in a SEQUENCE etc, but 
if it is in the middle, the syntax is (eg):

Fred ::= SEQUENCE {
first	First,
second	Second,
third	Third,
fourth	Fourth}

The next version puts additional elements between the two extension markers.

Please note (you probably already know) that if you want backwards 
compatability, the extension markers have to be present in "version 1",  and you 
cannot move them in "version 2".

John L

Stephen Green wrote:

> Is there any reason why the extension * has * to be at the end of
> the document? The reason I ask is that there may, if so, be an issue
> with further extending the document with minor versions within UBL,
> mightn't there? Such extensions would * have * to be at the end of
> the document - for backwards compatibility. They would therefore
> replace the extension element as the last element in the document.
> I'm hoping the extension element is only placed at the end of the
> document for aesthetic or common practise reasons.
> All the best
> Steve
> ---------------------------------------------------------------------
> To unsubscribe from this mail list, you must leave the OASIS TC that
> generates this mail.  You may a link to this group and all your TCs in OASIS
> at:
> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 

    Prof John Larmouth
    Larmouth T&PDS Ltd
    (Training and Protocol Development Services Ltd)
    1 Blueberry Road
    Bowdon                               j.larmouth@salford.ac.uk
    Cheshire WA14 3LS
    Tel: +44 161 928 1605		Fax: +44 161 928 8069

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]