gscheibel / asciidoctor-confluence

MIT License
14 stars 5 forks source link

Problems creating confluence page: Error parsing xhtml #1

Open paulwellnerbou opened 9 years ago

paulwellnerbou commented 9 years ago

I get this error message:

An error occurred, the page has not been created because:
Error parsing xhtml

The confluence (5.7.5) is behind an HTTPS URL. Should it work with HTTPS? Is this error message coming from confluence or from parsing the asciidoc result?

Is there a way to make this a bit more verbose?

jaredmorgs commented 9 years ago

Yep, I'm getting this issue as well. And my confluence host is behind HTTPS as well.

kevinquillen commented 8 years ago

Same here. No further error is given.

rdmueller commented 8 years ago

for me, this error message sound like it is coming from confluence. You could check if you get the same error message with this groovy script: https://github.com/rdmueller/asciidoc2confluence

kevinquillen commented 8 years ago

For me, I had to convert ampersands to & in URLs like links or img src values. Once I did that, I stopped getting this error (from Confluence).

arjunshukla commented 8 years ago

Use body.storage.value if you are fetching from confluence to post to another confluence. Or refer this document: https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html

gbougeard commented 8 years ago

I have the same issue. It looks like it does not understand some syntaxes like :

`service` ::
 _(mandatory)_ ::
 name of the service
mojavelinux commented 8 years ago

If this problem still exists, it should be filed in the upstream repository.

See https://github.com/asciidoctor/asciidoctor-confluence

gbougeard commented 8 years ago

@mojavelinux so do you think this is a duplicate of https://github.com/asciidoctor/asciidoctor-confluence/issues/7 or shall we fill a new one?

mojavelinux commented 8 years ago

Yes, that appears to be the correct upstream issue. If a change was made, it would need to go into that repository, which is why I mention it.

ghost commented 4 years ago

If solution from asciidoctor/asciidoctor-confluence#7 does not work, try with -- -b xhtml5 -S safe -s.

rdmueller commented 4 years ago

@maniedzi If you need to publish asciidoc to confluence, you might want to try the publishToConfluence feature of docToolchain. It is under active development. (I am one of the main committers)

another project capable of doing this is https://github.com/confluence-publisher/confluence-publisher