Recent Changes - Search:

About

Users

Internal

Other Info (External)

edit SideBar

000027-Notes

Some modules assume that a full path is given, so when a single file name is given, there is an error. Example (doSchemaMapping::parseInput()):

 String temporalBundleDir = temporalBundle.substring(0,temporalBundle.lastIndexOf("/")) + "/";

But since there is no lastIndexOf a slash character (no slash character at all), an exception is thrown and everything breaks.

This happens in several files an in several locations per file, so maybe a routine in util should be written to take care of it.

Currently the workaround is to include "./" in all the file names, both in command line arguments and in XML documents. IE:

 physicalAnnotation="./winolympic_phy_anno_fri.xml">

This also includes ValidatorProperties.java:

 String fileName = "//Users//doofus//Documents//workspace//TXSchema_sthomas//config//properties.txt";
Edit - History - Print - Recent Changes - Search
Page last modified on June 22, 2008, at 08:50 AM