Quantcast
Channel: XWiki Forum - Latest topics
Viewing all articles
Browse latest Browse all 1369

HTML 4.01 as output syntax

$
0
0

Hello all,

the rendering framework page states that HTML 4.01 is supported as output syntax,
but in github there is just a parser, no renderer and when trying to render to HTML 4.01 syntax I get an error. XHTML 1.0 works fine, I also have the required org.xwiki.rendering:xwiki-rendering-syntax-html dependency. Is HTML 4.01 still supported as output syntax?

org.xwiki.rendering.converter.ConversionException: Failed to locate Renderer for syntax [HTML 4.01]
	at org.xwiki.rendering.internal.converter.DefaultConverter.convert(DefaultConverter.java:95)
	at com.rendering.wiki.MyConverter.convert(MyConverter.java:33)
	at com.rendering.wiki.Main.convertPage(Main.java:67)
	at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:986)
	at com.rendering.wiki.Main.convertTree(Main.java:42)
	at com.rendering.wiki.App.lambda$main$1(App.java:31)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at com.rendering.wiki.App.main(App.java:31)
	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:254)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: org.xwiki.component.manager.ComponentLookupException: Can't find descriptor for the component with type [interface org.xwiki.rendering.renderer.BlockRenderer] and hint [html/4.01]
	at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:304)
	at org.xwiki.rendering.internal.converter.DefaultConverter.convert(DefaultConverter.java:93)
	... 17 common frames omitted

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1369

Trending Articles