W3C home > Mailing lists > Public > www-math@w3.org > December 2006

Re: Choosing namespaces syntax for MathML

From: White Lynx <whitelynx@operamail.com>
Date: Mon, 18 Dec 2006 13:36:21 +0400
To: www-math@w3.org
Message-Id: <20061218093621.AA71A43E02@ws5-1.us4.outblaze.com>

>> Using a DTD you can do that, sure, a DTD will not accept an ATTLIST
>> declaration twice hence the conflict leads to a non-well-formed file
>> (again, using DTD-aware parsers).

Part of internal DTD that preceeds external entities is read by all XML parsers, including non-validating ones. If ATTLIST is defined twice it is still valid DTD just in case of conflict the definition that appears earlier in DTD overwrites subsequent ones. Of course using ATTLIST is useful in certain cases only when you have only few elements that enclose subtrees of markup from foreign namespace and is useless when elements may be mixed in arbitrary manner like in examples listed below or if the same element name appears to be used in several namespaces.

> How could I do that for [1, 2]?
> How could I eliminate the html: for <i> or for <input>?

<!ATTLIST input xmlns CDATA #FIXED 'http://www.w3.org/1999/xhtml'>

Not that handy though, but still might be useful for example in case if input element is used 100 times inside MathML equations and author wants to eliminate explicit namespace syntax.

> [1]  http://www.math.sci.hokudai.ac.jp/~nami/MathML/mixing.xml
> [2]  http://www.mozilla.org/projects/mathml/demo/extras.xhtml

-- 
_______________________________________________
Low Prices, Wide Selection of Gas Masks
Everyday low price guarantee. We offer special police discounts and an extremely wide selection of gas masks, filters and huge selection of preparedness gear.
http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=fd73877604d367fe750c12a6a3be6221



Powered by Outblaze
Received on Monday, 18 December 2006 09:36:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:59 GMT