Re: XML Schema Reading for code completion

2010-10-21 Thread Mukul Gandhi
Thanks, Michael for useful information. This is interesting :) On Fri, Oct 22, 2010 at 5:11 AM, Michael Glavassevich wrote: > The primary reason has been lack of interest. A few users have asked about > it but it does not seem that the community at large is demanding this > support. > > Just hav

Re: XML Schema Reading for code completion

2010-10-21 Thread Michael Glavassevich
Hi Mukul, Mukul Gandhi wrote on 10/21/2010 05:47:56 PM: > Hi Michael, > Thanks for your reply. I've few questions please. > > On Thu, Oct 21, 2010 at 9:23 PM, Michael Glavassevich > wrote: > > There are other APIs which are better suited for schema directed editing, > > for example DOM Lev

Re: XML Schema Reading for code completion

2010-10-21 Thread Mukul Gandhi
Hi Michael, Thanks for your reply. I've few questions please. On Thu, Oct 21, 2010 at 9:23 PM, Michael Glavassevich wrote: > There are other APIs which are better suited for schema directed editing, > for example DOM Level 3 Validation [1]. You won't find this capability in > Xerces though.

Re: XML Schema Reading for code completion

2010-10-21 Thread Michael Glavassevich
There are other APIs which are better suited for schema directed editing, for example DOM Level 3 Validation [1]. You won't find this capability in Xerces though. Thanks. [1] http://www.w3.org/TR/2004/REC-DOM-Level-3-Val-20040127/ Michael Glavassevich XML Parser Development IBM Toronto Lab E-mai

Re: XML Schema Reading for code completion

2010-10-20 Thread Mukul Gandhi
Hi Don, Xerces provides an API library and a set of tools for XML schema validation. It is not a GUI layer component, which is there in Eclipse IDE for example. XML schema editing support you're looking for, is available to large extent in Eclipse Source Editing (WTP SE) project for example (r

Re: XML Schema Reading for code completion

2010-10-20 Thread q3s38w002
XSLoader loads the schema for you, have a look for that. As for auto-completion, there is no support for this in Xerces that I know of. I'm faced with a similar challenge, and it looks I have to implement that myself (there isn't even a syntax tree that you can query, you'll have to build that up

XML Schema Reading for code completion

2010-10-20 Thread Don Smith
I need to implement an XML editor that validates against XML Schema. I want to provide the users XML code completion based on the Schema (like every XML editor) so they don't have to know the Schema themselves. Can someone point me to the classes to use in Xerces for reading the Schema and dete