quotes in canonical forms
David Brownell
david-b at pacbell.net
Wed Jan 19 04:46:42 GMT 2000
Richard Tobin wrote:
>
> In http://www.oasis-open.org/committees/xmltest/sun/cxml.html,
> the second and third canonical forms have
>
> PubidLiteral ::= '"' PubidChar* '"'
> SystemLiteral ::= '"' [^"]* '"'
>
> The literals are quoted with double quotes. But in (eg)
> sun/valid/out/sa04.xml the output has single quotes:
>
> <!NOTATION bar SYSTEM 'file:/dev/tty'>
>
> Which is canonical?
It'd appear that that draft is wrong, and single quotes
should be used, eh? :-)
As for how these relate to the W3C canonical form stuff,
I should read that document; it wasn't clear from looking
at its requirements that it was intended to support apps
such as conformance testing.
- Dave
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer to OASIS.
More information about the Xml-dev
mailing list