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


Help: OASIS Mailing Lists Help | MarkMail Help

rights-examples message

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

Subject: [rights-examples] ln001: use case with markup for review

There are two files below: ln001.xml, which implements the use case with
markup conforming to XrML 2.1 plus the extension that Thomas suggested in an
e-mail, and corePlusProp.xsd, which incorporates that new element into the
larger XrML schema. (Being an old SGML guy, I don't want any markup to leave
my machine until I've seen it validate.) The beginning and end of each of
the two files is identified with a comment. The two files are pretty short.

I'm going to post each of my examples like this as I finish the markup. If
there are no suggestions for improving the markup, I will see about posting
them on the RLTC's web site.

I want to see use cases plus markup from someone besides me posted!


<!-- beginning of ln001.xml -->

<r:license xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
           xsi:schemaLocation="urn:PROPOSED-FOR-RL corePlusProp.xsd"


scenario ln001

This article and all of its components may be viewed by any customer until
February 1, 2003. From 2/2/03 to 5/1/03, only customers belonging to
class"c10012" (e.g. who paid extra for a particular collection of services)
may view it. After 5/1/03, only accounts from customer class "c104033" may
view it.




    <dcx:play/> <!-- "render the work in a transient form" i.e. read it -->




    <r:forAll varName="c10012"> 
         <proposed:principalClass ID="http://www.foo.com/ns/c10012"/> 

    <r:principal varRef="c10012"/> 





    <r:forAll varName="c104033"> 
         <proposed:principalClass ID="http://www.foo.com/ns/c104033"/> 

    <r:principal varRef="c104033"/> 





<!-- end of ln001.xml -->

<!--  Beginning of corePlusProp.xsd  -->

<!-- Following used for DTD-driven schema creation. -->
<!DOCTYPE xs:schema SYSTEM "\dat\xml\schemapt1.dtd">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";

  <xs:import schemaLocation="xrml2core.xsd"

  <xs:element name="principalClass" substitutionGroup="r:propertyAbstract">

         <xs:documentation>Identifies a class of principals
         to whom rights are being granted.</xs:documentation>

        <xs:extension base="r:PropertyAbstract">
          <xs:attribute name="ID" type="xs:anyURI"/>



<!--  end of corePlusProp.xsd  -->

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

Powered by eList eXpress LLC