Changeset 3570

Show
Ignore:
Timestamp:
06/25/12 23:17:27
Author:
douglm
Message:

MUST define x-props as string bacause of their encoding.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/config/bwbuild/.defaults/schema.xml

    r3569 r3570  
    1515 See the License for the specific language governing permissions and 
    1616 limitations under the License. 
     17--> 
     18 
     19<!--   
     20Bedework notes: 
     21 
     22Some of the fields defined below are indexed or stored versions of x-properties. 
     23These are stored by separating the parameters and value with a tab character. 
     24 
     25These fields MUST be stored as string values - even if the value is numeric. 
     26 
     27If you wish to store/index a numeric x-property as a numeric value you will 
     28need to treat that x-property specially in the implementation of the  
     29bedework indexer. 
     30 
     31We could generalize that by adding more flags to the list of interesting  
     32x-props. 
    1733--> 
    1834 
     
    950966   <!-- Event reg fields --> 
    951967    
    952    <field name="eventreg_max_tickets" type="long" stored="true"/> 
    953    <field name="eventreg_max_tickets_per_user" type="long" stored="true"/> 
     968   <field name="eventreg_max_tickets" type="string" stored="true"/> 
     969   <field name="eventreg_max_tickets_per_user" type="string" stored="true"/> 
    954970   <field name="eventreg_start" type="string" stored="true"/> 
    955971   <field name="eventreg_end" type="string" stored="true"/>