david: doc/kolab-formats/validation/tests contact1.xml, NONE, 1.1 event1.xml, NONE, 1.1 event2.xml, NONE, 1.1 event3.xml, NONE, 1.1 event4.xml, NONE, 1.1 event5.xml, NONE, 1.1 event6.xml, NONE, 1.1 event7.xml, NONE, 1.1 journal1.xml, NONE, 1.1 note1.xml, NONE, 1.1 task1.xml, NONE, 1.1

cvs at intevation.de cvs at intevation.de
Tue Jun 15 23:11:31 CEST 2004


Author: david

Update of /kolabrepository/doc/kolab-formats/validation/tests
In directory doto:/tmp/cvs-serv28132/tests

Added Files:
	contact1.xml event1.xml event2.xml event3.xml event4.xml 
	event5.xml event6.xml event7.xml journal1.xml note1.xml 
	task1.xml 
Log Message:
Complete RelaxNG schema for the kolab storage format (pending a few answers on the list).
kolablint script to check an xml file against the schema (see inside the script for dependencies)
Small testsuite.


--- NEW FILE: contact1.xml ---
<?xml version="1.0"?>
<contact version="1.0">
	<uid>12345</uid>
	<categories></categories>
	<last-modification-date>2004-06-15T14:45:00</last-modification-date>
	<name>
		<given-name>given name</given-name>
		<prefix>prefix</prefix>
	</name>
	<phone>
		<type>mobile</type>
		<number>funny that this doesn't have to be a number</number>
	</phone>
	<phone>
		<type>car</type>
		<number>12345</number>
	</phone>
	<address>
		<zip>zip</zip>
		<type>other</type>
		<street>street</street>
	</address>
	<preferred-address>
		<zip>zip</zip>
		<country>fr</country>
	</preferred-address>
	<role>role</role>
	<sensitivity>private</sensitivity>
	<creation-date>2004-06-15T14:45:00</creation-date>
	<organization>org</organization>
	<assistant>assistant</assistant>
	<body>My contact</body>
</contact>

--- NEW FILE: event1.xml ---
<?xml version="1.0"?>
<event>
	<body>My event</body>
	<uid>someuid</uid>
	<categories>foobar,barfoo</categories>
	<organizer>
		<display-name>David Faure</display-name>
	</organizer>
	<start-date>2004-06-15T14:45:00</start-date>
	<creation-date>2004-06-15T14:45:00</creation-date>
	<attendee>
		<request-response>false</request-response>
		<invitation-sent>true</invitation-sent>
	</attendee>
	<last-modification-date>2004-06-15T14:45:00</last-modification-date>
	<recurrence cycle="daily">
		<interval>4</interval>
		<range type="none"/>
	</recurrence>
</event>

--- NEW FILE: event2.xml ---
<?xml version="1.0"?>
<event>
	<start-date>2004-06-15T14:45:00</start-date>
	<creation-date>2004-06-15T14:45:00</creation-date>
	<last-modification-date>2004-06-15T14:45:00</last-modification-date>
	<show-time-as>busy</show-time-as>
        <recurrence cycle="weekly">
          <interval>3</interval>
          <day>monday</day>
          <day>thursday</day>
          <range type="number">5</range>
        </recurrence>
	<end-date>2005-02-15T22:03:56</end-date>
	<color-label>color-label123</color-label>
</event>

--- NEW FILE: event3.xml ---
<?xml version="1.0"?>
<event>
	<start-date>2004-06-15T14:45:00</start-date>
	<creation-date>2004-06-15T14:45:00</creation-date>
	<last-modification-date>2004-06-15T14:45:00</last-modification-date>
        <recurrence cycle="weekly">
          <interval>3</interval>
          <day>monday</day>
          <day>thursday</day>
          <range type="number">5</range>
          <exception>2005-05-04</exception>
        </recurrence>
</event>

--- NEW FILE: event4.xml ---
<?xml version="1.0"?>
<event>
	<start-date>2004-06-15T14:45:00</start-date>
	<creation-date>2004-06-15T14:45:00</creation-date>
	<last-modification-date>2004-06-15T14:45:00</last-modification-date>
        <recurrence cycle="monthly" type="daynumber">
          <interval>2</interval>
          <date>3</date>
          <range type="date">2006-06-01</range>
        </recurrence>
</event>

--- NEW FILE: event5.xml ---
<?xml version="1.0"?>
<event>
	<start-date>2004-06-15T14:45:00</start-date>
	<creation-date>2004-06-15T14:45:00</creation-date>
	<last-modification-date>2004-06-15T14:45:00</last-modification-date>
        <recurrence cycle="monthly" type="weekday">
          <interval>6</interval>
          <daynumber>2</daynumber>
          <day>thursday</day>
          <range type="none"/>
          <exception>2005-12-12</exception>
          <exception>2006-06-15</exception>
        </recurrence>
</event>


--- NEW FILE: event6.xml ---
<?xml version="1.0"?>
<event>
	<start-date>2004-06-15T14:45:00</start-date>
	<creation-date>2004-06-15T14:45:00</creation-date>
	<last-modification-date>2004-06-15T14:45:00</last-modification-date>
        <recurrence cycle="yearly" type="monthday">
          <interval>1</interval>
          <date>4</date>
	  <month>6</month> <!---OK?-->
          <range type="date">2005-12-31</range>
        </recurrence>
</event>

--- NEW FILE: event7.xml ---
<?xml version="1.0"?>
<event>
	<start-date>2004-06-15T14:45:00</start-date>
	<creation-date>2004-06-15T14:45:00</creation-date>
	<last-modification-date>2004-06-15T14:45:00</last-modification-date>
        <recurrence cycle="yearly" type="yearday">
          <interval>2</interval>
          <daynumber>125</daynumber>
          <range type="none"/>
        </recurrence>
</event>

--- NEW FILE: journal1.xml ---
<?xml version="1.0"?>
<journal version="1.0">
	<uid>12345</uid>
	<categories></categories>
	<last-modification-date>2004-06-15T14:45:00</last-modification-date>
	<contact>
		<display-name>dn</display-name>
		<email>email</email>
	</contact>
	<sensitivity>private</sensitivity>
	<creation-date>2004-06-15T14:45:00</creation-date>
	<start-date>2004-01-31T22:01:00</start-date>
	<end-date>2004-02-21T02:01:00</end-date>
	<body>My journal</body>
</journal>

--- NEW FILE: note1.xml ---
<?xml version="1.0"?>
<note version="1.0">
	<uid>12345</uid>
	<body>My note</body>
	<creation-date>2004-06-15T14:45:00</creation-date>
	<categories></categories>
	<background-color>#123456</background-color>
	<last-modification-date>2004-06-15T14:45:00</last-modification-date>
	<sensitivity>private</sensitivity>
	<foreground-color>#fabc6d</foreground-color>
	<summary>My note's summary</summary>
</note>

--- NEW FILE: task1.xml ---
<?xml version="1.0"?>
<task>
	<start-date>2004-06-15T14:45:00</start-date>
	<creation-date>2004-06-15T14:45:00</creation-date>
	<last-modification-date>2004-06-15T14:45:00</last-modification-date>
	<priority>5</priority>
	<completed>100</completed>
	<status>deferred</status>
	<due-date>2004-06-15T14:45:00</due-date>
	<parent>parent</parent>
</task>





More information about the commits mailing list