|
Re: Parse XSD using WTP plugins [message #481017 is a reply to message #481016] |
Wed, 19 August 2009 11:12 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------080007080306030308050405
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Smitha,
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
newsgroup...
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...
Smitha wrote:
> Hi,
>
> 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
> element).
>
> 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,
> Smitha.
>
--------------080007080306030308050405
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Smitha,
<br>
<br>
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.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02986 seconds