You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Bob Henderson <la...@yahoo.com> on 2000/11/06 14:03:32 UTC

my own schemas

I would like to use my own schema to validate my own
types.

Should I use the http://www.w3.org/1999/XMLSchema
schema and add my additions and access locally?

Which constant should I change to access this?

// Namespace URIs.
public static String NS_URI_XMLNS =
  "http://www.w3.org/2000/xmlns/";
    
public static String NS_URI_SOAP_ENV =
  "http://schemas.xmlsoap.org/soap/envelope/";
   
public static String NS_URI_SOAP_ENC =
  "http://schemas.xmlsoap.org/soap/encoding/";
    
public static String NS_URI_SCHEMA_XSI =
  "http://www.w3.org/1999/XMLSchema-instance";
    
public static String NS_URI_SCHEMA_XSD =
 "http://www.w3.org/1999/XMLSchema";

public static String NS_URI_XML_SOAP = 
 "http://xml.apache.org/xml-soap";
public static String NS_URI_XML_SOAP_DEPLOYMENT = 
 "http://xml.apache.org/xml-soap/deployment";
public static String NS_URI_LITERAL_XML = 
 "http://xml.apache.org/xml-soap/literalxml";
public static String NS_URI_XMI_ENC = 
 "http://www.ibm.com/namespaces/xmi";

I just want to add something like:

<simpleType name"AreaCode" base="xsi:string">
  <minLength value="3">
  <maxLength value="3">
</simpleType>

Bob



__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/