OASIS Open Document Format for Office Applications (OpenDocument) TC

 View Only

RE: [office] xsd:language datatype

  • 1.  RE: [office] xsd:language datatype

    Posted 10-31-2005 16:46
     MHonArc v2.5.0b2 -->
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    office message

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


    Subject: RE: [office] xsd:language datatype


    I want to ask a major question, perhaps a bit disruptive.
    
    Has anyone ever discussed migrating ODF to W3C Schema from RELAX NG?
    
    Duane
    
    -----Original Message-----
    From: Michael Brauer - Sun Germany - ham02 - Hamburg
    [mailto:Michael.Brauer@Sun.COM] 
    Sent: Monday, October 31, 2005 6:07 AM
    To: office@lists.oasis-open.org
    Subject: [office] xsd:language datatype
    
    Hi all,
    
    as agreed in the last con call, I've checked the 2nd revision of the XSD
    
    datatypes recommendation
    
    http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/
    
    for changes that may effect the OpenDocument specification, that
    references 
    the first revision of the  XSD datatypes recommendation:
    
    http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/
    
    
    The only change I've found (at least so far) that effects OpenDocument
    is the 
    definion of the language datatye in section 3.3.3. It is now based on
    RFC3066 
    rather than RFC1766.
    
    OpenDocument currently has an user defined language data type, which is 
    specified to be the same as the xsd datatype, except that it is based on
    
    RFC3066 rather than RFC1766.
    
    I therefore propose that we reference the 2nd XSD datatype specification
    in 
    the future, and that we replace the definition of the "language" define
    which 
    currently is
    
    <define name="language">
    	<data type="token">
    		<param
    name="pattern">[A-Za-z]{1,8}(-[A-Za-z0-9]{1,8})*</param>
    	</data>
    </define>
    
    with
    
    <define name="language">
    	<data type="language"/>
    </define>
    
    Michael
    
    ---------------------------------------------------------------------
    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 
    
    


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