[jdom-interest] Validation question

Phil Weighill-Smith phil.weighill-smith at volantis.com
Fri Mar 4 13:23:29 PST 2005


Something worth worrying about: you might have a very long line, so you might like to worry about the line number and column number too. Both available from the SAXParseException. It should be noted that the column number may not make complete sense due to the way the parser works, but will get you close to the point in the file where the error is.
 
Phil :n)
 
-----Original Message----- 
From: Paul Cooper [mailto:paul_cooper_premis at hotmail.com] 
Sent: Fri 04/03/2005 17:58 
To: mikesmi at nc.rr.com; jdom-interest at jdom.org 
Cc: 
Subject: RE: [jdom-interest] Validation question



	Yes, the SAXParseException includes the line number where validation failed.

	And sorry to Mike for seeing this twice, I forgot to include the list.
	

	Paul Cooper
	Software Developer
	EMS Performance Improvement Center

	Department of Emergency Medicine
	University of North Carolina-Chapel Hill
	10002 Main Street
	Chapel Hill


  _____  

	MSN Premium helps protect against viruses, hackers, junk e-mail & pop-ups. <http://g.msn.com/8HMAENUS/2743??PS=47575>  




More information about the jdom-interest mailing list