From: Marcin MiÅk. <mil...@us...> - 2010-03-30 01:17:14
|
Update of /cvsroot/languagetool/JLanguageTool/src/rules In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv22954/src/rules Modified Files: pattern.xsd rules.xsd Added Files: bitext.xsd Log Message: start work on bitext rules, prepare xml schema Index: pattern.xsd =================================================================== RCS file: /cvsroot/languagetool/JLanguageTool/src/rules/pattern.xsd,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pattern.xsd 28 Mar 2010 02:20:54 -0000 1.1 +++ pattern.xsd 30 Mar 2010 01:17:06 -0000 1.2 @@ -105,8 +105,8 @@ <xs:documentation xml:lang="en">Reference to the pattern element. Might be used in a suggestion or in the pattern.</xs:documentation> </xs:annotation> - <xs:element name="match"> - <xs:complexType mixed="true"> + <xs:element name="match"> + <xs:complexType mixed="true"> <xs:attribute name="regexp_match" type="xs:string" use="optional" /> <xs:attribute name="postag_regexp" type="binaryYesNo" use="optional" default="no" /> @@ -134,8 +134,8 @@ </xs:complexType> </xs:element> - <xs:element name="token"> - <xs:complexType mixed="true"> + <xs:element name="token"> + <xs:complexType mixed="true"> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="exception" /> <xs:element ref="match" /> @@ -170,7 +170,6 @@ </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en"> Enables logical AND between token elements. </xs:documentation> @@ -189,7 +188,7 @@ </xs:annotation> <xs:element name="exception"> - <xs:complexType mixed="true"> + <xs:complexType mixed="true"> <xs:attribute name="postag_regexp" type="binaryYesNo" use="optional" default="no" /> <xs:attribute name="negate_pos" type="binaryYesNo" use="optional" default="no" /> @@ -276,4 +275,13 @@ </xs:restriction> </xs:simpleType> + <xs:annotation> + <xs:documentation xml:lang="en"> Marks the matched part of + the example. + </xs:documentation> + </xs:annotation> + <xs:element name="marker"> + <xs:complexType mixed="true" /> + </xs:element> + </xs:schema> \ No newline at end of file Index: rules.xsd =================================================================== RCS file: /cvsroot/languagetool/JLanguageTool/src/rules/rules.xsd,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- rules.xsd 28 Mar 2010 02:20:54 -0000 1.7 +++ rules.xsd 30 Mar 2010 01:17:06 -0000 1.8 @@ -182,7 +182,7 @@ suggestions are joined with "|". The attribute triggers_error is not used. -</xs:documentation> + </xs:documentation> </xs:annotation> <xs:element name="example" xml:space="preserve"> @@ -197,21 +197,12 @@ <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="correct" /> <xs:enumeration value="incorrect" /> - <xs:enumeration value="triggers_error" /> + <xs:enumeration value="triggers_error" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="reason" type="xs:string" use="optional" /> </xs:complexType> </xs:element> - - - <xs:annotation> - <xs:documentation xml:lang="en"> Marks the matched part of - the example. </xs:documentation> - </xs:annotation> - <xs:element name="marker"> - <xs:complexType mixed="true" /> - </xs:element> </xs:schema> --- NEW FILE: bitext.xsd --- (This appears to be a binary file; contents omitted.) |