Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Retrieving the line number from XSDDiagnostic
Retrieving the line number from XSDDiagnostic [message #566387] Thu, 20 March 2003 11:52
Hayden Marchant is currently offline Hayden MarchantFriend
Messages: 90
Registered: July 2009
Member
I am trying to catch erors in any XSD that I open, and am using the
validate() method on the wholde XSDSchema and am then called
getAllDiagnostics(). I would like to display the line and column number.
However I am always getting the default - line 1 and column 1. When I
open the same problematic schema through the Eclipse Platform GUI and look
at it with the XSD Editor it shows the correct line info.

Could it have something to do with the fact that I am using an
URIConverter to open my XSD Resources?
Previous Topic:Help: Simple example of parsing a ComplexType?
Next Topic:Problems with plugin versions
Goto Forum:
  


Current Time: Mon Nov 24 07:16:52 GMT 2014

Powered by FUDForum. Page generated in 0.01999 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software