Update of /cvsroot/jaxme/JaxMe2/examples/xml-schema
In directory sc8-pr-cvs1:/tmp/cvs-serv25713/examples/xml-schema

Modified Files:
        org.w3c.tr.xmlschema-0.po.xsd 
Log Message:
Added xs:nonPositiveInteger and xs:negativeInteger. (Marty Kube)
Fixed bug in the detection whether a schema needs to be
recompiled. (Jochen Wiedmann)


Index: org.w3c.tr.xmlschema-0.po.xsd
===================================================================
RCS file: /cvsroot/jaxme/JaxMe2/examples/xml-schema/org.w3c.tr.xmlschema-0.po.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- org.w3c.tr.xmlschema-0.po.xsd       10 Feb 2003 21:09:55 -0000      1.1
+++ org.w3c.tr.xmlschema-0.po.xsd       20 Feb 2003 21:02:02 -0000      1.2
@@ -1,10 +1,16 @@
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+            xmlns:jaxb="http://java.sun.com/xml/ns/jaxb";>
 
  <xsd:annotation>
   <xsd:documentation xml:lang="en">
    Purchase order schema for Example.com.
    Copyright 2000 Example.com. All rights reserved.
   </xsd:documentation>
+  <xsd:appinfo>
+    <jaxb:schemaBindings>
+      <jaxb:package name="net.sf.jaxme.examples.xmlschema.po"/>
+    </jaxb:schemaBindings>
+  </xsd:appinfo>
  </xsd:annotation>
 
  <xsd:complexType name="USAddress">
@@ -21,6 +27,13 @@
 
  <xsd:element name="comment" type="xsd:string"/>
 
+ <!-- Stock Keeping Unit, a code for identifying products -->
+ <xsd:simpleType name="SKU">
+  <xsd:restriction base="xsd:string">
+   <xsd:pattern value="\d{3}-[A-Z]{2}"/>
+  </xsd:restriction>
+ </xsd:simpleType>
+
  <xsd:complexType name="Items">
   <xsd:sequence>
    <xsd:element name="item" minOccurs="0" maxOccurs="unbounded">
@@ -55,12 +68,5 @@
  </xsd:complexType>
 
  <xsd:element name="purchaseOrder" type="PurchaseOrderType"/>
-
- <!-- Stock Keeping Unit, a code for identifying products -->
- <xsd:simpleType name="SKU">
-  <xsd:restriction base="xsd:string">
-   <xsd:pattern value="\d{3}-[A-Z]{2}"/>
-  </xsd:restriction>
- </xsd:simpleType>
 
 </xsd:schema>




-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Jaxme-jaxb-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxme-jaxb-dev

Reply via email to