[
Lists Home |
Date Index |
Thread Index
]
- From: "Don Park" <donpark@docuverse.com>
- To: "'Rick Jelliffe'" <ricko@allette.com.au>, <xml-dev@ic.ac.uk>
- Date: Tue, 23 Nov 1999 01:21:33 -0800
>which is hardly complex. Presumably, your SML would be
>something like this
>
>[1] canonXML ::= (Comment | #xA)* element (Comment | #xA)*
>[2] element ::= ( Stag (Datachar | element | Comment )* Etag )
>| Mtag
>[3] Stag ::= '<' Name NSDecl? (Att NSDecl?)* '>'
>[4] Etag ::= '</' Name '>'
>[5] NSDecl ::= #x20 'xmlns:' Prefix '=' '"' Attvalchar* '"'
>[6] Att ::= #x20 Name '=' '"' Attvalchar* '"'
>[7] Datachar ::= '&' | '<' | '>' | (Char -
>('&' | '<'
>| '>' | #x9 | #xA | | #xD ))
>[8] Attvalchar ::= '&' | '<' | '"' | (Char - ('&'
>| '<' | '"' | #x9 | #xA | #xD))
>[9] Name ::= (Prefix ':')? NCName
>[10] Prefix ::= 'n' [1-9] [0-9]*
>[11] Comment ::= '<!--' (Char+ - (Char* '-->')))? '-->'
>[12 ] Mtag ::= '<' Name NSDecl? (Att NSDecl?)* '/>'
>
>Which is the same level of complexity. You take out PIs and
>add comments and empty start tags.
No. SML will be simpler even. Remove comment and everything
related to namespace out. Namespace is not supported at SML
level. Assuming that attribute support is left in SML, SML can
work with the XML Namespace spec.
Best,
Don Park - mailto:donpark@docuverse.com
Docuverse - http://www.docuverse.com
>
>
>Rick Jelliffe
>
>
>xml-dev: A list for W3C XML Developers. To post,
mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN
981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following
message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|