Maven Doxia

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.

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:
  • 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

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: