Bug #1465

TBX: 0.7.5, groovy.util.XmlParser.parse accented character in file path

Added by Serge Heiden almost 4 years ago. Updated 5 months ago.

Status:New Start date:09/02/2015
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Macros Spent time: -
Target version:TXM X.X

Description

In TextTranscription2TRSMacro.groovy macro, accented characters in source files file path produces a bug.

Stacktrace:

> com.sun.org.apache.xerces.internal.util.URI$MalformedURIException: Path contains invalid character: é
>     at com.sun.org.apache.xerces.internal.util.URI.initializePath(Unknown Source)
>     at com.sun.org.apache.xerces.internal.util.URI.initialize(Unknown Source)
>     at com.sun.org.apache.xerces.internal.util.URI.<init>(Unknown Source)
>     at com.sun.org.apache.xerces.internal.util.URI.<init>(Unknown Source)
>     at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.expandSystemIdStrictOff1(Unknown Source)
>     at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.expandSystemId(Unknown Source)
>     at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.resolveEntityAsPerStax(Unknown Source)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
>     at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
>     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
>     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
>     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
>     at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>     at groovy.util.XmlParser.parse(XmlParser.java:192)
>     at groovy.util.XmlParser$parse.call(Unknown Source)
>     at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
>     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
>     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
>     at org.txm.importer.transcription.FixTransanaTimings.process(FixTransanaTimings.groovy:39)
>     at org.txm.importer.transcription.FixTransanaTimings$process.call(Unknown Source)
>     at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
>     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
>     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
>     at org.txm.importer.transcription.Transana2TRS.TRStoFixedTRS(Transana2TRS.groovy:288)
>     at org.txm.importer.transcription.Transana2TRS$TRStoFixedTRS.callCurrent(Unknown Source)
>     at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
>     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
>     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
>     at org.txm.importer.transcription.Transana2TRS.processFile(Transana2TRS.groovy:187)
>     at org.txm.importer.transcription.Transana2TRS$processFile.callCurrent(Unknown Source)
>     at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
>     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
>     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
>     at org.txm.importer.transcription.Transana2TRS.processDir(Transana2TRS.groovy:117)
>     at org.txm.importer.transcription.Transana2TRS$processDir.callCurrent(Unknown Source)
>     at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
>     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
>     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
>     at org.txm.importer.transcription.Transana2TRS.process(Transana2TRS.groovy:81)
>     at org.txm.importer.transcription.Transana2TRS$process.call(Unknown Source)
>     at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
>     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
>     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
>     at org.txm.importer.transcription.TextTranscription2TRSMacro.run(TextTranscription2TRSMacro.groovy:64)

History

#1 Updated by Matthieu Decorde almost 4 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)

#2 Updated by Sebastien Jacquot about 1 year ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#3 Updated by Matthieu Decorde 5 months ago

  • Target version changed from TXM 0.8.0 to TXM X.X

Also available in: Atom PDF