Bug #1542

RCP: 0.7.7, XML/w+CSV import module must not try to use a DTD file as an XML source file

Added by Serge Heiden about 8 years ago. Updated over 4 years ago.

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

0%

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

Description

Currently, the XML/w+CSV import module tries to use DTD files stored in the source directory as normal XML source files. This generates an unnecessary error message and should not be done:

javax.xml.stream.XMLStreamException: ParseError at [row,col]:[2,3]
Message: Le balisage du document précédant l'élément racine doit avoir un format correct.
Won't process file /home/sheiden/Corpus/src/cmd/abbreviations_french.dtd

Solution

Allow DTD files to be present in the source directory for the XML/w+CSV import module not considering them as XML source files.

Or, develop a DTD catalog component and refuse or ignore any DTD files present in the source directory.

History

#1 Updated by Sebastien Jacquot over 5 years ago

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

#2 Updated by Matthieu Decorde over 4 years ago

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

Also available in: Atom PDF