Verification Theories for XML Schema

  • Suad Alagić
  • Mark Royer
  • David Briggs
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4042)


XML Schema types and structures are represented as theories of a verification system, PVS, for proving properties related to XML schemas. Type derivations by restriction and extension as defined in XML Schema are represented in the PVS type system using predicate subtyping. Availability of parametric polymorphism in PVS makes it possible to represent XML sequences and sets via PVS theories. Transaction verification methodology is based on declarative, logic-based specification of frame constraints and the actual transaction updates. XML applications, including constraints typical for XML schemas, such as keys and referential integrity, have been verified.


Proof Strategy Type Derivation Referential Integrity Parametric Polymorphism Behavioral Compatibility 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Alagić, S., Bernstein, P.A.: A model theory for generic schema management. In: Ghelli, G., Grahne, G. (eds.) DBPL 2001. LNCS, vol. 2397, pp. 228–246. Springer, Heidelberg (2002)CrossRefGoogle Scholar
  2. 2.
    Alagić, S., Logan, J.: Consistency of Java transactions. In: Lausen, G., Suciu, D. (eds.) DBPL 2003. LNCS, vol. 2921, pp. 71–89. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  3. 3.
    Alagić, S., Briggs, D.: Semantics of Objectified XML. In: Lausen, G., Suciu, D. (eds.) DBPL 2003. LNCS, vol. 2921, pp. 147–165. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  4. 4.
    Alagić, S., Kouznetsova, S.: Behavioral compatibility of self-typed theories. In: Magnusson, B. (ed.) ECOOP 2002. LNCS, vol. 2374, pp. 585–608. Springer, Heidelberg (2002)CrossRefGoogle Scholar
  5. 5.
    Archer, M., Di Vito, B., Munoz, C.: Developing user strategies in PVS: A tutorial. In: Proceedings of STRATA 2003 (2003)Google Scholar
  6. 6.
    Buneman, P., Davidson, S., Fan, W., Hara, C., Tan, W.-C.: Reasoning about keys for XML. In: Ghelli, G., Grahne, G. (eds.) DBPL 2001. LNCS, vol. 2397, pp. 133–148. Springer, Heidelberg (2002)CrossRefGoogle Scholar
  7. 7.
    Fan, W., Simeon, J.: Integrity constraints for XML. Journal of Computer and System Sciences 66, 254–291 (2003)MATHCrossRefMathSciNetGoogle Scholar
  8. 8.
    Hosoya, H., Pierce, B.: XDuce: A typed XML processing language. ACM Transactions on Internet Technology 3(2), 117–148 (2003)CrossRefGoogle Scholar
  9. 9.
    Hosoya, H., Frisch, A., Castagna, G.: Parametric polymorphism for XML. In: Proceedings of POPL 2005, pp. 50–62. ACM, New York (2005)CrossRefGoogle Scholar
  10. 10.
    Kuper, G.M., Simeon, J.: Subsumption for XML types. In: Van den Bussche, J., Vianu, V. (eds.) ICDT 2001. LNCS, vol. 1973, pp. 331–345. Springer, Heidelberg (2000)CrossRefGoogle Scholar
  11. 11.
    Owre, S., Shankar, N., Rushby, J.M., Stringer-Clavert, D.W.J.: PVS Language Reference. SRI International, Computer Science Laboratory, Menlo Park, CaliforniaGoogle Scholar
  12. 12.
    Owre, S., Shankar, N.: Writing PVS proof strategies, Computer Science Laboratory, SRI International,
  13. 13.
    Sheard, T., Stemple, D.: Automatic verification of database transaction safety. ACM Transactions on Database Systems 14, 322–368 (1989)CrossRefGoogle Scholar
  14. 14.
    Spelt, D., Even, S.: A theorem prover-based analysis tool for object-oriented databases. In: Cleaveland, W.R. (ed.) ETAPS 1999 and TACAS 1999. LNCS, vol. 1579, pp. 375–389. Springer, Heidelberg (1999)CrossRefGoogle Scholar
  15. 15.
    Simeon, J., Wadler, P.: The Essence of XML. In: Proceedings of POPL 2003, pp. 1–13. ACM, New York (2003)CrossRefGoogle Scholar
  16. 16.
    W3C: XML Schema Part 0: Primer, 2nd edn.,
  17. 17.
    W3C: XML Schema Part 1: Structures, 2nd edn.,

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Suad Alagić
    • 1
  • Mark Royer
    • 1
  • David Briggs
    • 1
  1. 1.Department of Computer ScienceUniversity of Southern MainePortlandUSA

Personalised recommendations