[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: WXS acronym?
Hi Henry, >>As for using "xsd" or "xs" as a prefix I don't care much one way or >>the other but I think it would be nice if the W3C would stick to one >>and use that through out. Unless they're trying to make a point that >>the prefix doesn't matter but I don't think that's the case. >> >> > >Speaking for myself _only_, yes, the is indeed the case, I am trying >to reinforce that point. > Hmm, wouldn't it then be better to start of with a section that shows the same example schema written in different ways with regards to namespaces. For example, after the following section in the Primer [1]. "Each of the elements in the schema has a prefix |xsd:| which is associated with the XML Schema namespace through the declaration, | xmlns:xsd="http://www.w3.org/2001/XMLSchema"|, that appears in the | schema| element. The prefix |xsd:| is used by convention to denote the XML Schema namespace, although any prefix can be used. The same prefix, and hence the same association, also appears on the names of built-in simple types, e.g. |xsd:string|. The purpose of the association is to identify the elements and simple types as belonging to the vocabulary of the XML Schema language rather than the vocabulary of the schema author. For the sake of clarity in the text, we just mention the names of elements and simple types (e.g. | simpleType|), and omit the prefix." Here you could easily provide three short example schemas (one using default namespaces and two using different prefixes) but then go on to say that for the sake of clarity the _same_ prefix will be used through out the specification. Maybe it's just me but I would find this clearer than the current "prefix-switching" in different parts of the spec. Cheers, /Eddie [1] http://www.w3.org/TR/xmlschema-0/#POSchema > >ht > >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|