|
Re: XSDSchema document question [message #39321 is a reply to message #39290] |
Tue, 23 March 2004 14:11 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Lance,
This is the DOM Document of the schema. You can't reuse this. You should use
annotations for additional data.
Lance Phillips wrote:
> What is the optional Document property on an XSDSchema element intended to
> be used for? I have some optional name value pair user defined properties
> I'm looking for a home for and this seems like a logical place.
>
> thanks,
>
> Lance Phillips
|
|
|
|
Re: XSDSchema document question [message #39383 is a reply to message #39352] |
Tue, 23 March 2004 14:43 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Lance,
Add to XSDSchema.getContents().
Lance Phillips wrote:
> Ed,
> How do I add an annotation directly to the Schema? I only see
> mechanisms for adding annotations directly to schema components. The
> getAnnotations method on Schema is an infoset property, so adding to it has
> no effect.
>
> thansk,
>
> Lance
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:40604598.B1362C30@ca.ibm.com...
> > Lance,
> >
> > This is the DOM Document of the schema. You can't reuse this. You should
> use
> > annotations for additional data.
> >
> >
> > Lance Phillips wrote:
> >
> > > What is the optional Document property on an XSDSchema element intended
> to
> > > be used for? I have some optional name value pair user defined
> properties
> > > I'm looking for a home for and this seems like a logical place.
> > >
> > > thanks,
> > >
> > > Lance Phillips
> >
|
|
|
|
Re: XSDSchema document question [message #584426 is a reply to message #39290] |
Tue, 23 March 2004 14:11 |
Ed Merks Messages: 33236 Registered: July 2009 |
Senior Member |
|
|
Lance,
This is the DOM Document of the schema. You can't reuse this. You should use
annotations for additional data.
Lance Phillips wrote:
> What is the optional Document property on an XSDSchema element intended to
> be used for? I have some optional name value pair user defined properties
> I'm looking for a home for and this seems like a logical place.
>
> thanks,
>
> Lance Phillips
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Re: XSDSchema document question [message #584460 is a reply to message #39352] |
Tue, 23 March 2004 14:43 |
Ed Merks Messages: 33236 Registered: July 2009 |
Senior Member |
|
|
Lance,
Add to XSDSchema.getContents().
Lance Phillips wrote:
> Ed,
> How do I add an annotation directly to the Schema? I only see
> mechanisms for adding annotations directly to schema components. The
> getAnnotations method on Schema is an infoset property, so adding to it has
> no effect.
>
> thansk,
>
> Lance
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:40604598.B1362C30@ca.ibm.com...
> > Lance,
> >
> > This is the DOM Document of the schema. You can't reuse this. You should
> use
> > annotations for additional data.
> >
> >
> > Lance Phillips wrote:
> >
> > > What is the optional Document property on an XSDSchema element intended
> to
> > > be used for? I have some optional name value pair user defined
> properties
> > > I'm looking for a home for and this seems like a logical place.
> > >
> > > thanks,
> > >
> > > Lance Phillips
> >
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.03458 seconds