Thomas Beale wrote:
> 
> Dear all,
> 
> As part of the ADL 2.0 revision of syntax for archetypes, it occurred to 
> me that we could change / improve how we quote things, mainly in the 
> dADL parts (i.e. ontology and description). Currently the specification 
> says that quoting is done as follows:
> 
>     * < and > have to be quoted using \
>     * " in a string is quoted with \
>     * long lines in a string are extended using \
>     * special characters inside strings are written in the XML style
>       e.g. &ohmgr;
> 
> The first 3 are more or less the old style unix way of doing it. To be 
> more compatible with things today, including XML, I wonder if better 
> quoting rules would be:
> 
>     * < and > quoted in any data using &lt; and &gt;
>     * " in a string quoted with ...how is this done in XML?
>     * multiline strings would not require anything, and would be parsed
>       in the following way:
>           o keep the newline at the end of each line
>           o throw away any leading whitespace up until the character at
>             the indent point of the first quote character (i.e. the lead
>             '"') in the string. This means that internal whitespace is
>             preserved, but that the overall indent of the block is not
>             considered part of the string.
>     * special characters would continue to be quoted in the XML style
> 
> thoughts on this proposal?
> 
> - thomas beale
> 
> -- 
> ___________________________________________________________________________________
> CTO Ocean Informatics (http://www.OceanInformatics.biz)
> Research Fellow, University College London (http://www.chime.ucl.ac.uk)
> Chair Architectural Review Board, openEHR (http://www.openEHR.org)
> 
> - To unsubscribe from this list send a message to 
> majordomo at chime.ucl.ac.uk with "unsubscribe openehr-technical" in the 
> message body (without the quotes). If you have any questions about using 
> this list, please send a message to owner-openehr-technical at chime.ucl.ac.uk

This change seems to simply the BNF syntax used to generate ADL parsers. 
How you tried this already in your Eiffel parser?

Rong

Reply via email to