HTML5 transformation using XSL fails: The entity "auml" was referenced, but not declared
HTML5 transformation using XSL fails: The entity "auml" was referenced, but not declared
I'm trying to use Oxygen XML Editor 25.1 as Eclipse plugin to perform an XSL transformation on a fairly simple HTML5 source document. In other words, I'm trying to do in the IDE what works trivially from the command line with Saxon-HE using the following shell command:
java -cp 'Saxon-HE-12.5.jar:xmlresolver-6.0.11.jar:tagsoup-1.2.1.jar' net.sf.saxon.Transform -x:org.ccil.cowan.tagsoup.Parser -s:$HOME/xml/in.html -xsl:$HOME/xml/transform.xsl
To achive the same In OxygenXML, I added the file: URL to the tagsoup.jar as an extension in my transformation scenario, then created a Saxon configuration file as shown below and added that also in the transformation scenario. I'm not getting any indication as to whether that parser class can be successfully loaded at runtime or not; I tried with an invalid class name as well, the output (see below) never changes.
When executing the scenario, I always get the following error:
The entity "auml" was referenced, but not declared.
How comes?
My saxon-config.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://saxon.sf.net/ns/configuration" edition="PE">
<global parser="org.ccil.cowan.tagsoup.Parser"/>
</configuration>
java -cp 'Saxon-HE-12.5.jar:xmlresolver-6.0.11.jar:tagsoup-1.2.1.jar' net.sf.saxon.Transform -x:org.ccil.cowan.tagsoup.Parser -s:$HOME/xml/in.html -xsl:$HOME/xml/transform.xsl
To achive the same In OxygenXML, I added the file: URL to the tagsoup.jar as an extension in my transformation scenario, then created a Saxon configuration file as shown below and added that also in the transformation scenario. I'm not getting any indication as to whether that parser class can be successfully loaded at runtime or not; I tried with an invalid class name as well, the output (see below) never changes.
When executing the scenario, I always get the following error:
The entity "auml" was referenced, but not declared.
How comes?
My saxon-config.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://saxon.sf.net/ns/configuration" edition="PE">
<global parser="org.ccil.cowan.tagsoup.Parser"/>
</configuration>
Re: HTML5 transformation using XSL fails: The entity "auml" was referenced, but not declared
Hello,
The input HTML file and the stylesheet will be highly appreciated if provided so we can reproduce the problem on our side.
Please send them at: "support at oxygenxml dot com".
Regards,
Mircea
The input HTML file and the stylesheet will be highly appreciated if provided so we can reproduce the problem on our side.
Please send them at: "support at oxygenxml dot com".
Regards,
Mircea
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Re: HTML5 transformation using XSL fails: The entity "auml" was referenced, but not declared
Hello,
The <global parser="org.ccil.cowan.tagsoup.Parser"/> option from the saxon configuration file is the single option that is not correctly handled, since the XML/HTML source is already parsed in the moment of transformation si Saxon, i.e. the option is useless.
I will add an issue to solve this problem in a future version.
I will keep you informed as soon as we will fix it.
Regards,
Mircea.
The <global parser="org.ccil.cowan.tagsoup.Parser"/> option from the saxon configuration file is the single option that is not correctly handled, since the XML/HTML source is already parsed in the moment of transformation si Saxon, i.e. the option is useless.
I will add an issue to solve this problem in a future version.
I will keep you informed as soon as we will fix it.
Regards,
Mircea.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service