Abstract
In this paper we present a flexible similarity assessment framework for XML documents and describe its usage on the exam- ple of XML-based fault diagnosis for remote fieldbus automation sys- tems. Our approach combines the expressive power of both XQL and Java to overcome the limitations of standard XML query languages and to provide a convenient platform for rapid definition of distance func- tion for any kind of XML structured data. The presented framework allows the extraction of fragments from XML documents, the wrapping of these fragments in any desired Java objects, the dynamic invocation of Java methods with the created objects as parameters and the com- putation of a scalar overall result from the partial results which can be interpreted as a distance value. The actual mapping of XML fragments to Java instances assessing their similarity is specified by an XML to Java Mapping Language (XJML) XML document in a formal and flexi- ble way. The framework consists of the XML to Java mapping concept, the XJML DTD, and various Java packages to evaluate an XJML-based nearest neighbor search on local documents or on XQL query result sets of (remote) XML database systems.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
K. Arnold, J. Gosling, and D. Holmes. The Java Programming Language. Addison-Wesley, Reading, Massachusetts, third edition, 2000.
Dieter Buhler. The CANopen Markup Language-Representing fieldbus data with XML. In Proc. of the 26th IEEE International Conference on Industrial Electronics, Control and Instrumentation (IECON 2000), Nagoya, Japan, October 2000. IEEE.
Dieter Buhler and Gruhler Gerhard. XML-based representation and monitoring of CAN devices. In Proc. of the 7th International CAN Conference (ICC 2000), Amsterdam, The Netherlands, October 2000. CAN in Automation (http://www.can-cia.com).
Dieter Bühler and Wolfgang Küchlin. Remote fieldbus system management with Java and XML. In Proc. of the IEEE International Symposium on Industrial Electronics (ISIE 2000), Puebla, Mexico, December 2000. IEEE Computer Society Press (to appear).
Can In Automation (CiA) e.V., Erlangen, Germany. CANopen Communication Profile for Industrial Systems, Based on CAL, 1996. CiA Draft Standard 301.
S. Ceri, S. Comai, E. Damiani, P. Fraternali, S. Paraboschi, and L. Tanca. XML-GL: A graphical language for querying and restructuring XML documents. In Proc. of the 8th International World Wide Web Conference (WWW8), Totonto, Canada, May 1999. Elsevier Science.
K. L. Clarkson. Nearest neighbor queries in metric spaces. In Proc. of the 29th ACM Symposium on Theory of Computing (STOC 97), El Paso, TX USA, May 1997.
D. Deutsch, M. Fernandez, D. Florescu, A. Levy, and D. Suciu. XML-QL: A Query Language for XML. World Wide Web Consortium (W3C), http://www.w3c.org/-TR/NOTE-xml-ql/, 1998.
ISO. ISO 11898-Road Vehicles, Interchange of Digital Information-Controller Area Network (CAN) for High-Speed Communication, 1993.
M. Marchiori and M. Fernandez. XML Query. World Wide Web Consortium (W3C), http://www.w3.org/2000/Talks/www9-xmlquery/, 2000.
OPC Foundation. OPC and Microsoft start XML initiative. OPC Quarterly, 2(4), Dec 1999.
Jonathan Robie, Joe Lapp, and David Schach. XML Query Language (XQL). World Wide Web Consortium (W3C), http://www.w3c.org/TandS/QL/QL98/-pp/xql.html, 1998.
N. Roussopoulos, S. Kelley, and F. Vincent. Nearest neighbor queries. In Proc. of the ACM International Conference on Management of Data (SIGMOD 95), San Jose, CA USA, May 1995.
Ralf-Dieter Schimkat, Matthias Häußer, Wolfgang Küchlin, and Rainer Krautter. Web application middleware to support XML-based monitoring in distributed systems. In Proc. of the ISCA 13th International Conference on Computer Applications in Industry and Engineering (CAINE-2000), Honolulu, Hawaii USA, November 2000.
Sun Microsystems, http://java.sun.com/xml/download.html. Java API for XML Processing.
Martin Wollschlaeger. CANopen Device Descriptions using general purpose modeling languages. In Proc. of the 6th International CAN Conference (ICC 99), Torino, Italy, November 1999. CAN in Automation (http://www.can-cia.com).
World Wide Web Consortium (W3C), http://www.w3c.org/TR/REC-DOM-Level-1/. Document Object Model (DOM) Level 1 Specification, 1998.
P. N. Yianilos. Data structures and algorithms for nearest neighbor search in general metric spaces. In Proc. of the ACM-SIAM Symposium on Discrete Algorithms, Austin, TX USA, January 1993.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2001 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Bühler, D., Küchlin, W. (2001). Flexible Similarity Assessment for XML Documents Based on XQL and Java Reflection. In: Monostori, L., Váncza, J., Ali, M. (eds) Engineering of Intelligent Systems. IEA/AIE 2001. Lecture Notes in Computer Science(), vol 2070. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45517-5_21
Download citation
DOI: https://doi.org/10.1007/3-540-45517-5_21
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-42219-8
Online ISBN: 978-3-540-45517-2
eBook Packages: Springer Book Archive