XSugar - Dual Syntax for XML Languages. 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. XSugar 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 (i.e. bidirectional) and that all XML documents generated from the alternative syntax are valid according to a given XML schema.
Keywords for this software
References in zbMATH (referenced in 5 articles , 1 standard article )
Showing results 1 to 5 of 5.
- Tan, Gang; Morrisett, Greg: Bidirectional grammars for machine-code decoding and encoding (2018)
- Møller, Anders; Schwartzbach, Michael: XML graphs in program analysis (2011)
- Brabrand, Claus; Giegerich, Robert; Møller, Anders: Analyzing ambiguity of context-free grammars (2010)
- Brabrand, Claus; Møller, Anders; Schwartzbach, Michael I.: Dual syntax for XML languages (2008) ioport
- Brabrand, Claus; Møller, Anders; Schwartzbach, Michael I.: Dual syntax for XML languages (2005)