|
|||||||
|
EOM June 2005 > Departments > Understanding TechnologyThe Extensible Markup Language (XML): Hype and RealityChris AndrewsIn the years that I have been a consultant I have encountered technical managers who wish to implement the Extensible Markup Language (XML) to solve problems ranging from application integration to poor project management. Next to the term "Web," XML is probably the most overused buzzword that I have encountered inside the geospatial industry and out of it. Even experienced developers sometimes abandon reason and tout XML as the solution to problems that require thought and not hype. XML is a text-based data formatting language derived from the Standard Generalized Markup Language (SGML). SGML is used to define data formats that encompass both the data content and semantic information about the content. When used properly, XML becomes a tool that facilitates data exchange and helps support functionality with its flexible, easily navigated format. While many people believe that the primary strength of XML is that it can be human readable, its true strengths lie in being reliably validated and read using standardized, platform-independent text parsing tools. Validation is generally overlooked as an important part of XML technology because, until recently, XML parsers incompletely implemented standard XML validation tools. Within the last few years, the World Wide Web Consortium (W3C) switched from using the Document Type Definition, a non-XML definition language, to XML Schema, an XML-based tool, for defining valid XML documents. This relatively minor fluctuation in standards introduced insecurity in XML validation tools that caused many managers and architects to ignore a crucial benefit to using XML validation. Validation is a crucial component of complex integrated systems because it allows workflows to fail quickly when interfaces are out of synch or incomplete. Schema is now here to stay. Readability is both the boon and the bane of the XML using world. There exist numerous standard toolkits to programmatically manipulate XML. However, because XML can be parsed by any language that can handle text data and file I/O, developers have spent countless wasted hours implementing custom tools to parse XML and extract data. The Java Architecture for XML Binding (JAXB), the Microsoft Corporation standard XML parsers for .NET, and the pyXML package for the Python programming language all represent standard parsers that incorporate XML validation and reading capability. When complex architectures fail to use such tools, the cost of time spent reworking code in response to changing document schema will quickly surpass the benefits of using XML at all. |
||||||
|
|||||||
|
The geospatial field has benefited greatly from the introduction of XML. The Open GIS Consortium, Inc. set a great example by using XML to define their suite of recommendations for interoperable geographic data communication. For five years, GIS professionals have encountered XML through the use of the ArcXML language developed for the ArcIMS product from the Environmental Systems Research Institute, Inc. (ESRI). ArcXML is used for ESRI's latest Web mapping tools. Industry-specific languages such as MultiSpeak and the Common Information Model (CIM) grew out of initiatives to allow unrelated vendors' software to communicate over software interfaces. XML facilitates the technologies of Web services and Service-Oriented Architectures that enable GIS tools to integrate with non-traditional GIS information infrastructures. XML is already ubiquitous in our industry and the bottom line is that XML is merely a tool. XML allows developers to define easily readable and verifiable message formats for inter-application communication and data storage, crucial components of integrated geospatial systems. Just like many other buzzword technologies, XML fulfills a critical need in the infrastructure of information technology projects when used correctly. Geospatial professionals need to master not only the appropriate use of these technologies, but also the full benefits of implementing them to fully take advantage of the migration of GIS projects into the mainstream information technology industry. About the AuthorChris Andrews has been an advocate for standardizing and expanding GIS technology for the past eight years, programming and listening to customers in a variety of environments from private industry to the Kennedy Space Center. He is currently employed as Director of GIS Solutions at Idea Integration in Denver, Colorado, and may be contacted at [email protected]. |
||||||
|