You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by jo...@apache.org on 2004/04/18 21:16:10 UTC

cvs commit: ws-jaxme/src/test/jaxb build.xml rss.xsd

jochen      2004/04/18 12:16:10

  Modified:    src/test/jaxb build.xml rss.xsd
  Log:
  Added rss schema
  
  Revision  Changes    Path
  1.8       +2 -0      ws-jaxme/src/test/jaxb/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/ws-jaxme/src/test/jaxb/build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.xml	5 Feb 2004 10:54:09 -0000	1.7
  +++ build.xml	18 Apr 2004 19:16:10 -0000	1.8
  @@ -88,6 +88,7 @@
         <schema dir="${basedir}" includes="*.xsd">
           <exclude name="enumeration.xsd"/>
           <exclude name="wildcards.xsd"/>
  +        <exclude name="rss.xsd"/>
         </schema>
         <produces dir="${srcdir}" includes="org/apache/ws/jaxme/test/misc/address/*"/>
         <produces dir="${srcdir}" includes="org/apache/ws/jaxme/test/misc/defaults/*"/>
  @@ -100,6 +101,7 @@
         <schema dir="${basedir}">
           <include name="enumeration.xsd"/>
           <include name="wildcards.xsd"/>
  +        <include name="rss.xsd"/>
         </schema>
         <produces dir="${srcdir}" includes="org/apache/ws/jaxme/test/misc/enumeration/*"/>
         <produces dir="${srcdir}" includes="org/apache/ws/jaxme/test/misc/wildcards/*"/>
  
  
  
  1.3       +53 -50    ws-jaxme/src/test/jaxb/rss.xsd
  
  Index: rss.xsd
  ===================================================================
  RCS file: /home/cvs/ws-jaxme/src/test/jaxb/rss.xsd,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- rss.xsd	7 Feb 2004 21:59:18 -0000	1.2
  +++ rss.xsd	18 Apr 2004 19:16:10 -0000	1.3
  @@ -1,62 +1,65 @@
   <?xml version='1.0'?>
   <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
       xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
  +    xmlns:jm="http://ws.apache.org/jaxme/namespaces/jaxme2"
       jaxb:version="1.0">
     <xs:annotation><xs:appinfo>
  -    <jaxb:schemaBindings><jaxb:package name="org.apache.ws.jaxme.test.misc.rss"/></jaxb:schemaBindings>
  +    <jaxb:schemaBindings>
  +      <jaxb:package name="org.apache.ws.jaxme.test.misc.rss"/>
  +    </jaxb:schemaBindings>
     </xs:appinfo></xs:annotation>
     <xs:element name="rss">
       <xs:complexType>
         <xs:sequence>
  -	<xs:element name="channel">
  -	  <xs:complexType>
  -	    <xs:choice minOccurs="0" maxOccurs="unbounded">
  -	      <xs:element name="title" type="xs:string"/>
  -	      <xs:element name="description" type="xs:string"/>
  -	      <xs:element name="link" type="xs:string"/>
  -	      <xs:element name="language" type="xs:string"/>
  -	      <xs:element name="item" maxOccurs="unbounded">
  -	        <xs:complexType>
  -		  <xs:choice minOccurs="0" maxOccurs="unbounded">
  -		    <xs:element name="title" type="xs:string"/>
  -		    <xs:element name="link" type="xs:string"/>
  -	            <xs:element name="description" type="xs:string"/>
  -		  </xs:choice>
  -	        </xs:complexType>
  -	      </xs:element>
  -	      <xs:element name="rating" minOccurs="0" type="xs:string"/>
  -	      <xs:element name="image" minOccurs="0">
  -	        <xs:complexType>
  -	          <xs:choice minOccurs="0" maxOccurs="unbounded">
  -		    <xs:element name="title" type="xs:string"/>
  -		    <xs:element name="url" type="xs:string"/>
  -		    <xs:element name="link" type="xs:string"/>
  -		    <xs:element name="width" type="xs:string"/>
  -		    <xs:element name="height" type="xs:string"/>
  -		    <xs:element name="description" type="xs:string"/>
  -		  </xs:choice>
  -		</xs:complexType>
  -	      </xs:element>
  -	      <xs:element name="textinput" minOccurs="0">
  -	        <xs:complexType>
  -	          <xs:choice minOccurs="0" maxOccurs="unbounded">
  -		    <xs:element name="title" type="xs:string"/>
  -		    <xs:element name="description" type="xs:string"/>
  -		    <xs:element name="name" type="xs:string"/>
  -		    <xs:element name="link" type="xs:string"/>
  -		  </xs:choice>
  -		</xs:complexType>
  -	      </xs:element>
  -	      <xs:element name="copyright" minOccurs="0" type="xs:string"/>
  -	      <xs:element name="pubDate" minOccurs="0" type="xs:string"/>
  -	      <xs:element name="lastBuildDate" minOccurs="0" type="xs:string"/>
  -	      <xs:element name="docs" minOccurs="0" type="xs:string"/>
  -	      <xs:element name="managingEditor" minOccurs="0" type="xs:string"/>
  -	      <xs:element name="webMaster" minOccurs="0" type="xs:string"/>
  -	      <xs:element name="skipHours" minOccurs="0" type="xs:string"/>
  -	      <xs:element name="skipDays" minOccurs="0" type="xs:string"/>
  -	    </xs:choice>
  -	  </xs:complexType>
  +        <xs:element name="channel">
  +          <xs:complexType>
  +	        <xs:choice minOccurs="0" maxOccurs="unbounded">
  +	          <xs:element name="title" type="xs:string"/>
  +	          <xs:element name="description" type="xs:string"/>
  +	          <xs:element name="link" type="xs:string"/>
  +	          <xs:element name="language" type="xs:string"/>
  +	          <xs:element name="item" maxOccurs="unbounded">
  +	            <xs:complexType>
  +		          <xs:choice minOccurs="0" maxOccurs="unbounded">
  +		            <xs:element name="title" type="xs:string"/>
  +		            <xs:element name="link" type="xs:string"/>
  +	                <xs:element name="description" type="xs:string"/>
  +		          </xs:choice>
  +	            </xs:complexType>
  +	          </xs:element>
  +	          <xs:element name="rating" minOccurs="0" type="xs:string"/>
  +	          <xs:element name="image" minOccurs="0">
  +	            <xs:complexType>
  +	              <xs:choice minOccurs="0" maxOccurs="unbounded">
  +		            <xs:element name="title" type="xs:string"/>
  +		            <xs:element name="url" type="xs:string"/>
  +		            <xs:element name="link" type="xs:string"/>
  +		            <xs:element name="width" type="xs:string"/>
  +		            <xs:element name="height" type="xs:string"/>
  +		            <xs:element name="description" type="xs:string"/>
  +		          </xs:choice>
  +		        </xs:complexType>
  +	          </xs:element>
  +	          <xs:element name="textinput" minOccurs="0">
  +	            <xs:complexType>
  +	              <xs:choice minOccurs="0" maxOccurs="unbounded">
  +		            <xs:element name="title" type="xs:string"/>
  +		            <xs:element name="description" type="xs:string"/>
  +		            <xs:element name="name" type="xs:string"/>
  +		            <xs:element name="link" type="xs:string"/>
  +		          </xs:choice>
  +		        </xs:complexType>
  +	          </xs:element>
  +	          <xs:element name="copyright" minOccurs="0" type="xs:string"/>
  +	          <xs:element name="pubDate" minOccurs="0" type="xs:string"/>
  +	          <xs:element name="lastBuildDate" minOccurs="0" type="xs:string"/>
  +	          <xs:element name="docs" minOccurs="0" type="xs:string"/>
  +	          <xs:element name="managingEditor" minOccurs="0" type="xs:string"/>
  +	          <xs:element name="webMaster" minOccurs="0" type="xs:string"/>
  +	          <xs:element name="skipHours" minOccurs="0" type="xs:string"/>
  +	          <xs:element name="skipDays" minOccurs="0" type="xs:string"/>
  +	        </xs:choice>
  +	      </xs:complexType>
           </xs:element>
         </xs:sequence>
         <xs:attribute name="version" type="xs:string" fixed="0.91"/>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org