W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > February 2013

Query about StorageSize, lineBreakType

From: Philip <Philip.Oduffy@ul.ie>
Date: Fri, 22 Feb 2013 12:43:04 +0000
Message-ID: <512767D8.5010901@ul.ie>
To: public-multilingualweb-lt@w3.org
Hey Guys,
    I just have a query about how to handle the StorageSize data 
category. The lineBreakType attribute is meant to be optional, but it 
seems to be expected by default in the expected output files, even if 
the input file has no mention of lineBreakType. Also, according to the 
table in http://www.w3.org/TR/its20/#datacategory-description there are 
not default values for "Storage Size"
Is this correct? Should I be trying to handle the default behavior in 
the datacategories-definition.xml file, like I do with other default 
attributes, or something else?

*Input file (StorageSize2xml.xml):*
   <its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
     <its:storageSizeRule selector="//field" 
storageEncodingPointer="@encoding" storageSizePointer="@max"/>
   <field encoding="ISO-8859-1" id="123" max="25" 
   <field encoding="ISO-8859-1" id="139" max="25" 
type="country">République Dominicaine</field>

*Expected Output:*
/fields/field[1] *lineBreakType="lf"* storageEncoding="ISO-8859-1"    
/fields/field[2] *lineBreakType="lf"* storageEncoding="ISO-8859-1"    

Received on Friday, 22 February 2013 12:43:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:04 UTC