Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] The meaning of the "string" datatype?

From: rjelliffe@-------.---.--
To: "xml-dev@-----.---.---" <-------@-----.---.--->
Date: 4/27/2009 6:03:00 AM
C. M. Sperberg-McQueen wrote

> In XSD, date is not a restriction of string for much the same reason
> that in SQL, timestamp is not a subtype of VARCHAR, and in most
> programming languages, date objects or structs are not restrictions
> of char* arrays.

So you are saying that XSD's datatyping is based on the physical storage
constraints of non-XML technology, and nothing to do with the data
itself...

(And, no they were programmers.)

> On 15 Apr 2009, at 07:20 , Rick Jelliffe wrote:

>> The original XML Schemas datatype hierarchy was not designed with
>> document refinement in mind (i.e. marking up the document, passing
>> it as text through several different XML stages):
>
> That seems odd to me; it was certainly on the minds of some in the WG.
> Perhaps not on yours.

Then why, when the WG was reconstructing the functionality of parameter
entities, was there no reconstruction of IGNORE market sections?  (I was
not there at that time, so it is genuinely a question I don't know the
answer to.)

Does the new type switching proposed for XSD 1.1 pretty much reconstruct
IGNORE?

> But then I think it unwise to assume that processing a document through
> stages of a workflow will invariably result in restriction, or that the
> input and output of a transformation will always need to be described
> by the same schema.  YMMV, of course.

Certainly. So why isn't it equally unwise to assume that the output will
never be a restriction, nor that gathering into the same schema may not be
appropriate? (And I wrote 'refinement' there, not 'restriction.')


Cheers
Rick Jelliffe

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent