Empty sections are not valid in DocBook. See: http://asciidoc.org/faq.html#_asciidoc_sometimes_generates_invalid_output_markup_why
Cheers, Stuart On 02/02/13 04:33, inchoatus wrote: > Create the following file (contents delimited by ////)as test.txt: > > //// > > == Hello > > > == Hello 2 > > //// > > > Running "asciidoc test.txt" here succeeds and generates the HTML. But running > "a2x -v -f test.txt" terminates with the error: > > > a2x: ERROR: "xmllint" --nonet --noout --valid ".../test.xml" returned > non-zero exit status 4 > > > Adding content after the first and second headers and rerunning then will > successfully generate a PDF. > > > I like to plan my document structure in this way before writing content. > > > I'm running: > > > * asciidoc version 8.6.8 > > * installed via "ports" on MacOS 10.8.2 > > * python version 2.7.2 > > * dblatex version 0.3.4 > > > Thanks! > > I > > -- > You received this message because you are subscribed to the Google > Groups "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/asciidoc?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
