Hi Elena,

Thanks for the suggestion. I am willing to add this
feature to xerces..you mentioned that you could
provide more info on this. can you please send me a
note on this..so that i can get started the
implementation.

thanks,
-muruga
-------------------------------------------
Hi Muruga,

In short, there is no code in Xerces to do it.

However, Xerces2 at some point was loading schemas
into a DOM Tree (now 
we
load schemas into DTM -
org.apache.xerces.impl.xs.opti)) and the
org.apache.xerces.impl.xs.traversers.XSDHandler
traversed the DOM tree
(using org.apache.xerces.util.DOMUtil) and built the
corresponding
SchemaGrammar.

While we never provided a way for a user to specify
the DOM tree that
should be traversed, given all that old code I don't
think this is too
hard.

If you are willing to help to add this functionality
to Xerces please 
email
xerces-j-dev mailing list and we will give you extra
information.

Thank you,
--
Elena Litani/ IBM Toronto


Wednesday, December 03, 2003 5:20 PM
To: [EMAIL PROTECTED]
cc:
From: Muruga Chinnananchi <[EMAIL PROTECTED]>
Subject: Creating XSModel/Grammer from dom element

Hi,

I am wondering how to create SchemaGrammer directly
from an parsed <schema> dom element..I have a wsdl
which contains <schema> elements, i want to use these
<schemas> elements to create xerces XSModel.

Any help is much appreciated?

thanks
-muruga

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to