Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » How to copy XSDSchema object
How to copy XSDSchema object [message #604263] Wed, 01 July 2009 20:06
Marcin Cylke is currently offline Marcin CylkeFriend
Messages: 61
Registered: July 2009
Member
Hello

What I'm trying to achieve is create a class extending XSDSchema and put
some convenience functions in it. I want to have my own interface to
XSDSchema object. This part is done, but I have a hard time loading
content into such object.

Normaly I would do:
XSDParser xsdParser1 = new XSDParser(null);
xsdParser1.parse(uri);
XSDSchema schm = xsdParser1.getSchema();

But since I want to pack that schema into my own object how should I do
this?

I tried extending XSDParser to return my object when getSchema() is
called, but it just doesn't work - it returns empty XSDSchema.

It would suffice to copy one schema to another, since my object is
XSDSchema object on steroids ;-)

Do you have any ideas about this kind of problem?

Marcin
Previous Topic:WSDL Validator issue
Next Topic:How to copy XSDSchema object
Goto Forum:
  


Current Time: Thu Apr 25 07:19:25 GMT 2024

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

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

Back to the top