[Bug 5181] xml:base intended to replace smlif:baseURI only

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5181


popescu@ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|editorial                   |needsReview




------- Comment #7 from popescu@ca.ibm.com  2008-01-25 18:17 -------
See below details on applied changes. Open attached documents to diff against
the Jan 15 spec version
Sandy, please check if I captured your request under comment #6 (..would help
to have a conceptual alias..); more likely not covered since I wasn't able to
completely parse the request :) If this is not covered can you please add more
information on what exactly you want to see added to the spec

Updated smlif.xsd and SML-IF spec :

1. smlif spec

Created 3 new sections under 5.3.2 Document aliases 

- 5.3.2.1 smlif:baseURI
- 5.3.2.2 smlif:primaryAlias
- 5.3.2.3 Document alias processing

http://dev.w3.org/cvsweb/~checkout~/2007/xml/sml/build/sml-if.html?content-type=text/html;%20charset=utf-8#Document_aliases

I have updated a few other sections; see attached docs for a diff ( doc and
html ). Created against the Jan 15 spec content.

2. smlif.xsd

Created a new element, baseURI as a child of the identity element:

  <xs:complexType name="identityType">
    <xs:sequence>
      <xs:element name="name" type="smlif:uriType"/>
      <xs:element name="version" type="smlif:tokenType" minOccurs="0"/>
      <xs:element name="displayName" type="smlif:displayType" minOccurs="0"/>
      <xs:element name="description" type="smlif:displayType" minOccurs="0"/>
 >>>>    <xs:element name="baseURI" type="smlif:uriType" minOccurs="0"
maxOccurs="1"/>            
      <xs:any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:anyAttribute namespace="##other" processContents="lax"/>
  </xs:complexType>


Added a new type for alias and defined an optional primaryAlias attribute

  <xs:complexType name="aliasType">
    <xs:complexContent>
        <xs:extension base="smlif:uriType">
                <xs:attribute name="primaryAlias" type="xs:boolean"
use="optional"/>
        </xs:extension>
    </xs:complexContent>  
  </xs:complexType>

Aliases type updated to refer to this new type:

  <xs:element name="aliases" type="smlif:aliasCollectionType"/>
  <xs:complexType name="aliasCollectionType">
    <xs:sequence>
      <xs:element name="alias" type="smlif:aliasType" maxOccurs="unbounded"/>
      <xs:any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:anyAttribute namespace="##other" processContents="lax"/>
  </xs:complexType>

Received on Friday, 25 January 2008 18:17:15 UTC