Mercurial > pub > Impl
diff _test/Resources/test.schema @ 49:16ada169ca75
migrating to the Eclipse IDE
author | wizard@linux-odin.local |
---|---|
date | Fri, 26 Feb 2010 10:49:21 +0300 |
parents | 16795016e70b |
children | d1676be8afcc |
line wrap: on
line diff
--- a/_test/Resources/test.schema Fri Feb 26 01:43:42 2010 +0300 +++ b/_test/Resources/test.schema Fri Feb 26 10:49:21 2010 +0300 @@ -1,41 +1,41 @@ -<?xml version="1.0" encoding="utf-8"?> -<schema> - <!-- Директивы --> - <!-- Загрузка фрагмента схемы --> - <Include src="basic.types.schema"/> - - <!-- Определения типов --> - <SimpleType type="DateTime"> - <Regexp>\d{4}-\d{2}-\d{2}((T|\s)\d{2}\:\d{2}:\d{2})?</Regexp> - </SimpleType> - <ComplexType type="Person"> - <NodeSet> - <SimpleNode nodeName="FirstName"/> - <SimpleNode nodeName="LastName"/> - <ComplexNode maxOccur="unbounded" nodeName="Passport" type="Passport"> - <Node nodeName="DateExpire" type="DateTime"/> - <SimpleNode nodeName="Code"/> - </ComplexNode> - </NodeSet> - </ComplexType> - - <!-- Содержимое возможные варианты для документов--> - <ComplexNode nodeName="Form"> - <NodeSet> - <SimpleNode nodeName="FirstName"> - <Regexp>\w+</Regexp> - </SimpleNode> - <SimpleNode nodeName="LastName"> - <Regexp>\w+</Regexp> - </SimpleNode> - <Node nodeName="BirthDate" type="DateTime" /> - <Node nodeName="Email" type="Email" minOccur="0" maxOccur="unbounded" /> - <ComplexNode nodeName="AviaTicket" minOccur="0"> - <Node nodeName="From" type="Airport" control="ListBox" datasource="Airports"/> - <Node nodeName="To" type="Airport" > - <Check op='!=' LVal='nodeValue' RVal="From.nodeValue"/> - </Node> - </ComplexNode> - </NodeSet> - </ComplexNode> -</schema> \ No newline at end of file +<?xml version="1.0" encoding="utf-8"?> +<schema> + <!-- Директивы --> + <!-- Загрузка фрагмента схемы --> + <Include src="basic.types.schema"/> + + <!-- Определения типов --> + <SimpleType type="DateTime"> + <Regexp>\d{4}-\d{2}-\d{2}((T|\s)\d{2}\:\d{2}:\d{2})?</Regexp> + </SimpleType> + <ComplexType type="Person"> + <NodeSet> + <SimpleNode nodeName="FirstName"/> + <SimpleNode nodeName="LastName"/> + <ComplexNode maxOccur="unbounded" nodeName="Passport" type="Passport"> + <Node nodeName="DateExpire" type="DateTime"/> + <SimpleNode nodeName="Code"/> + </ComplexNode> + </NodeSet> + </ComplexType> + + <!-- Содержимое возможные варианты для документов--> + <ComplexNode nodeName="Form"> + <NodeSet> + <SimpleNode nodeName="FirstName"> + <Regexp>\w+</Regexp> + </SimpleNode> + <SimpleNode nodeName="LastName"> + <Regexp>\w+</Regexp> + </SimpleNode> + <Node nodeName="BirthDate" type="DateTime" /> + <Node nodeName="Email" type="Email" minOccur="0" maxOccur="unbounded" /> + <ComplexNode nodeName="AviaTicket" minOccur="0"> + <Node nodeName="From" type="Airport" control="ListBox" datasource="Airports"/> + <Node nodeName="To" type="Airport" > + <Check op='!=' LVal='nodeValue' RVal="From.nodeValue"/> + </Node> + </ComplexNode> + </NodeSet> + </ComplexNode> +</schema>