5th International ICST Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services

Research Article

How to Edit Gigabyte XML Files on a Mobile Phone with XAS, RefTrees, and RAXS

Download691 downloads
  • @INPROCEEDINGS{10.4108/ICST.MOBIQUITOUS2008.3556,
        author={Tancred Lindholm and Jaakko Kangasharju},
        title={How to Edit Gigabyte XML Files on a Mobile Phone with XAS, RefTrees, and RAXS},
        proceedings={5th International ICST Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services},
        publisher={ICST},
        proceedings_a={MOBIQUITOUS},
        year={2010},
        month={5},
        keywords={XML mobile lazy tree parsing serialization},
        doi={10.4108/ICST.MOBIQUITOUS2008.3556}
    }
    
  • Tancred Lindholm
    Jaakko Kangasharju
    Year: 2010
    How to Edit Gigabyte XML Files on a Mobile Phone with XAS, RefTrees, and RAXS
    MOBIQUITOUS
    ICST
    DOI: 10.4108/ICST.MOBIQUITOUS2008.3556
Tancred Lindholm1,*, Jaakko Kangasharju2,*
  • 1: Helsinki Institute for Information Technology, P.O. Box 9800 FIN-02015 TKK, Finland
  • 2: Helsinki University of Technology, P.O. Box 5400 FIN-02015 TKK, Finland
*Contact email: tancred.lindholm@hiit.fi, jkangash@cc.hut.fi

Abstract

The Open Source mobility middleware developed in the Fuego Core project provides a stack for efficient XML processing on limited devices. Its components are a persistent map API, advanced XML serialization and out-of-order parsing with byte-level access (XAS), data structures and algorithms for lazy manipulation and random access to XML trees (RefTree), and a component for XML document management (RAXS) such as packaging, versioning, and synchronization. The components provide a toolbox of simple and lightweight XML processing techniques rather than a complete XML database. We demonstrate the Fuego XML stack by building a viewer and multiversion editor capable of processing gigabyte-sized Wikipedia XML files on a mobile phone. We present performance measurements obtained on the phone, and a comparison to implementations based on existing technologies. These show that the Fuego XML stack allows going beyond what is commonly considered feasible on limited devices in terms of XML processing, and that it provides advantages in terms of decreased set-up time and storage space requirements compared to existing approaches.