Menu

Document integrity check

Help
2003-11-26
2003-11-27
  • Hagop Chemedikian

    Hi,
    I want to check in some manner if an input document is compliant with the pipeline stage which elaborates it.

    My pipeline stage coneverts EDI text files into XML files. If I push a binary file into the pipeline  I expect to have any kind of error that will stop pipeline elaboration. Instead babeldoc elaborates the document creating an empty output file.

    Is it possible to use some DTD check with babeledoc on pipeline stage, or is there other way to implement some integrity check?
    Thanks
    Hagop Chemedikian

     
    • Dejan Krsmanovic

      If you want to check if your XML is valid against DTD or some external schema you can use Domify pipeline stage. It should throw error in case of binary files, too...

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.