Dual syntax for XML languages

被引:0
|
作者
Brabrand, C [1 ]
Moller, A [1 ]
Schwartzbach, MI [1 ]
机构
[1] Univ Aarhus, BRICS, DK-8000 Aarhus C, Denmark
来源
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
XML is successful as a machine processable data interchange format, but it is often too verbose for human use. For this reason, many XML languages permit an alternative more legible non-XML syntax. XSLT stylesheets are often used to convert from the XML syntax to the alternative syntax; however, such transformations are not reversible since no general tool exists to automatically parse the alternative syntax back into XML. We present XSugar, which makes it possible to manage dual syntax for XML languages. An XSugar specification is built around a context-free grammar that unifies the two syntaxes of a language, Given such a specification, the XSugar tool can translate from alternative syntax to XML and vice versa. Moreover, the tool statically checks that the transformations are reversible and that all XML documents generated from the alternative syntax are valid according to a given XML schema.
引用
收藏
页码:27 / 41
页数:15
相关论文
共 50 条
  • [1] Dual syntax for XML languages
    Brabrand, Claus
    Moller, Anders
    Schwartzbach, Michael I.
    [J]. INFORMATION SYSTEMS, 2008, 33 (4-5) : 385 - 406
  • [2] SYNTAX OF CONDITIONAL LANGUAGES
    RAMBAUD, C
    [J]. JOURNAL OF SYMBOLIC LOGIC, 1983, 48 (04) : 1226 - 1227
  • [3] ON SYNTAX OF ALGORITHMIC LANGUAGES
    GILBERT, P
    [J]. JOURNAL OF THE ACM, 1966, 13 (01) : 90 - &
  • [4] XML syntax conscious compression
    Harrusi, S.
    Averbuch, A.
    Yehudai, A.
    [J]. DCC 2006: DATA COMPRESSION CONFERENCE, PROCEEDINGS, 2006, : 402 - +
  • [5] Query languages and XML
    Chamberlin, DD
    [J]. 2001 INTERNATIONAL DATABASE ENGINEERING & APPLICATIONS SYMPOSIUM, PROCEEDINGS, 2001, : 297 - 300
  • [6] Updating XML views and querying XML views with update syntax
    Cong, Gao
    Li, Yingxin
    [J]. INTERNATIONAL JOURNAL OF COMPUTATIONAL SCIENCE AND ENGINEERING, 2010, 5 (02) : 118 - 126
  • [7] Comparative syntax of Balkan languages
    Terzi, A
    [J]. JOURNAL OF LINGUISTICS, 2003, 39 (02) : 431 - 433
  • [8] The acquisition of syntax in Romance languages
    Nuessel, Frank
    [J]. MODERN LANGUAGE JOURNAL, 2008, 92 (02): : 327 - 328
  • [9] On the Complexity of the Syntax of Tree Languages
    Bozapalidis, Symeon
    Kalampakas, Antonios
    [J]. ALGEBRAIC INFORMATICS, 2009, 5725 : 189 - +
  • [10] Prosody and syntax in sign languages
    Sandler, Wendy
    [J]. TRANSACTIONS OF THE PHILOLOGICAL SOCIETY, 2010, 108 (03) : 298 - 328