You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Houman Moshtagh <de...@yahoo.de> on 2002/08/18 15:47:39 UTC

XMLSchema-instance and XMLSchema - need sources

Hi all,

By now I'm describing SOAP in my thesis but somehow can I not find good
information about these namespace declarations.

xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">

Usually they are placed after the envelope declaration like this

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope 
      xmlnx:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/1999/XMLSchema">
      ...
</SOAP-ENV:Envelope>



As far as I could find out the
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" is for using
xsi:type in the SOAP message and
xmlns:xsd="http://www.w3.org/1999/XMLSchema"> is used as value for the
xsi:type e.g. xsd:string


But I need more information about what they exactly do and what is the
difference between them and
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" and
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> ? (1999 vs 2001)


Can someone recommend me other detailed sources than W3C sources? Maybe
a good book?

Thanks a lot
Houman


__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
M�chten Sie mit einem Gru� antworten? http://grusskarten.yahoo.de

Glue and Axis, which one is better

Posted by Jinghua Gu <eg...@cisco.com>.
Hi All,

    Somebody said that Glue is 10 times faster than AXIS. Do you have
any comparison to share?

Thx,
Emily


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Glue and Axis, which one is better

Posted by Jinghua Gu <eg...@cisco.com>.
Hi All,

    Somebody said that Glue is 10 times faster than AXIS. Do you have
any comparison to share?

Thx,
Emily


AW: XMLSchema-instance and XMLSchema - need sources

Posted by Houman Moshtagh <de...@yahoo.de>.
Hi Anne,


Thank a lot.  It was very helpful.  Now I know how to describe it. :o)

Greetings
Houman




-----Ursprüngliche Nachricht-----
Von: Anne Thomas Manes [mailto:anne@manes.net] 
Gesendet: Sonntag, 18. August 2002 17:45
An: soap-user@xml.apache.org
Betreff: RE: XMLSchema-instance and XMLSchema - need sources 

Houman,

The 1999 XML Schema namespaces represent a draft version of the XML
Schema
specifications. The 2001 XML Schema namespaces represent the final W3C
XML
Schema Recommendation. You can also find numerous references to the 2000
XML
Schema namespace draft version (http://www.w3.org/2000/10/XMLSchema).

You might find the XML Schema Primer helpful in understanding XML
Schema:
http://www.w3.org/TR/xmlschema-0/.

The elements and attributes in the xsd: namespace (e.g., <element
name="foo"
type="string">) are used to define schemas. The xsd: elements and
attributes
aren't designed to be used within a document instance. (You use the
element
<foo> within your document, but you generally don't include the
definition
of that element within the document. Instead you refer to the schema
that
defines <foo>.) The xsi: namespace defines four attributes that you can
use
within your instance document to refer to additional schema information
(used primarily for validation). The xsi: attributes are xsi:type,
xsi:nil,
xsi:schemaLocation, and xsi:noNamespaceSchemaLocation. (See
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Instance_Document_Co
nstr
uctions)

The xsi: attribute you see most often in SOAP is the xsi:type attribute.
This attribute allows you to explicitly assert the type of an element in
an
XML document. The value of the xsi:type attribute is a QNAME that
specifies
the element type. It can refer to an XML Schema built-in type, e.g.:
   <foo xsi:type="xsd:string">bar</foo>
or to a type that you've defined, e.g.:
   <foo xsi:type="myxsd:myType">bar</foo>
where myType refers to a type defined in the myxsd schema).

See section 4.3 (http://www.w3.org/TR/xmlschema-0/#UseDerivInInstDocs)
in
the Schema Primer for a further description.

Best regards,
Anne





__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de

--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


AW: XMLSchema-instance and XMLSchema - need sources

Posted by Houman Moshtagh <de...@yahoo.de>.
Hi Anne,


Thank a lot.  It was very helpful.  Now I know how to describe it. :o)

Greetings
Houman




-----Ursprüngliche Nachricht-----
Von: Anne Thomas Manes [mailto:anne@manes.net] 
Gesendet: Sonntag, 18. August 2002 17:45
An: soap-user@xml.apache.org
Betreff: RE: XMLSchema-instance and XMLSchema - need sources 

Houman,

The 1999 XML Schema namespaces represent a draft version of the XML
Schema
specifications. The 2001 XML Schema namespaces represent the final W3C
XML
Schema Recommendation. You can also find numerous references to the 2000
XML
Schema namespace draft version (http://www.w3.org/2000/10/XMLSchema).

You might find the XML Schema Primer helpful in understanding XML
Schema:
http://www.w3.org/TR/xmlschema-0/.

The elements and attributes in the xsd: namespace (e.g., <element
name="foo"
type="string">) are used to define schemas. The xsd: elements and
attributes
aren't designed to be used within a document instance. (You use the
element
<foo> within your document, but you generally don't include the
definition
of that element within the document. Instead you refer to the schema
that
defines <foo>.) The xsi: namespace defines four attributes that you can
use
within your instance document to refer to additional schema information
(used primarily for validation). The xsi: attributes are xsi:type,
xsi:nil,
xsi:schemaLocation, and xsi:noNamespaceSchemaLocation. (See
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Instance_Document_Co
nstr
uctions)

The xsi: attribute you see most often in SOAP is the xsi:type attribute.
This attribute allows you to explicitly assert the type of an element in
an
XML document. The value of the xsi:type attribute is a QNAME that
specifies
the element type. It can refer to an XML Schema built-in type, e.g.:
   <foo xsi:type="xsd:string">bar</foo>
or to a type that you've defined, e.g.:
   <foo xsi:type="myxsd:myType">bar</foo>
where myType refers to a type defined in the myxsd schema).

See section 4.3 (http://www.w3.org/TR/xmlschema-0/#UseDerivInInstDocs)
in
the Schema Primer for a further description.

Best regards,
Anne





__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de

RE: XMLSchema-instance and XMLSchema - need sources

Posted by Anne Thomas Manes <an...@manes.net>.
Houman,

The 1999 XML Schema namespaces represent a draft version of the XML Schema
specifications. The 2001 XML Schema namespaces represent the final W3C XML
Schema Recommendation. You can also find numerous references to the 2000 XML
Schema namespace draft version (http://www.w3.org/2000/10/XMLSchema).

You might find the XML Schema Primer helpful in understanding XML Schema:
http://www.w3.org/TR/xmlschema-0/.

The elements and attributes in the xsd: namespace (e.g., <element name="foo"
type="string">) are used to define schemas. The xsd: elements and attributes
aren't designed to be used within a document instance. (You use the element
<foo> within your document, but you generally don't include the definition
of that element within the document. Instead you refer to the schema that
defines <foo>.) The xsi: namespace defines four attributes that you can use
within your instance document to refer to additional schema information
(used primarily for validation). The xsi: attributes are xsi:type, xsi:nil,
xsi:schemaLocation, and xsi:noNamespaceSchemaLocation. (See
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Instance_Document_Constr
uctions)

The xsi: attribute you see most often in SOAP is the xsi:type attribute.
This attribute allows you to explicitly assert the type of an element in an
XML document. The value of the xsi:type attribute is a QNAME that specifies
the element type. It can refer to an XML Schema built-in type, e.g.:
   <foo xsi:type="xsd:string">bar</foo>
or to a type that you've defined, e.g.:
   <foo xsi:type="myxsd:myType">bar</foo>
where myType refers to a type defined in the myxsd schema).

See section 4.3 (http://www.w3.org/TR/xmlschema-0/#UseDerivInInstDocs) in
the Schema Primer for a further description.

Best regards,
Anne


> -----Original Message-----
> From: Houman Moshtagh [mailto:dev_wsdl@yahoo.de]
> Sent: Sunday, August 18, 2002 9:48 AM
> To: soap-user@xml.apache.org
> Subject: XMLSchema-instance and XMLSchema - need sources
> Importance: High
>
>
> Hi all,
>
> By now I'm describing SOAP in my thesis but somehow can I not find good
> information about these namespace declarations.
>
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema">
>
> Usually they are placed after the envelope declaration like this
>
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope
>       xmlnx:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>       xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
>       xmlns:xsd="http://www.w3.org/1999/XMLSchema">
>       ...
> </SOAP-ENV:Envelope>
>
>
>
> As far as I could find out the
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" is for using
> xsi:type in the SOAP message and
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"> is used as value for the
> xsi:type e.g. xsd:string
>
>
> But I need more information about what they exactly do and what is the
> difference between them and
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" and
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"> ? (1999 vs 2001)
>
>
> Can someone recommend me other detailed sources than W3C sources? Maybe
> a good book?
>
> Thanks a lot
> Houman
>
>
> __________________________________________________________________
>
> Gesendet von Yahoo! Mail - http://mail.yahoo.de
> Mvchten Sie mit einem Gru_ antworten? http://grusskarten.yahoo.de
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


RE: XMLSchema-instance and XMLSchema - need sources

Posted by Anne Thomas Manes <an...@manes.net>.
Houman,

The 1999 XML Schema namespaces represent a draft version of the XML Schema
specifications. The 2001 XML Schema namespaces represent the final W3C XML
Schema Recommendation. You can also find numerous references to the 2000 XML
Schema namespace draft version (http://www.w3.org/2000/10/XMLSchema).

You might find the XML Schema Primer helpful in understanding XML Schema:
http://www.w3.org/TR/xmlschema-0/.

The elements and attributes in the xsd: namespace (e.g., <element name="foo"
type="string">) are used to define schemas. The xsd: elements and attributes
aren't designed to be used within a document instance. (You use the element
<foo> within your document, but you generally don't include the definition
of that element within the document. Instead you refer to the schema that
defines <foo>.) The xsi: namespace defines four attributes that you can use
within your instance document to refer to additional schema information
(used primarily for validation). The xsi: attributes are xsi:type, xsi:nil,
xsi:schemaLocation, and xsi:noNamespaceSchemaLocation. (See
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Instance_Document_Constr
uctions)

The xsi: attribute you see most often in SOAP is the xsi:type attribute.
This attribute allows you to explicitly assert the type of an element in an
XML document. The value of the xsi:type attribute is a QNAME that specifies
the element type. It can refer to an XML Schema built-in type, e.g.:
   <foo xsi:type="xsd:string">bar</foo>
or to a type that you've defined, e.g.:
   <foo xsi:type="myxsd:myType">bar</foo>
where myType refers to a type defined in the myxsd schema).

See section 4.3 (http://www.w3.org/TR/xmlschema-0/#UseDerivInInstDocs) in
the Schema Primer for a further description.

Best regards,
Anne


> -----Original Message-----
> From: Houman Moshtagh [mailto:dev_wsdl@yahoo.de]
> Sent: Sunday, August 18, 2002 9:48 AM
> To: soap-user@xml.apache.org
> Subject: XMLSchema-instance and XMLSchema - need sources
> Importance: High
>
>
> Hi all,
>
> By now I'm describing SOAP in my thesis but somehow can I not find good
> information about these namespace declarations.
>
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema">
>
> Usually they are placed after the envelope declaration like this
>
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope
>       xmlnx:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>       xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
>       xmlns:xsd="http://www.w3.org/1999/XMLSchema">
>       ...
> </SOAP-ENV:Envelope>
>
>
>
> As far as I could find out the
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" is for using
> xsi:type in the SOAP message and
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"> is used as value for the
> xsi:type e.g. xsd:string
>
>
> But I need more information about what they exactly do and what is the
> difference between them and
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" and
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"> ? (1999 vs 2001)
>
>
> Can someone recommend me other detailed sources than W3C sources? Maybe
> a good book?
>
> Thanks a lot
> Houman
>
>
> __________________________________________________________________
>
> Gesendet von Yahoo! Mail - http://mail.yahoo.de
> Mvchten Sie mit einem Gru_ antworten? http://grusskarten.yahoo.de
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>