Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » XSDSchema document question
XSDSchema document question [message #39290] Tue, 23 March 2004 13:25 Go to next message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
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 #39321 is a reply to message #39290] Tue, 23 March 2004 14:11 Go to previous messageGo to next message
Eclipse UserFriend
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 #39352 is a reply to message #39321] Tue, 23 March 2004 14:41 Go to previous messageGo to next message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
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 #39383 is a reply to message #39352] Tue, 23 March 2004 14:43 Go to previous messageGo to next message
Eclipse UserFriend
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 #39414 is a reply to message #39383] Tue, 23 March 2004 14:51 Go to previous message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
Wow... what a brain cramp... sorry Ed! Please don't think I'm stupid ;)

lp
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:40604D1F.9CD0D61F@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 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
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 #584445 is a reply to message #39321] Tue, 23 March 2004 14:41 Go to previous message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
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 #584460 is a reply to message #39352] Tue, 23 March 2004 14:43 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
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/
Re: XSDSchema document question [message #584472 is a reply to message #39383] Tue, 23 March 2004 14:51 Go to previous message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
Wow... what a brain cramp... sorry Ed! Please don't think I'm stupid ;)

lp
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:40604D1F.9CD0D61F@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
> > >
>
Previous Topic:XSDSchema document question
Next Topic:redefine
Goto Forum:
  


Current Time: Fri Mar 29 14:39:49 GMT 2024

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

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

Back to the top