|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: A compromise?
David Brownell wrote: > Don Park wrote: > > > > What if we came up with a way to associate a schema with any element > without > > using namespace? Would it address the real concerns of the HTML WG? > > I'm also curious why the HTML WG should care, since (X)HTML has > only DTDs (currently three of them) for which there's already > a standard association technique: > > <!DOCTYPE html PUBLIC > '-//W3C//DTD XHTML 1.0 Transitional//EN' > 'http://www.w3.org/TR/xhtml1/DTD/transitional.dtd'> > > Seems to me that the best compromise is to stick exclusively to what > is already accepted -- ruling out schemas. > EXACTLY. Leave the work to the schema group to solve the general problem for all XML, not a special solution for XHTML which may or may not end up being compatible. The only argument I've seen presented is if you want to use HTML in your XML document. It is suggested to declare the HTML namespace and prefix the elements you use. Since HTML elememts are mixed with other document elements, the DOCTYPE declaration wouldn' t work. Actually it would since the DTD referenced would have to contain the XHTML element declarations (or use ANY). If it included the declarations then there would be no ambiguity - validation does not recognize namespaces so H1 would be declared without a prefix. If it were declared with a prefix, then it would be establishing a standard prefix and any application could just as easily recognize 'strictH1' as 'strict:h1'. The reuse of DTD content is a general XML issue and should also be solved generally. I'm not sure which group has responsiblity for it (I'm guessing schemas). > 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
|
|||||||||

Cart








