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

 


Help: OASIS Mailing Lists Help | MarkMail Help

s-ramp message

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


Subject: Re: [s-ramp] ordering of elements in our examples


Kurt,

Let's add this as an agenda item at the next meeting.  I think we can quickly make a decision regarding this issue and get it resolved.



    Regards,
    Vince Brunssen
    Senior Software Engineer
    Emerging Technologies
    512-286-5487 (External)
    363-5487 (T/L)

Inactive hide details for Kurt T Stam ---03/13/2012 01:57:54 PM---In our xsds we use 'sequences', stricktly speaking this impliKurt T Stam ---03/13/2012 01:57:54 PM---In our xsds we use 'sequences', stricktly speaking this implies the  order to how our elements appea


    From:

Kurt T Stam <kstam@redhat.com>

    To:

"s-ramp@lists.oasis-open.org" <s-ramp@lists.oasis-open.org>,

    Date:

03/13/2012 01:57 PM

    Subject:

[s-ramp] ordering of elements in our examples

    Sent by:

<s-ramp@lists.oasis-open.org>




In our xsds we use 'sequences', stricktly speaking this implies the order to how our elements appear. We don't seem to use this ordering in the XML fragments. Do we care to fix the element order in the examples?

--Kurt

for example look at the '
importedXsds' element in the fragments below 

    <s-ramp:artifact xsi:schemaLocation="http://s-ramp.org/xmlns/2010/s-ramp

    http://s-ramp.org/2010/specification/schemas/xsdmodel.xsd"

    xmlns:s-ramp="http://s-ramp.org/xmlns/2010/s-ramp"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <s-ramp:XsdDocument name=”accountingTypes.xsd”

    description=”accountingTypes.xsd”

    createdBy="Bellwood" version="1.0"

    uuid="aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6a"

    createdTimestamp="2009-05-26T13:13:55.013+02:00"

    lastModifiedTimestamp="2009-06-26T13:13:55.013+02:00"

    lastModifiedBy="Pospisil" contentEncoding="UTF-8"

    contentType=“application/xml” contentSize="4096" >

    <s-ramp:classifiedBy>

    http://example.org/ontologies/accounting.owl/accounts

    </s-ramp:classifiedBy>

    <!-- Example of the “importedXsds” Derived relationship -->

    <s-ramp:importedXsds>

    <s-ramp:target xlink:href="">http://example.org/s-ramp/xsd/XsdDocument/

    aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6b”>

    aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6b

    </s-ramp:target>

    </s-ramp:importedXsds>

    <!—

    Example of a user created generic relationship called “similarXsds”

    between this xsd artifact and two others with UUID values of “...a6b”

    and “...a6c”), respectively:

    -->

    <s-ramp:relationship>

    <s-ramp:relationshipType>similarXsds</s-ramp:relationshipType>

    <s-ramp:relationshipTarget>

    <s-ramp:target xlink:href="">http://example.org/s-ramp/xsd/XsdDocument/

    aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6b”>

    aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6b

    </s-ramp:target>

    </s-ramp:relationshipTarget>

    <s-ramp:relationshipTarget>

    <s-ramp:target xlink:href="">http://example.org/s-ramp/xsd/XsdDocument/

    aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6c”>

    aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6c

    </s-ramp:target>

    </s-ramp:relationshipTarget>

    </s-ramp:relationship>

    <s-ramp:property>

    <propertyName>myPropertyName</propertyName>

    <propertyValue>myPropertyValue</propertyValue>

    </s-ramp:property>

    </s-ramp:XsdDocument>

    </s-ramp:artifact>




should be

<artifact xsi:schemaLocation=
"http://s-ramp.org/xmlns/2010/s-ramp/xsdmodel.xsd" 
                  xmlns:s-ramp=
"http://s-ramp.org/xmlns/2010/s-ramp"
                  xmlns:xlink=
"http://www.w3.org/1999/xlink"
                  xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">
   <s-ramp:XsdDocument name="accountingTypes.xsd"
                       description="accountingTypes.xsd"
                       createdBy="Bellwood" version="1.0"
                       uuid="aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6a"
                       createdTimestamp="2009-05-26T13:13:55.013+02:00"
                       lastModifiedTimestamp="2009-06-26T13:13:55.013+02:00"
                       lastModifiedBy="Pospisil" contentEncoding="UTF-8"
                       contentType="application/xml" contentSize="4096" >
       <s-ramp:classifiedBy>
http://example.org/ontologies/accounting.owl/accounts</s-ramp:classifiedBy>
       <s-ramp:relationship>
           <s-ramp:relationshipType>similarXsds</s-ramp:relationshipType>
           <s-ramp:relationshipTarget xlink:href="">
"http://example.org/s-ramp/xsd/XsdDocument/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6b">aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6b</s-ramp:relationshipTarget>
           <s-ramp:relationshipTarget xlink:href="">
"http://example.org/s-ramp/xsd/XsdDocument/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6c">aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6c</s-ramp:relationshipTarget>
       </s-ramp:relationship>
       <s-ramp:property>
           <s-ramp:propertyName>myPropertyName</s-ramp:propertyName>
           <s-ramp:propertyValue>myPropertyValue</s-ramp:propertyValue>
       </s-ramp:property>
       <s-ramp:importedXsds xlink:href="">
"http://example.org/s-ramp/xsd/XsdDocument/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6b">aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaa6b</s-ramp:importedXsds>
   </s-ramp:XsdDocument>
</artifact>



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