xsddoc/samples/ruleml nafnegdatalog.xsd,1.1,1.2 urequalog.xsd,1.1,1.2 nafdatalog.xsd,1.1,1.2 negdatalog.xsd,1.1,1.2 urhornlog.xsd,1.1,1.2 urdatalog.xsd,1.1,1.2 hornlog.xsd,1.1,1.2

Kurt Riede <[email protected]>
Newsgroups gmane.text.xml.xframe.xsddoc.devel
Message-ID <[email protected]>
Update of /cvsroot/xframe/xsddoc/samples/ruleml
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25313/samples/ruleml

Modified Files:
	nafnegdatalog.xsd urequalog.xsd nafdatalog.xsd negdatalog.xsd 
	urhornlog.xsd urdatalog.xsd hornlog.xsd 
Log Message:
new sample: ruleML

Index: urhornlog.xsd
===================================================================
RCS file: /cvsroot/xframe/xsddoc/samples/ruleml/urhornlog.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** urhornlog.xsd	30 Aug 2004 07:05:48 -0000	1.1
--- urhornlog.xsd	15 Sep 2004 15:17:23 -0000	1.2
***************
*** 22,51 ****
  			'href' is added to rel's list of attributes
  		-->
- <!--
  		<xs:attributeGroup name="rel.attlist">
  			<xs:attributeGroup ref="rel.attlist"/>
  			<xs:attributeGroup ref="href.attrib"/>
  		</xs:attributeGroup>	
- -->
  
  		<!--
  			'href' is added to ind's list of attributes
  		-->
- <!--
  		<xs:attributeGroup name="ind.attlist">
  			<xs:attributeGroup ref="ind.attlist"/>
  			<xs:attributeGroup ref="href.attrib"/>
  		</xs:attributeGroup>	
- -->
  
  		<!--
  			'href' is added to ctor's list of attributes
  		-->		
- <!--
  		<xs:attributeGroup name="ctor.attlist">
  			<xs:attributeGroup ref="ctor.attlist"/>
  			<xs:attributeGroup ref="href.attrib"/>
  		</xs:attributeGroup>			
- -->
  	</xs:redefine>
  	
--- 22,45 ----

Index: urequalog.xsd
===================================================================
RCS file: /cvsroot/xframe/xsddoc/samples/ruleml/urequalog.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** urequalog.xsd	30 Aug 2004 07:05:48 -0000	1.1
--- urequalog.xsd	15 Sep 2004 15:17:23 -0000	1.2
***************
*** 23,62 ****
  			'href' is added to rel's list of attributes
  		-->
- <!--
  		<xs:attributeGroup name="rel.attlist">
  			<xs:attributeGroup ref="rel.attlist"/>
  			<xs:attributeGroup ref="href.attrib"/>
  		</xs:attributeGroup>	
- -->
  
  		<!--
  			'href' is added to ind's list of attributes
  		-->
- <!--
  		<xs:attributeGroup name="ind.attlist">
  			<xs:attributeGroup ref="ind.attlist"/>
  			<xs:attributeGroup ref="href.attrib"/>
  		</xs:attributeGroup>	
- -->
  		
  		<!--
  			'href' is added to ctor's list of attributes
  		-->
- <!--
  		<xs:attributeGroup name="ctor.attlist">
  			<xs:attributeGroup ref="ctor.attlist"/>
  			<xs:attributeGroup ref="href.attrib"/>
  		</xs:attributeGroup>	
- -->
  		
  		<!--
  			'href' is added to fun's list of attributes
  		-->
- <!--
  		<xs:attributeGroup name="fun.attlist">
  			<xs:attributeGroup ref="fun.attlist"/>
  			<xs:attributeGroup ref="href.attrib"/>
  		</xs:attributeGroup>					
- -->
  	</xs:redefine>
  	
--- 23,54 ----

Index: nafnegdatalog.xsd
===================================================================
RCS file: /cvsroot/xframe/xsddoc/samples/ruleml/nafnegdatalog.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** nafnegdatalog.xsd	30 Aug 2004 07:05:48 -0000	1.1
--- nafnegdatalog.xsd	15 Sep 2004 15:17:23 -0000	1.2
***************
*** 21,25 ****
  			(atom | neg)
  		-->
- <!--
  		<xs:group name="naf.content">
  			<xs:choice>
--- 21,24 ----
***************
*** 28,32 ****
  			</xs:choice>
  		</xs:group>
- -->
  	</xs:redefine>
  	<!--
--- 27,30 ----
***************
*** 40,44 ****
  			(atom | neg)
  		-->
- <!--
  		<xs:group name="_head.content">
  			<xs:choice>
--- 38,41 ----
***************
*** 47,56 ****
  			</xs:choice>
  		</xs:group>
- -->
  		<!--
  			add 'naf' and 'neg' so that _body's content model is:
  			(atom | and | or | neg | naf)
  		-->
- <!--
  		<xs:group name="_body.content">
  			<xs:choice>
--- 44,51 ----
***************
*** 60,69 ****
  			</xs:choice>
  		</xs:group>	
- -->
  		<!--
  			add 'naf' and 'neg' so that and's content model is:
  			((atom | or | naf | neg)*)
  		-->
- <!--
  		<xs:group name="and.content">
  			<xs:choice>
--- 55,62 ----
***************
*** 73,82 ****
  			</xs:choice>
  		</xs:group>
- -->
  		<!--
  			add 'naf' and 'neg' so that or's content model is:
  			((atom | and | naf | neg)*)
  		-->		
- <!--
  		<xs:group name="or.content">
  			<xs:choice>
--- 66,73 ----
***************
*** 86,90 ****
  			</xs:choice>
  		</xs:group>			
- -->
  	</xs:redefine>
  	
--- 77,80 ----

Index: negdatalog.xsd
===================================================================
RCS file: /cvsroot/xframe/xsddoc/samples/ruleml/negdatalog.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** negdatalog.xsd	30 Aug 2004 07:05:48 -0000	1.1
--- negdatalog.xsd	15 Sep 2004 15:17:23 -0000	1.2
***************
*** 25,29 ****
  			(atom | neg)
  		-->
- <!--
  		<xs:group name="_head.content">
  			<xs:choice>
--- 25,28 ----
***************
*** 32,36 ****
  			</xs:choice>
  		</xs:group>
- -->
  
  		<!--
--- 31,34 ----
***************
*** 38,42 ****
  			(atom | and | or | neg)
  		-->
- <!--
  		<xs:group name="_body.content">
  			<xs:choice>
--- 36,39 ----
***************
*** 45,49 ****
  			</xs:choice>
  		</xs:group>	
- -->
  
  		<!--
--- 42,45 ----
***************
*** 51,55 ****
  			((atom | or | neg)*)
  		-->
- <!--
  		<xs:group name="and.content">
  			<xs:choice>
--- 47,50 ----
***************
*** 58,62 ****
  			</xs:choice>
  		</xs:group>	
- -->
  
  		<!--
--- 53,56 ----
***************
*** 64,68 ****
  			((atom | and | neg)*)
  		-->			
- <!--
  		<xs:group name="or.content">
  			<xs:choice>
--- 58,61 ----
***************
*** 71,75 ****
  			</xs:choice>
  		</xs:group>			
- -->
  	</xs:redefine>
  	
--- 64,67 ----

Index: hornlog.xsd
===================================================================
RCS file: /cvsroot/xframe/xsddoc/samples/ruleml/hornlog.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** hornlog.xsd	30 Aug 2004 07:05:48 -0000	1.1
--- hornlog.xsd	15 Sep 2004 15:17:23 -0000	1.2
***************
*** 1,11 ****
  <?xml version="1.0" encoding="UTF-8"?>
! <xs:schema 
! targetNamespace="http://www.ruleml.org/0.86/xsd" 
! xmlns="http://www.ruleml.org/0.86/xsd"
! xmlns:xs="http://www.w3.org/2001/XMLSchema"
! >
! 
! 	<xs:annotation>
! 		<xs:documentation xml:lang="en">
  			XML Schema for a Horn-Logic RuleML sublanguage
  			File: hornlog.xsd
--- 1,6 ----
  <?xml version="1.0" encoding="UTF-8"?>
! <xs:schema targetNamespace="http://www.ruleml.org/0.86/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ruleml.org/0.86/xsd">
!   <xs:annotation>
!     <xs:documentation xml:lang="en">
  			XML Schema for a Horn-Logic RuleML sublanguage
  			File: hornlog.xsd
***************
*** 13,28 ****
  			Last Modification: 2004-06-24
  		</xs:documentation>
! 	</xs:annotation>
! 	
! 	<!-- hornlog includes the 'cterm' module -->
! 	<xs:include schemaLocation="modules/cterm_module.xsd"/>
! 
! 	<!-- note the addition of c(omplex )terms and (com)plexs from the cterm module -->
! 	<xs:redefine schemaLocation="datalog.xsd">
! 		<!--
  			add cterms to rulebase labels so that _rbaselab's content model is:
  			(ind | cterm)
  		-->
- <!--
  		<xs:group name="_rbaselab.content">
  			<xs:choice>
--- 8,20 ----
  			Last Modification: 2004-06-24
  		</xs:documentation>
!   </xs:annotation>
!   <!-- hornlog includes the 'cterm' module -->
!   <xs:include schemaLocation="modules/cterm_module.xsd"/>
!   <!-- note the addition of c(omplex )terms and (com)plexs from the cterm module -->
!   <xs:redefine schemaLocation="datalog.xsd">
!     <!--
  			add cterms to rulebase labels so that _rbaselab's content model is:
  			(ind | cterm)
  		-->
  		<xs:group name="_rbaselab.content">
  			<xs:choice>
***************
*** 31,40 ****
  			</xs:choice>
  		</xs:group>
! -->
! 		<!--
  			add cterms to rule labels so that _rlab's content model is:
  			(ind | cterm)
  		-->
- <!--
  		<xs:group name="_rlab.content">
  			<xs:choice>
--- 23,30 ----
  			</xs:choice>
  		</xs:group>
!     <!--
  			add cterms to rule labels so that _rlab's content model is:
  			(ind | cterm)
  		-->
  		<xs:group name="_rlab.content">
  			<xs:choice>
***************
*** 43,53 ****
  			</xs:choice>
  		</xs:group>
! -->
! 		<!--
  			add cterms and plexs so that atom's content model is:
  			(  ( _opr, (_slot)*, (ind | var | cterm | plex)*, (_slot)* ) |
                             ( (_slot)*, (ind | var | cterm | plex)+, (_slot)*, _opr )  )
  		-->
- <!--
  		<xs:group name="atom.extend">
  			<xs:sequence>
--- 33,41 ----
  			</xs:choice>
  		</xs:group>
!     <!--
  			add cterms and plexs so that atom's content model is:
  			(  ( _opr, (_slot)*, (ind | var | cterm | plex)*, (_slot)* ) |
                             ( (_slot)*, (ind | var | cterm | plex)+, (_slot)*, _opr )  )
  		-->
  		<xs:group name="atom.extend">
  			<xs:sequence>
***************
*** 59,68 ****
  			</xs:sequence>	
  		</xs:group>	
! -->
! 		<!--
  			add cterms and plexs so that _slot's content model is:
  			(ind | var | cterm | plex)
  		-->
- <!--
  		<xs:group name="_slot.content">
  			<xs:choice>
--- 47,54 ----
  			</xs:sequence>	
  		</xs:group>	
!     <!--
  			add cterms and plexs so that _slot's content model is:
  			(ind | var | cterm | plex)
  		-->
  		<xs:group name="_slot.content">
  			<xs:choice>
***************
*** 72,78 ****
  			</xs:choice>
  		</xs:group>	
! -->
! 	</xs:redefine>
! 
! 
  </xs:schema>
--- 58,61 ----
  			</xs:choice>
  		</xs:group>	
!   </xs:redefine>
  </xs:schema>

Index: nafdatalog.xsd
===================================================================
RCS file: /cvsroot/xframe/xsddoc/samples/ruleml/nafdatalog.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** nafdatalog.xsd	30 Aug 2004 07:05:48 -0000	1.1
--- nafdatalog.xsd	15 Sep 2004 15:17:23 -0000	1.2
***************
*** 25,29 ****
  			(atom | and | or | naf)
  		-->
- <!--
  		<xs:group name="_body.content">
  			<xs:choice>
--- 25,28 ----
***************
*** 32,41 ****
  			</xs:choice>
  		</xs:group>	
- -->
  		<!--
  			add 'naf' so that and's content model is:
  			((atom | or | naf)*)
  		-->
- <!--
  		<xs:group name="and.content">
  			<xs:choice>
--- 31,38 ----
***************
*** 44,53 ****
  			</xs:choice>
  		</xs:group>	
- -->
  		<!--
  			add 'naf' so that or's content model is:
  			((atom | and | naf)*)
  		-->		
- <!--
  		<xs:group name="or.content">
  			<xs:choice>
--- 41,48 ----
***************
*** 56,60 ****
  			</xs:choice>
  		</xs:group>			
- -->
  	</xs:redefine>
  	
--- 51,54 ----

Index: urdatalog.xsd
===================================================================
RCS file: /cvsroot/xframe/xsddoc/samples/ruleml/urdatalog.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** urdatalog.xsd	30 Aug 2004 07:05:48 -0000	1.1
--- urdatalog.xsd	15 Sep 2004 15:17:23 -0000	1.2
***************
*** 22,40 ****
  			'href' is added to rel's list of attributes
  		-->
- <!--
  		<xs:attributeGroup name="rel.attlist">
  			<xs:attributeGroup ref="rel.attlist"/>
  			<xs:attributeGroup ref="href.attrib"/>
  		</xs:attributeGroup>		
- -->
  		<!--
  			'href' is added to ind's list of attributes
  		-->
- <!--
  		<xs:attributeGroup name="ind.attlist">
  			<xs:attributeGroup ref="ind.attlist"/>
  			<xs:attributeGroup ref="href.attrib"/>
  		</xs:attributeGroup>	
- -->
  	</xs:redefine>
  	
--- 22,36 ----



-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.