W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2002

Re: Schema for schemas bugs?

From: Aung Aung <aaung@microsoft.com>
Date: Mon, 22 Apr 2002 14:21:34 -0700
Message-ID: <22AC3F532BE25849BF04BE95350FF91B03BC50A5@red-msg-08.redmond.corp.microsoft.com>
To: <xmlschema-dev@w3.org>
The issues with the  xsd4xsd in MSXML are, 

 

1. There were some confusion in the beginning about the usage of
anySimpleType. After some clarification, we allow anySimpleType as a
type name. However,  the spec also said "simple *ur-type definition*
<http://www.w3.org/TR/xmlschema-1/#key-urType#key-urType>  must not be
named as the *base type definition*
<http://www.w3.org/TR/xmlschema-1/#st-base_type_definition#st-base_type_
definition>  of any user-defined simple types: as it has no constraining
facets, this would be incoherent." So, how are all the primitive data
types have restriction facets on anySimpleType. Spes does not say how it
allows it. Do we have to special-case all primitive dataType as
restrict-able from anySimpleType exclusive to for parsing xsd4xsd (for
such confusing issue, spec should implicit about how to approach it.)?

3. Explicit declaration such as
xmlns:xml=http://www.w3.org/XML/1998/namespace is now allowed by the
namespace spec. It is explicitly stated in the xml spec that xml:lang
(http://www.w3.org/TR/2000/REC-xml-20001006#sec-lang-tag) is a special
attribute to allow language specification in XML, it need not xmlns:xml
declaration.  

[2] 

PrefixedAttName

::= 

'xmlns:' NCName
<http://www.w3.org/TR/1999/REC-xml-names-19990114/#NT-NCName#NT-NCName> 

[ 

NSC: Leading "XML"
<http://www.w3.org/TR/1999/REC-xml-names-19990114/#xmlReserved#xmlReserv
ed>  ]

Namespace Constraint: Leading "XML"
Prefixes beginning with the three-letter sequence x, m, l, in any case
combination, are reserved for use by XML and XML-related specifications.


4. should remove the trailing space in version [version="Id:
XMLSchema.xsd,v 1.48 2001/04/24 18:56:39 ht Exp "]. Because it is typed
as toke, which cannot have trailing space.

5. Some group reference that already mentioned in other threads.

Thanks
-Aung
Received on Monday, 22 April 2002 17:22:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:30 GMT