* Set the appropriate locator information on the supplied
* ValidationEvent.
*/
public ValidationEventLocator getLocation( SAXParseException saxException ) {
ValidationEventLocatorImpl vel = new ValidationEventLocatorImpl();
try {
vel.setURL( new URL( saxException.getSystemId() ) );
} catch( MalformedURLException me ) {
vel.setURL( null );
}
// get the location from the scanner and set it on the locator
vel.setNode( scanner.getCurrentLocation() );
return vel;
}