[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Reusing Locally Defined Element in the Same parent Tagusin
On Wed, Jan 9, 2013 at 6:48 PM, Nishant Bulchandani <nbulchandanidev@gmail.com> wrote: The reason for asking was I was thinking along the lines of This is a personal opinion. I think, the languages you've mentioned and XSD have different goals. C, C++ etc are general purpose languages and a feature in these languages to hide a global variable with a local one looks quite useful. XSD is used within a domain of XML validation (XSD schema doesn't have state. It is mostly a description of XML structure and specifies a collection of types). XSD schemas are usually much smaller than programs written in the other languages mentioned (I would say, there is a ratio of 1:100 roughly wrt line size for real world use). Wrt this feature, I feel there has been a trade-off (perhaps a good one) between the intended use and the cost of building this feature into XSD. -- Regards, Mukul Gandhi
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
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
|