Improving self-interpretation of XML-based business documents by introducing derived elements

作者:

Highlights:

摘要

XML is becoming the standard for document description in a B2B setting, and XML Schema is gaining wide acceptance as the schema language to define the structure of these documents. Business documents such as those currently found in B2B applications, frequently comprise derived elements, i.e. elements whose content can be calculated through a deriving function that examines the content of other elements. Based on this observation, this work advocates incorporating the notion of derived elements in XML Schema. Despite its wide presence, the notion of derived elements is not yet supported in XML Schema. To this end two issues are addressed: (1) the implicitness of current approaches to deriving function support for XML documents, and (2) the externality of some deriving data which participate in the deriving function. These aspects are respectively tackled both (1) by moving the derivation semantics to the document schema, and (2) by proposing an attachment where the deriving elements are recorded. These ideas have been realized by extending a JAXP-compliant XML parser. Now, this parser can be configured to become “derivation aware”. That is, the schemata is now enriched with deriving functions. At parsing time, these functions are interpreted, and the returned values become the content of the associated derived elements.

论文关键词:XML schema,Derived data,B2B applications,Business documents

论文评审过程:Received 4 September 2003, Revised 12 July 2004, Accepted 8 December 2004, Available online 23 May 2005.

论文官网地址:https://doi.org/10.1016/j.elerap.2004.12.003