[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Motivations for namespaces (sorry)
In response to: > Got some inspiration from the "Looking for an example of a name > collission" thread. It's funny that no one seem to be able to > present a *good* working example of how namespaces solves name > conflicts. I'm not opposing namespaces myself, but I still try to > find the right place for them. Namespaces are crucial for name collision prevention in the application of XML that I am most familiar with (XBRL - http://www.xbrl.org). The XBRL specification provides a restricted framework for writing WXS schemas to support business reporting (eg financial statements). Because it leads to a proliferation of WXS schemas, all with elements relating to the same kinds of concepts (eg: US accounting standards definition of cash vs IFRS accounting standards definition of cash) but having subtly different underlying meaning. The ability to use namespaces to prevent element name collisions in that context is crucial but, interestingly, the same XBRL processing software can crunch right through all of the different elements that have had their syntax defined using the XBRL framework. For more concrete examples, take a look at the taxonomies (Schemas and supporting XLink semantics) provided at http://www.xbrl.org/resourcecenter/taxonomies.asp?sid=22 Regards Geoff Shuetrim
|
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
|