diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-09-13 21:32:58 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-09-13 21:32:58 +0000 |
commit | 7b4362ec118bb69d0d2aaee01941cb85a36efa79 (patch) | |
tree | a3a99c8dabf5d14d5fa4e6deca6089bdd7ae3ab1 /bindings | |
parent | e7ff9191f39fa5a0f48168f51f55f1f7556d5993 (diff) |
Comment to XML conversion: we try not to emit empty <Discussion> elements, but
it is not possible to guarantee that without duplicating logic or buffering
<Discussion> element contents. So, allow empty <Discussion> elements in schema.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/xml/comment-xml-schema.rng | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/xml/comment-xml-schema.rng b/bindings/xml/comment-xml-schema.rng index a0329f8c3d..3942903788 100644 --- a/bindings/xml/comment-xml-schema.rng +++ b/bindings/xml/comment-xml-schema.rng @@ -294,9 +294,9 @@ <define name="Discussion"> <element name="Discussion"> - <oneOrMore> + <zeroOrMore> <ref name="TextBlockContent" /> - </oneOrMore> + </zeroOrMore> </element> </define> |