For a core profile, if we can't use EBNF as a syntax, I started to
wonder about a state diagram
reducing the parse to a line based task, which seems more reasonable.
With that in mind, attached, an md file and an svg from the .dot file,
for consideration
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk