Skip to main content

Context-Free Grammars and XML Languages

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 4036))

Abstract

We study the decision properties of XML languages. It was known that given a context-free language included in the Dyck language with sufficiently many pairs of parentheses, it is undecidable whether or not it is an XML language. We improve on this result by showing that the problem remains undecidable when the language is written on a unique pair of parentheses. We also prove that if the given language is deterministic, then the problem is decidable; while establishing whether its surfaces are regular turns out to be undecidable whenever the deterministic language is contained in the Dyck language with two pairs of parentheses. Our results are based on a “pumping property” of what Boasson and Berstel call the surface of a context-free language.

Partially supported by MURST, under the project “COFIN: Automi e linguaggi formali: aspetti matematici ed applicativi”.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Berstel, J., Boasson, L.: Formal properties of XML grammars and languages. Acta Inf. 38, 649–671 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  2. Book, R., Even, S., Greibach, S., Ott, G.: Ambiguity in graphs and expressions. IEEE Trans. Comput. C-20, 149–153 (1971)

    Article  MathSciNet  Google Scholar 

  3. Hopcroft, J., Ullman, J.: Formal Languages and their relation to automata. Addison-Wesley, Reading (1969)

    MATH  Google Scholar 

  4. Knuth, D.E.: A characterization of parenthesis languages. Inf. Cont. 11, 269–289 (1967)

    Article  MATH  Google Scholar 

  5. Lohrey, M.: Word problems and membership problems on compressed words (preprint, 2004), http://www.informatik.uni-stuttgart.de/fmi/ti/mitarbeiter/Lohrey

  6. Senizergues, G.: L(A)=L(B)? decidability results from complete formal systems. Theor. Comp. Sci. 251, 1–166 (2001)

    Article  MATH  MathSciNet  Google Scholar 

  7. Stearns, R.E.: A regularity test for pushdown machines. Inf. Cont. 11, 323–340 (1967)

    Article  MATH  Google Scholar 

  8. W3C Recommendation REC-xml-19980210. Extensible Markup Language (XML) 1.0 (February 10, 1998), http://www.w3.org/TR/REC-XML

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Bertoni, A., Choffrut, C., Palano, B. (2006). Context-Free Grammars and XML Languages. In: Ibarra, O.H., Dang, Z. (eds) Developments in Language Theory. DLT 2006. Lecture Notes in Computer Science, vol 4036. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11779148_11

Download citation

  • DOI: https://doi.org/10.1007/11779148_11

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-35428-4

  • Online ISBN: 978-3-540-35430-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics