Skip to content

Commit

Permalink
Support Relax NG <mixed/> element.
Browse files Browse the repository at this point in the history
  • Loading branch information
vandenoever committed Aug 14, 2015
1 parent 95446dd commit 9cab08e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webodf/tools/odfRng2Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ function handleChildElements(e, defs, current, elements, attributes, defines) {
handleChildElements(c, defs, info, elements, attributes, defines);
} else if (isRng("text", c)) {
current.text = true;
} else if (isRng("mixed", c)) {
current.text = true;
handleChildElements(c, defs, current, elements, attributes, defines);
} else if (isRng("data", c)) {
current.data = true;
} else if (isRng("value", c)) {
Expand Down

0 comments on commit 9cab08e

Please sign in to comment.