skip to main content
10.1145/1167253.1167316acmconferencesArticle/Chapter ViewAbstractPublication Pagesacm-seConference Proceedingsconference-collections
Article

Reducing application code complexity with vocabulary-specific XML language bindings

Published: 18 March 2005 Publication History

Abstract

The eXtensible Markup Language (XML) has become a ubiquitous data exchange and storage format. A variety of tools are available for incorporating XML-based data into applications. The most common XML tools (such as parsers for SAX and DOM) provide low-level vocabulary-independent interfaces, which can make it hard to develop and debug robust applications. This paper examines tools for generating vocabulary-specific XML-to-C++ language mappings and shows how they can reduce key sources of complexity associated with developing object-oriented XML-based applications. The paper also presents criteria for evaluating tools that generate vocabulary-specific language mappings and applies these criteria to compare five tools for this purpose: XML Spy, Xbinder, Object Link, Liquid XML Data Binding Wizard, and XML Schema Compiler (XSC). Our results show that XSC is the only tool that provides a complete vocabulary-specific mapping, alignment with the C++ Standard Library, and code portability, while also providing the most manageable generated code base.

References

[1]
Altova. XML Spy, 2004 (http://www.xmlSpy.com).
[2]
The Apache Software Foundation, Xerces-C++. 2004 (http://xml.apache.org/xerces-c/)
[3]
Beeri, C., Milo, T. Schemas for Integration and Translation of Structured and Semi-Structured Data. Lecture Notes in Computer Science, 1999
[4]
Biron, P., Malhotra, A. XML Schema Part I Structures. World Wide Web Consortium (W3C) Working Draft, December 1999.
[5]
Biron, P., Malhotra, A. XML Schema Part 2 Datatypes. World Wide Web Consortium (W3C) Working Draft, December 1999.
[6]
Bray, T., Paoli, J., Sperberg-McQueen, C. Extensible Markup Language (XML) 1.0 (Second Edition), World Wide Web Consortium (W3C), October 2000.
[7]
Buneman, P. Semistructured Data. In Proceedings of the Sixteenth ACM SIGACT- SIGMOD - SIGART Symposium on Principles of Database Systems, 1997.
[8]
Buneman, P., Fan, W., Simeon, J., Weinstein, S. Constraints for Semistructured Data and XML. SIGMOD Record (ACM Special Interest Group on Management of Data), 2001
[9]
Distributed Object Computing Group at Vanderbilt. XML Schema Compiler, 2004 (http://www.dre.vanderbilt.edu/~boris/xsc/).
[10]
ExoLab Group. The Castor Project. 2004 (http://www.castor.org).
[11]
Lee, D., Chu, W. Comparative Analysis of Six XML Schema Languages. SIGMOD Record (ACM Special Interest Group on Management of Data), 2000
[12]
Le Hors, A., Le Hgaret, P. et al. Document Object Model (DOM) Level 2 Core Specification (Version 1.0). W3C Recommendation, World Wide Web Consortium (http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/), 2000.
[13]
Liquid Technologies. XML Data Binding Wizard 3, 2004 (http://www.liquid-technologies.com/Products.htm).
[14]
Megginson Technologies Ltd. SAX 2.0: The Simple API for XML (http://megginson.com/SAX/), (2000).
[15]
Milo, T., Zohar, S. Using Schema Matching to Simplify Heterogeneous Data Translation. In Proceedings of the 24th International Conference on Very Large Data Bases, VLDB, 1998
[16]
Objective Systems. Xbinder, 2004 (http://www.objsys.com/products_xbinder.shtml).
[17]
Prescod, P., Xbind 0.7 Tutorial, 2004 (http://www.prescod.net/xml/xbind/).
[18]
Rogue Wave Software. LEIF: Data Tier, Object Link, 2004 (http://www.roguewave.com/products/leif/data.cfm).
[19]
Simeoni, F., Manghi, P., Connor, R., Lievens, D., Neely, S. An Approach to High-level Language Bindings to XML. Special Issues of the Information & Software Technology, Elsevier Ed. (4), 2002.
[20]
Simeoni, F., Lievens, D., et al., Language bindings to XML. IEEE Internet Computing, Jan 2003.
[21]
Sun Microsystems, Inc., Java Architecture for XML Binding (JAXB), 2001 (http://java.sun.com/xml/downloads/jaxb.html).
[22]
Wheeler, D., SLOCCount, 2004 (http://www.dwheeler.com/sloccount/).

Cited By

View all
  • (2016)A Generic Framework for Engaging Online Data Sources in Introductory Programming CoursesProceedings of the 2016 ACM Conference on Innovation and Technology in Computer Science Education10.1145/2899415.2899437(136-141)Online publication date: 11-Jul-2016
  • (2013)Efficient and deterministic application deployment in component-based enterprise distributed real-time and embedded systemsInformation and Software Technology10.1016/j.infsof.2012.08.00755:2(475-488)Online publication date: 1-Feb-2013
  • (2012)XML Data Binding for C++ Using MetadataInnovations, Standards and Practices of Web Services10.4018/978-1-61350-104-7.ch011(232-249)Online publication date: 2012
  • Show More Cited By

Index Terms

  1. Reducing application code complexity with vocabulary-specific XML language bindings

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    ACMSE '05 vol 2: Proceedings of the 43rd annual ACM Southeast Conference - Volume 2
    March 2005
    430 pages
    ISBN:1595930590
    DOI:10.1145/1167253
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 18 March 2005

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. C++
    2. DOM
    3. SAX
    4. W3C XML schema
    5. XML
    6. vocabulary-specific language binding

    Qualifiers

    • Article

    Conference

    ACM SE05
    Sponsor:
    ACM SE05: ACM Southeast Regional Conference 2005
    March 18 - 20, 2005
    Georgia, Kennesaw

    Acceptance Rates

    Overall Acceptance Rate 502 of 1,023 submissions, 49%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 20 Jan 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2016)A Generic Framework for Engaging Online Data Sources in Introductory Programming CoursesProceedings of the 2016 ACM Conference on Innovation and Technology in Computer Science Education10.1145/2899415.2899437(136-141)Online publication date: 11-Jul-2016
    • (2013)Efficient and deterministic application deployment in component-based enterprise distributed real-time and embedded systemsInformation and Software Technology10.1016/j.infsof.2012.08.00755:2(475-488)Online publication date: 1-Feb-2013
    • (2012)XML Data Binding for C++ Using MetadataInnovations, Standards and Practices of Web Services10.4018/978-1-61350-104-7.ch011(232-249)Online publication date: 2012
    • (2011)Instance-based XML data binding for mobile devicesProceedings of the Third International Workshop on Middleware for Pervasive Mobile and Embedded Computing10.1145/2090316.2090318(1-8)Online publication date: 12-Dec-2011
    • (2011)Predictable deployment in component-based enterprise distributed real-time and embedded systemsProceedings of the 14th international ACM Sigsoft symposium on Component based software engineering10.1145/2000229.2000233(21-30)Online publication date: 20-Jun-2011
    • (2011)Dealing with large schema sets in mobile SOS-based applicationsProceedings of the 2nd International Conference on Computing for Geospatial Research & Applications10.1145/1999320.1999336(1-9)Online publication date: 23-May-2011
    • (2006)Metadata-Based XML Serialization for Embedded C++Proceedings of the IEEE International Conference on Web Services10.1109/ICWS.2006.91(347-356)Online publication date: 18-Sep-2006

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media