W3C home > Mailing lists > Public > xml-dist-app@w3.org > January 2002

Re: issue 168 proposal: xsi:type of external references in Encodi ng (fwd)

From: Jacek Kopecky <jacek@systinet.com>
Date: Thu, 3 Jan 2002 11:21:46 +0100 (CET)
To: Noah Mendelsohn <noah_mendelsohn@us.ibm.com>
cc: xml-dist-app <xml-dist-app@w3.org>
Message-ID: <Pine.LNX.4.33.0201031111180.13354-100000@mail.idoox.com>
 my intention was indeed that we specify a new simple type or
that we reuse some XSD binary simple type. The lexical
representation is not important in our case since the value is
not in an XML file. What's important is the value space - arrays
of bytes.
 And I also intended ASCII text files to be typed with this type
for I don't want to specify a gazillion of types.
 Again, the type I talk about above would only be a default for
the case the actual type was not specified otherwise. In this way
we can keep the requirement that every simple value is typed by
an XML Schema simple (possibly sub-) type.

                   Jacek Kopecky

                   Senior Architect, Systinet (formerly Idoox)

On Fri, 21 Dec 2001, Noah Mendelsohn wrote:

 > Jacek Kopecky writes (in relation to hrefs to .GIFs):
 > >> Noah, from the point of view of
 > >> the XML Schema type system, the
 > >> type would be something binary
 > >>  - with the value space of any
 > >> sequence of octets and the lexical
 > >> space not important since it's
 > >> not exactly in an XML message.
 > Well, my point is that it certainly won't have any schema type unless we
 > write something in our specification to make it so.
 > Furthermore, I'm quite nervous about this direction.  A .gif file is surely
 > not conformant with the lexical representation of a schema binary;  even if
 > we wished to associate the two, we would have to write a spec saying how.
 > If I point to an ASCII text file, does that turn into binary?  string?
 > string with character repertoire restricted by regex to ascii only? binary
 > for the encoded characters?
 > This all feels like a very slippery slope to me, hence my suggestion that
 > we allow such nodes to be untyped (they are obviously NOT of the schema
 > anytype, since they need not  conform to any of the limitations for XML
 > character sets or other restrictions that characterize XML simple and
 > complex types.)
 > ------------------------------------------------------------------------
 > Noah Mendelsohn                                    Voice: 1-617-693-4036
 > Lotus Development Corp.                            Fax: 1-617-693-8676
 > One Rogers Street
 > Cambridge, MA 02142
 > ------------------------------------------------------------------------
Received on Thursday, 3 January 2002 05:21:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:11:45 UTC