- From: Jacek Kopecky <jacek@systinet.com>
- Date: Sun, 7 Apr 2002 18:59:32 +0200 (CEST)
- To: Dan Brickley <danbri@w3.org>
Dan, it's been shown a few times already but I can't find it in
the archives (the search engine gives me timeouts), so I'll
present a simple example here:
<struct name="person">
<member name="name">
<terminal xsdBase="xsd:string" />
</member>
<member name="address">
<struct name="address" xsdBase="foo:addressType">
<terminal name="street" xsdBase="xsd:string" />
<terminal name="city" xsdBase="xsd:string" />
<terminal name="country" xsdBase="xsd:string"/>
<terminal name="zip" xsdBase="xsd:integer" />
</struct>
</member>
<member name="children">
<array dimensions="1">
<struct ref="person"/>
</array>
</member>
</struct>
This is completely off top of my head so it may contain flaws
but I think it presents the idea.
I don't think the nillability (or referencability) needs to be
represented in such a schema. The xsdBase attribute is a
connection to XML Schema, just stating that the type label of
"street" will be xsd:string, for example.
Best regards,
Jacek Kopecky
Senior Architect, Systinet (formerly Idoox)
http://www.systinet.com/
On Sun, 7 Apr 2002, Dan Brickley wrote:
>
> > Myself, I don't like this situation, I think we either need a
> > simple new schema language or a set of unambiguous rules for
> > making a SOAP Data Model schema from an XML Schema schema.
>
> Interesting! Can you say any more about what such a simple schema language
> would do? WOuld it be couched in terms of node types and edge types for
> SOAP Data Model instances? eg. that edges of a certain type always point
> to nodes of a certain type...
>
> Did you ever see http://www.w3.org/TandS/QL/QL98/pp/microsoft-serializing.html
> http://www.w3.org/1999/04/WebData and nearby?
>
> Dan
>
> (lurker on this mailing list :)
>
Received on Sunday, 7 April 2002 13:00:13 UTC