Extracting typed values from XML data
Connor, R. and Lievens, D. and Manghi, P. and Neely, S. and Simeoni, F. (2001) Extracting typed values from XML data. In: OOPSLA 2001 Workshop on Objects, XML and Databases publications, 2001-10-14 - 2001-10-18.
Preview |
Text.
Filename: strathprints002456.pdf
Accepted Author Manuscript Download (254kB)| Preview |
Abstract
Values of existing typed programming languages are increas- ingly generated and manipulated outside the language juris- diction. Instead, they often occur as fragments of XML docu- ments, where they are uniformly interpreted as labelled trees in spite of their domain-specific semantics. In particular, the values are divorced from the high-level type with which they are conveniently, safely, and efficiently manipulated within the language. We propose language-specific mechanisms which extract language values from arbitrary XML documents and inject them in the language. In particular, we provide a general framework for the formal interpretation of extraction mecha- nisms and then instantiate it to the definition of a mechanism for a sample language core L. We prove that such mechanism can be built by giving a sound and complete algorithm that implements it. The values, types, and type semantics of L are sufficiently general to show that extraction mechanisms can be defined for many existing typed languages, including object-oriented languages. In fact, extraction mechanisms for a large class of existing languages can be directly derived from L's. As a proof of this, we introduce the SNAQue prototype system, which transforms XML fragments into CORBA objects and exposes them across the ORB framework to any CORBA-compliant language.
ORCID iDs
Connor, R. ORCID: https://orcid.org/0000-0003-4734-8103, Lievens, D., Manghi, P., Neely, S. and Simeoni, F.;-
-
Item type: Conference or Workshop Item(Paper) ID code: 2456 Dates: DateEvent28 September 2001PublishedSubjects: Science > Mathematics > Electronic computers. Computer science Department: Faculty of Science > Computer and Information Sciences Depositing user: Strathprints Administrator Date deposited: 17 Jan 2007 Last modified: 11 Nov 2024 16:11 URI: https://strathprints.strath.ac.uk/id/eprint/2456