Bug #3033

XML, accentued or special characters in file paths

Added by Matthieu Decorde over 2 years ago. Updated over 2 years ago.

Status:New Start date:03/05/2021
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Import Spent time: -
Target version:TXM 0.8.4

Description

Try to reproduce the XML open error of XML files with accentued or special characters in their path

MD: I can't reproduced the bug for now, nor in Eclipse, TXM launched from Eclipse or TXM 0.8.1

The XML error message seams wrong : "file not found", but the file does exist

SLH: stacktrace,

java.io.FileNotFoundException: /home/<path with french accent> (Aucun fichier ou dossier de ce type)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:93)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
    at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
    at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
    at javax.xml.parsers.DocumentBuilder$parse.call(Unknown Source)
    at org.txm.macro.transcription.RecodeSpeakers.process(RecodeSpeakers.groovy:64)
    at org.txm.macro.transcription.RecodeSpeakers$process.call(Unknown Source)
    at org.txm.macro.projects.nov13.PrepareTranscriptionsMacro.run(PrepareTranscriptionsMacro.groovy:99)
    at org.txm.rcp.handlers.scripts.ExecuteGroovyScript$1.run(ExecuteGroovyScript.java:268)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

History

#1 Updated by Matthieu Decorde over 2 years ago

  • Description updated (diff)

#2 Updated by Serge Heiden over 2 years ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde over 2 years ago

  • Target version changed from TXM 0.8.2 to TXM 0.8.4

Also available in: Atom PDF