|Re: Parse XSD using WTP plugins [message #481017 is a reply to message #481016]
||Wed, 19 August 2009 11:12
| Ed Merks
Registered: July 2009
This is a multi-part message in MIME format.|
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
In the XSD newsgroup I answered like this:
I'm pretty sure that the XSD editor uses EMF's XSDResourceImpl to
parse instances. The XSD model acts as a wrapper around the DOM, so
for any XSD component, it's possible to get at the DOM Element it
wraps. The WTP's schema editor uses the SSE DOM to display the DOM
in a source view and uses the XSD model for the outline (as far as I
remember). It's best to ask about the editor's aspects on the WTP
Have you tried using it? I'm not actually sure what an "overlay
element" is but in the end, I'm pretty sure that such things are handled
by WTP only because it's captured in the DOM and as I explained, the DOM
is available from the XSD model objects...
> Sub: I want to parse my xsd file using the parser that WTP provides.
> I have some overlay elements in my xsd.Hence the parser that we
> currently use in the Project is not showing the element (Overlayed
> When I open the xsd with the "XML Schema Editor" that WTP supports in
> Eclipse, I can see the overlayed element.
> Hence I want to parse my xsd with the parser that WTP provides and
> list all the elements to see how it resolves the overlay.
> I'm not sure which plugin/file in WTP is responsible for parsing and
> showing the "XML Schema Editor" in Eclipse.
> Thanks in advance,
Content-Type: text/html; charset=ISO-8859-15
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body bgcolor="#ffffff" text="#000000">
In the XSD newsgroup I answered like this:<br>
<blockquote>I'm pretty sure that the XSD editor uses EMF's
XSDResourceImpl to parse instances.
Powered by FUDForum
. Page generated in 0.03394 seconds