[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Another look at namespaces
> >There is no W3C method to define a namespace as list of names. > > There is an xml-schema spec in the works destined to do that > and more. > > One can either take the existing specs at face value at any point in > history, and not complain about the lack of functionality. Or you can > work with > the model which you forsee you can > In the works does not equal recommendation. In particular, why should XHTML go off and decide a mechanism to solve a problem which is a general XML problem and is being worked on by the schema group? XHTML should define no namespace at all and await schemas. The existing namespace spec merely disambiguates. You can't declare the list of valid names. You can't declare the valid structure. You don't have to use a namespace unless an element is ambiguous. If schemas end up extending namespaces (to have a reference to a schema required for instance), then fine. But, XHTML should not be making that decision. Also, as noted in other messages, browsers don't use namespaces. So, there may need to be 2 versions of every XHTML document - one for browsers and one for XML parsers. I thought the point of XHTML was an XML compatible version of HTML. That would mean no implicit ending of elements, for instance. An XHTML document should be acceptable to an HTML browser and an XML 1.0 parser. It looks to me like the use of namespaces makes that impossible. Is a browser going to recognize strict:p? And if XHTML documents for browsers don't use namespaces why do we have to use them with XML? Marc B. McDonald Principal Software Scientist Design Intelligence, Inc. 1111 Third Avenue, Suite 1500 Seattle, WA 98101 marc.mcdonald@d... Ph: 206.343-7797 Fax: 206.343.7750 http://www.design-intelligence.com xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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
|