Re: XML Schema WG comments on Data Model

/ Sandy Gao <sandygao@ca.ibm.com> was heard to say:
| Dear colleagues:
[...]
| 1. Schema-related issues
| 1.1 Types in data models
| 1.1.1 Where are they stored?
|
| In various places, the draft talks about "types" and properties of these
| types. (An example is in section 6.2.2 and 6.3.2, for accessor
| "dm:string-value".)
|
| It seems that the word "type" in those places refer to schema type
| definitions, instead of just their "name"s. But it's not entirely clear how
| such type information is available. Element/attribute nodes only have a
| "type" property for the NAME of the type, but not the type itself.
|
| It's also not clear from the draft how processors get a handle to these
| type definitions (schema components). (From a separate schema loader, from
| PSVI, etc.)
|
| It "seems" that the intention is:
| - Type definitions are available within DM-compliant processors.
| - There is also a name-to-type mapping (including anonymous type names)
| that's available in such processors.
| - Such information is internal to the DM, and is not exposed to
| applications that use the DM. (Which explains why there are no accessors to
| expose real types.)
| - Schemas (or schema components) are somehow "imported" by DM processors.
| How they are imported is not defined in DM spec. Other specs or
| implementations can have their own ways to implement such importing.
|
| If the above is correct, then there should be some notes to make it clear.

We believe that the 23 July 2004 WD[1] addresses these concerns. Could
you please let us know if you agree or disagree?

                                        Be seeing you,
                                          norm

[1] http://www.w3.org/TR/2004/WD-xpath-datamodel-20040723/

-- 
Norman.Walsh@Sun.COM / XML Standards Architect / Sun Microsystems, Inc.
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

Received on Friday, 20 August 2004 19:42:41 UTC