diff options
Diffstat (limited to 'misc/xml-grammar')
| -rw-r--r-- | misc/xml-grammar | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/xml-grammar b/misc/xml-grammar new file mode 100644 index 0000000..023e166 --- /dev/null +++ b/misc/xml-grammar | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | document ::= prolog element misc* | ||
| 2 | |||
| 3 | prolog ::= XMLDecl misc* (doctypedecl misc*)? | ||
| 4 | |||
| 5 | XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? ws? '?>' | ||
| 6 | |||
| 7 | VersionInfo ::= ws | ||
