ACTION (2021-08-004): Steven to create list of existing requirements

I think this covers them all.
Steven

Requirements for ixml v1

* Convert context-free non XML documents to XML.
* Unicode.
* Simple.
* Don't require the user to understand the fine points of parser theory
   * Therefore deal with ambiguity.
* Flexible
* User-oriented, not machine-oriented: user needs weigh heavier than 
machine needs.
* No need to do what other things in the XML pipeline can do better (eg, no 
transformations)
* Don't have to be able to produce any particular XML (eg no Markdown to 
XHTML).

Extra possibilities

* Use other serialisations than XML

Identified additions for v2

* Textual insertions
* Element renaming
    date: iso; regular.
    regular: s?, day, s, month, s, year.
    s: -" "+.
    day: digit, digit?.
    -digit: ["0"-"9"].
    month: "January"; "February"; "March"; "April"; "May"; "June"; "July"; 
"August"; "September"; "October"; "November"; "December".
    year: digit, digit, digit, digit.
    iso: year, "-", numeric^month, "-", day.
    numeric^month: digit, digit. {numeric^month is serialised as <month>}
* Context sensitivity
* Namespaces

Received on Tuesday, 14 December 2021 11:38:34 UTC