[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#830483: natbraille: Please consider moving to Saxon-HE



Hello,

Eugene Zhukov, on Fri 08 Jul 2016 14:44:08 +0200, wrote:
> Please consider replacing saxonb dependency with Saxon-HE.

Unfortunately it seems to break natbraille. Using the attached test.odt
document:

$ natbraille $HOME/test.odt $HOME/test.txt
...
Warning: Stylesheet module file:/usr/share/natbraille/xsl/nat-functs.xsl is included or imported
  more than once. This is permitted, but may lead to errors or unexpected behavior
Warning: Stylesheet module file:/usr/share/natbraille/xsl/functions/functx-1.1alpha.xsl is included
  or imported more than once. This is permitted, but may lead to errors or unexpected behavior

--Transcodage termin? en 672 msec.


D?but de la mise en forme du document ... ok

Warning: on line 63 column 102 of miseEnPage.xsl:
  SXWN9008: saxon:iterate is not recognized as a Saxon instruction
Warning: on line 122 column 19 of miseEnPage.xsl:
  SXWN9008: saxon:continue is not recognized as a Saxon instruction
Error on line 61 of miseEnPage.xsl:
  XTDE1450: Unknown extension instruction
  at xsl:call-template name="miseEnPage" (file:/usr/share/natbraille/xsl/miseEnPage.xsl#53)
  in built-in template rule
not ok
ERREUR: Erreur lors de la transformation du document: Unknown extension instruction
; SystemID: file:/usr/share/natbraille/xsl/miseEnPage.xsl; Line#: 61; Column#: -1
net.sf.saxon.trans.XPathException: Unknown extension instruction
	at net.sf.saxon.expr.ErrorExpression.evaluateItem(ErrorExpression.java:81)
	at net.sf.saxon.expr.ErrorExpression.iterate(ErrorExpression.java:95)
	at net.sf.saxon.expr.Expression.process(Expression.java:575)
	at net.sf.saxon.expr.instruct.Template.expand(Template.java:260)
	at net.sf.saxon.expr.instruct.CallTemplate$CallTemplatePackage.processLeavingTail(CallTemplate.java:536)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1028)
	at net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:65)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1045)
	at net.sf.saxon.Controller.transformDocument(Controller.java:2080)
	at net.sf.saxon.Controller.transform(Controller.java:1903)
	at nat.presentateur.PresentateurMEP.presenter(PresentateurMEP.java:206)
	at nat.Transcription.transcrire(Transcription.java:355)
	at nat.Nat.lanceScenario(Nat.java:229)
	at nat.Nat.main(Nat.java:410)

--ERREUR lors de la transcription ! --

I have attached the full log.

Samuel

Attachment: test.odt
Description: application/vnd.oasis.opendocument.text

** V?rification des fichiers de configuration...

** V?rification termin?e 
conversion de [Ljava.lang.String;@646d64ab vers [Ljava.lang.String;@59e5ddf

Analyse du fichier source /home/samy/test.odt

** Le fichier source est de type content/unknown

** Le fichier source est identifi? comme document openoffice 

** Utilisation du dictionnaire de coupure existant

D?but de la conversion du document ... 


--Conversion termin?e en 2000 msec.


D?but du transcodage ... ok

Warning: Stylesheet module file:/usr/share/natbraille/xsl/nat-functs.xsl is included or imported
  more than once. This is permitted, but may lead to errors or unexpected behavior
Warning: Stylesheet module file:/usr/share/natbraille/xsl/functions/functx-1.1alpha.xsl is included
  or imported more than once. This is permitted, but may lead to errors or unexpected behavior

--Transcodage termin? en 672 msec.


D?but de la mise en forme du document ... ok

Warning: on line 63 column 102 of miseEnPage.xsl:
  SXWN9008: saxon:iterate is not recognized as a Saxon instruction
Warning: on line 122 column 19 of miseEnPage.xsl:
  SXWN9008: saxon:continue is not recognized as a Saxon instruction
Error on line 61 of miseEnPage.xsl:
  XTDE1450: Unknown extension instruction
  at xsl:call-template name="miseEnPage" (file:/usr/share/natbraille/xsl/miseEnPage.xsl#53)
  in built-in template rule
not ok
ERREUR: Erreur lors de la transformation du document: Unknown extension instruction
; SystemID: file:/usr/share/natbraille/xsl/miseEnPage.xsl; Line#: 61; Column#: -1
net.sf.saxon.trans.XPathException: Unknown extension instruction
	at net.sf.saxon.expr.ErrorExpression.evaluateItem(ErrorExpression.java:81)
	at net.sf.saxon.expr.ErrorExpression.iterate(ErrorExpression.java:95)
	at net.sf.saxon.expr.Expression.process(Expression.java:575)
	at net.sf.saxon.expr.instruct.Template.expand(Template.java:260)
	at net.sf.saxon.expr.instruct.CallTemplate$CallTemplatePackage.processLeavingTail(CallTemplate.java:536)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1028)
	at net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:65)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1045)
	at net.sf.saxon.Controller.transformDocument(Controller.java:2080)
	at net.sf.saxon.Controller.transform(Controller.java:1903)
	at nat.presentateur.PresentateurMEP.presenter(PresentateurMEP.java:206)
	at nat.Transcription.transcrire(Transcription.java:355)
	at nat.Nat.lanceScenario(Nat.java:229)
	at nat.Nat.main(Nat.java:410)

--ERREUR lors de la transcription ! --
** V?rification des fichiers de configuration...

** V?rification termin?e 
conversion de [Ljava.lang.String;@56ac3a89 vers [Ljava.lang.String;@27c20538

Analyse du fichier source /home/samy/test.odt

** Le fichier source est de type content/unknown

** Le fichier source est identifi? comme document openoffice 

** Utilisation du dictionnaire de coupure existant

D?but de la conversion du document ... 


--Conversion termin?e en 2150 msec.


D?but du transcodage ... ok


--Transcodage termin? en 874 msec.


D?but de la mise en forme du document ... ok


--Mise en forme termin?e en 393 msec.


----Transcription termin?e en 3,417 sec.


Reply to: