Project

General

Profile

Bug #4653

XML error message needs to display file name

Added by Makayla Shepherd over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
-
Impact:

Minimal - An error message will change to display the file name.

Software Version:
Test Reviewer:

Description

If there is an error in an XML file when you run the application it will display a programmer error like this:

PROGRAMMER ERROR Error in application XML file line: 3 char: 2. element name expected.

The name of the file with the error needs to be included in this error message.

To reproduce using crop as an example:
build isis
rm $ISISROOT/bin/crop
rm $ISISROOT/bin/xml/crop.xml
cd src/base/apps/crop
Edit crop.xml and remove the word application from the application tag
make clean
make
./crop

History

#1 Updated by Makayla Shepherd over 1 year ago

  • Description updated (diff)
  • Category changed from Applications to API

#2 Updated by Tammy Becker over 1 year ago

  • Status changed from New to Acknowledged

#3 Updated by Stuart Sides about 1 year ago

  • Status changed from Acknowledged to Assigned
  • Assignee set to Adam Goins

#4 Updated by Adam Goins about 1 year ago

  • Status changed from Assigned to In Progress

#5 Updated by Adam Goins about 1 year ago

  • Impact updated (diff)

#6 Updated by Adam Goins about 1 year ago

  • Status changed from In Progress to Resolved

#7 Updated by Makayla Shepherd about 1 year ago

  • Status changed from Resolved to Closed

Looks good. Remember to change crop.xml back.

Also available in: Atom PDF