Why ANY is so restrictive?
Hello. About one year ago I have posted the letter to XML-dev list asking was there some practical reason behind making 'ANY' so restrictive in XML v 1.0. I proposed to change the semantics of ANY to 'anything well-formed is fine'. There was a silence on this topic. I got no explanation why ANY is so restrictive. Maybe now somebody would try to explain what was the purpose of such a restrictive 'ANY' in XML 1.0 ? After a year I still think current 'ANY' does not solve any practical problem. OK, OK maybe it does ... But 'anything-well-formed' solves the same problem for sure + much more problems. Is there *any* reason having 'ANY' so restrictive? Thank you very much for the explanation ( if any ). Rgds.Paul. ----- Original Message ----- From: Mike Brown <mbrown@c...> To: <xsl-list@m...> Sent: Thursday, February 03, 2000 3:24 PM Subject: RE: Where can I find the XSLT DTD? > Rick Geimer wrote: > > you could just define all the XHTML elements with the ANY keyword. > > Almost. ANY means any *declared* element. You still have to declare the > elements, and when you declare the elements, you have to declare what their > contents can be. >
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