Computing DOI 10.1007/s00607-013-0339-8 Personalised code generation from large schema sets for geospatial mobile applications Alain Tamayo · Carlos Granell · Laura Díaz · Joaquín Huerta Received: 28 November 2012 / Accepted: 25 July 2013 © Springer-Verlag Wien 2013 Abstract XML and XML Schema are used in the geospatial domain for the definition of standards that enhance the interoperability between producers and consumers of spatial data. The size and complexity of these geospatial standards and their associ- ated schemas have been growing with time reaching levels of complexity that make it difficult to build systems based on them in a timely and cost-effective manner. The problem of producing XML processing code based on large schemas has been tradi- tionally solved by using XML data binding generators. Unfortunately, this solution is not always effective when code is generated for resource-constrained devices, such as mobile phones. Large and complex schemas often result in the production of code with a large size and a complicated structure that might not fit the device limitations. In this article we present the instance-based XML data binding approach to produce more compact application-specific XML processing code for geospatial applications targeted to mobile devices. The approach tries to reduce the size and complexity of the generated code by using information about how schemas are used by individual appli- cations. Our experimental results suggest a significant simplification of XML Schema A. Tamayo (B) · L. Díaz · J. Huerta Institute of New Imaging Technologies, Universitat Jaume I, Av. Vicent Sos Baynat, SN, 12071 Castellón de la Plana, Spain e-mail:
[email protected] L.