Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » [wikitext-to-xslfo] Empty
[wikitext-to-xslfo] Empty [message #600803] Mon, 22 February 2010 17:05 Go to next message
Nicolas Guyomar is currently offline Nicolas GuyomarFriend
Messages: 29
Registered: February 2010
Location: Nantes (France)
Junior Member
Hi everyone

I'm getting an error while using wikitext-to-xslfo.

Each of my generated XSL-FO files contain an empty "static-content" feature.
modisco.fo:1:392: Error(1/392): fo:static-content is missing child elements.
[fop] Required Content Model: (%block;)+

If I had a simple <block/> inside of this first feature, everything works fine to generate the PDF

My mediawiki file seems to be fine because it works with "wikitext-to-eclipse-help" to generate Eclipse HEllp Content

<wikitext-to-xslfo
markupLanguage="org.eclipse.mylyn.wikitext.mediawiki.core.MediaWikiLanguage "
pageBreakOnHeading1="false">
<fileset dir="${tmpFolder}" includes="**/*.mediawiki"/>
</wikitext-to-xslfo>


Regards
Nicolas


Re: [wikitext-to-xslfo] Empty [message #600846 is a reply to message #600803] Thu, 25 February 2010 00:36 Go to previous message
David Green is currently offline David GreenFriend
Messages: 96
Registered: July 2009
Member
If you file a bug ( https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Mylyn&am p;component=WikiText) and attach your
mediawiki source I'll take a look.

Thanks,

David

On 22/02/10 9:05 AM, Nicolas Guyomar wrote:
> Hi everyone
>
> I'm getting an error while using wikitext-to-xslfo.
>
> Each of my generated XSL-FO files contain an empty "static-content"
> feature.
> modisco.fo:1:392: Error(1/392): fo:static-content is missing child
> elements. [fop] Required Content Model: (%block;)+
>
> If I had a simple <block/> inside of this first feature, everything
> works fine to generate the PDF
>
> My mediawiki file seems to be fine because it works with
> "wikitext-to-eclipse-help" to generate Eclipse HEllp Content
>
> <wikitext-to-xslfo
> markupLanguage="org.eclipse.mylyn.wikitext.mediawiki.core.MediaWikiLanguage "
>
> pageBreakOnHeading1="false">
> <fileset dir="${tmpFolder}" includes="**/*.mediawiki"/>
> </wikitext-to-xslfo>
>
>
> Regards
> Nicolas
Previous Topic:[mediawiki] Problem with underscore character
Next Topic:[WikiText] Is there any HTML to WikiText translator in java?
Goto Forum:
  


Current Time: Sat Apr 20 02:35:43 GMT 2024

Powered by FUDForum. Page generated in 0.03204 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top