From 2def21fb834e630ddff50b7288976fa91a1f2d8b Mon Sep 17 00:00:00 2001 From: albert-github Date: Mon, 18 Mar 2019 13:05:08 +0100 Subject: Correcting errors in xml generation and xsd schema - `xmlgen.cpp` make count test identical to restrictions in `generateXMLForMember` - `index.xsd` add missing selection possibility - `compound.xsd` - add missing `block` possibility for htmlonly - add missing `private` and `protected` possibilities - get order in description type right - make `sect[1-4]` more flexible - adding missing elements like `msc`, `linebreak` at the appropriate places - adding `vhdl` coloring enumeration values - adding `docbook` possibility for images results have been tested (a.o.) doxygen tests, doxygen examples, doxygen docu, CGAL source code. --- src/xmlgen.cpp | 3 ++- templates/xml/compound.xsd | 63 +++++++++++++++++++++++++++++++++------------- templates/xml/index.xsd | 1 + 3 files changed, 48 insertions(+), 19 deletions(-) diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 420a653..2e2ddf9 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -1050,7 +1050,8 @@ static void generateXMLSection(Definition *d,FTextStream &ti,FTextStream &t, int count=0; for (mli.toFirst();(md=mli.current());++mli) { - if (memberVisible(d,md)) + if (memberVisible(d,md) && (md->memberType()!=MemberType_EnumValue) && + !md->isHidden()) { count++; } diff --git a/templates/xml/compound.xsd b/templates/xml/compound.xsd index 33310aa..e4ca883 100644 --- a/templates/xml/compound.xsd +++ b/templates/xml/compound.xsd @@ -64,6 +64,14 @@ + + + + + + + + @@ -164,7 +172,11 @@ + + + + @@ -196,8 +208,8 @@ + - @@ -314,39 +326,47 @@ - - - - + + + + + + - - - - + + + + + + - - - - + + + + + + - - - + + + + + @@ -397,18 +417,20 @@ - + + + @@ -525,8 +547,8 @@ + - @@ -835,6 +857,10 @@ + + + + @@ -870,6 +896,7 @@ + diff --git a/templates/xml/index.xsd b/templates/xml/index.xsd index d7ab2a9..04cb2f1 100644 --- a/templates/xml/index.xsd +++ b/templates/xml/index.xsd @@ -41,6 +41,7 @@ + -- cgit v0.12