summaryrefslogtreecommitdiff
path: root/doc/reference/ReferencePartAppendix.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/ReferencePartAppendix.tex')
-rw-r--r--doc/reference/ReferencePartAppendix.tex21
1 files changed, 12 insertions, 9 deletions
diff --git a/doc/reference/ReferencePartAppendix.tex b/doc/reference/ReferencePartAppendix.tex
index f898019272..98b9e6ecc0 100644
--- a/doc/reference/ReferencePartAppendix.tex
+++ b/doc/reference/ReferencePartAppendix.tex
@@ -227,22 +227,25 @@ grammar.
$\mbox{\rm\em without}$ {CharNoRef}`{'CharB {CharNoRef}
$\mbox{\rm\em and without}$ {CharNoRef}`]]>'{CharNoRef}
- Reference, Char, NameChar, S, Comment, CombiningChar, Extender
- ::= $\mbox{\rm\em ``as in W3C XML''}$
+ BaseChar, Char, Comment, CombiningChar, Ideographic, NameChar, S, Reference
+ ::= $\mbox{\rm\em ``as in W3C XML''}$
- Char1 ::= Char $\mbox{\rm\em without}$ `<' | `&'
- CharQ ::= Char1 $\mbox{\rm\em without}$ `"'
- CharA ::= Char1 $\mbox{\rm\em without}$ `''
- CharB ::= Char1 $\mbox{\rm\em without}$ '{'
+ Char1 ::= Char $\mbox{\rm\em without}$ `<' | `&'
+ CharQ ::= Char1 $\mbox{\rm\em without}$ `"'
+ CharA ::= Char1 $\mbox{\rm\em without}$ `''
+ CharB ::= Char1 $\mbox{\rm\em without}$ '{'
- Name ::= $\mbox{\rm\em ``as in W3C XML'', but without }$ ':'
+ Name ::= XNameStart {NameChar}
+
+ XNameStart ::= `_' | BaseChar | Ideographic
+ $\mbox{\rm\em (as in W3C XML, but without }$ `:'
ElemPattern ::= EmptyElemTagP
- | STagP ContentP ETagP
+ | STagP ContentP ETagP
EmptyElemTagP ::= '<' Name [S] '/>'
STagP ::= '<' Name [S] '>'
- ETagP ::= '</' Name [S] '>'
+ ETagP ::= '</' Name [S] '>'
ContentP ::= [CharData] {(ElemPattern|ScalaPatterns) [CharData]}
ScalaPatterns ::= '{' patterns '}'