Bug 1098856
| Summary: | Asciidoc import error | ||
|---|---|---|---|
| Product: | [Community] PressGang CCMS | Reporter: | Matthew Casperson <mcaspers> |
| Component: | ImportTool | Assignee: | Matthew Casperson <mcaspers> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.6 | CC: | cbredesen, lnewson |
| Target Milestone: | --- | ||
| Target Release: | 1.7 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1091570 | ||
|
Description
Matthew Casperson
2014-05-19 04:10:18 UTC
Fixed in Build 1.7-SNAPSHOT 201406110926 Running asciidoctor -b docbook45 -d book -o - list_elements.asciidoc against the file above results in <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> <?asciidoc-toc?> <?asciidoc-numbered?> <book xmlns="http://docbook.org/ns/docbook" lang="en"> <bookinfo> <title>AsciiDoc Home Page</title> <date>2014-05-19</date> </bookinfo> <section id="_example_articles"> <title>Example Articles</title> <itemizedlist> <listitem> <simpara>Item 1</simpara> </listitem> <listitem> <simpara>Item 2</simpara> </listitem> <listitem> <simpara>Item 3</simpara> </listitem> </itemizedlist> </section> </book> Note that the output of this conversion is invalid, with chapters being added as children of the book. The import tool will now map any sections under a book to a chapter. Verified that the specified document imported correctly as both a book and an article. |