Maven Doxia
  1. Maven Doxia
  2. DOXIA-157

Doxia Book doesn't work with xdoc source files

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-alpha-9
    • Fix Version/s: 1.1
    • Component/s: Book
    • Labels:
      None
    • Number of attachments :
      1

      Description

      Files with xml extension are parsed by the docbook parser. Doxia book doesn't recognize the standard Maven site structure to determine the site module.

      1. gioMaven.rar
        123 kB
        Giovanni Pedone

        Activity

        Hide
        Giovanni Pedone added a comment -

        Hello,
        this is the project I tried with. I could generate the xdoc only.

        If need more informations I'll be gladly available to provide them

        thank you
        Giovanni

        Show
        Giovanni Pedone added a comment - Hello, this is the project I tried with. I could generate the xdoc only. If need more informations I'll be gladly available to provide them thank you Giovanni
        Hide
        Lukas Theussl added a comment -

        Just two comments about your project:

        • the generated xdocs are rubbish as well since they were produced via the docbook parser. It's just an accident, because xdoc and docbook are relatively similar formats, that the xdoc sink doesn't bomb (like the itext sink), but the result is still useless.

        None of this is of any importance for the current issue though...

        Show
        Lukas Theussl added a comment - Just two comments about your project: Your input file bindings.xml is not a valid xdoc: you need a <xml> declaration and the text "ciao ciao gio" should be inside a <p> tag (or any block level element, see http://maven.apache.org/doxia/references/xdoc-format.html ) the generated xdocs are rubbish as well since they were produced via the docbook parser. It's just an accident, because xdoc and docbook are relatively similar formats, that the xdoc sink doesn't bomb (like the itext sink), but the result is still useless. None of this is of any importance for the current issue though...
        Hide
        David Roussel added a comment -

        Lukas,

        There is no mention of using an xml declaration in http://maven.apache.org/doxia/references/xdoc-format.html, and also an xml declaration is optional according to the W3C XML 1.0 Recommendation.

        David

        Show
        David Roussel added a comment - Lukas, There is no mention of using an xml declaration in http://maven.apache.org/doxia/references/xdoc-format.html , and also an xml declaration is optional according to the W3C XML 1.0 Recommendation. David
        Hide
        Lukas Theussl added a comment -

        You're right, the xml declaration is not absolutely necessary, but SHOULD be included always [1] We should update our docs, just for the sake of being pedantic.

        [1] http://www.w3.org/TR/2006/REC-xml-20060816/#sec-prolog-dtd

        Show
        Lukas Theussl added a comment - You're right, the xml declaration is not absolutely necessary, but SHOULD be included always [1] We should update our docs, just for the sake of being pedantic. [1] http://www.w3.org/TR/2006/REC-xml-20060816/#sec-prolog-dtd

          People

          • Assignee:
            Lukas Theussl
            Reporter:
            Lukas Theussl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: