Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
bc61f00f
Commit
bc61f00f
authored
Apr 19, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 692985 - Notes in xml output are not correctly separated
parent
653a2a8b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
compound.xsd
src/compound.xsd
+0
-1
xmldocvisitor.cpp
src/xmldocvisitor.cpp
+6
-2
indexpage.xml
testing/006/indexpage.xml
+2
-1
No files found.
src/compound.xsd
View file @
bc61f00f
...
...
@@ -473,7 +473,6 @@
<xsd:element
name=
"title"
type=
"docTitleType"
minOccurs=
"0"
/>
<xsd:sequence
minOccurs=
"0"
maxOccurs=
"unbounded"
>
<xsd:element
name=
"para"
type=
"docParaType"
minOccurs=
"1"
maxOccurs=
"unbounded"
/>
<xsd:element
name=
"simplesectsep"
type=
"docEmptyType"
minOccurs=
"0"
/>
</xsd:sequence>
</xsd:sequence>
<xsd:attribute
name=
"kind"
type=
"DoxSimpleSectKind"
/>
...
...
src/xmldocvisitor.cpp
View file @
bc61f00f
...
...
@@ -337,9 +337,13 @@ void XmlDocVisitor::visit(DocIndexEntry *ie)
"</indexentry>"
;
}
void
XmlDocVisitor
::
visit
(
DocSimpleSectSep
*
)
void
XmlDocVisitor
::
visit
(
DocSimpleSectSep
*
sep
)
{
m_t
<<
"<simplesectsep/>"
;
if
(
sep
->
parent
()
&&
sep
->
parent
()
->
kind
()
==
DocNode
::
Kind_SimpleSect
)
{
visitPost
((
DocSimpleSect
*
)
sep
->
parent
());
// end current section
visitPre
((
DocSimpleSect
*
)
sep
->
parent
());
// start new section
}
}
void
XmlDocVisitor
::
visit
(
DocCite
*
cite
)
...
...
testing/006/indexpage.xml
View file @
bc61f00f
...
...
@@ -7,7 +7,8 @@
<para>
<simplesect
kind=
"author"
>
<para>
John Doe
</para>
<simplesectsep/>
</simplesect>
<simplesect
kind=
"author"
>
<para>
Jane Doe
</para>
</simplesect>
<simplesect
kind=
"authors"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment