|
Re: Trying to create an XSD annotation element [message #34043 is a reply to message #33959] |
Thu, 11 December 2003 19:09 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Hayden,
The source attribute on <appinfo> and <documentation> is optional, so you
may choose to pass null. It's a good idea for <appinfo> to identify the
"app" so that when you are looking for your appinfo you can tell it apart
from appinfo that isn't yours.
Hayden Marchant wrote:
> I am trying to build some app info for an annotation element which I'll
> then add to an XSDElementDeclaration.
>
> My code is as follows:
>
> XSDAnnotation xsdAnnotation = fXsdFactory.createXSDAnnotation();
> xsdElementDeclaration.setAnnotation(xsdAnnotation);
> Element applicationInformation =
> xsdAnnotation.createApplicationInformation(sourceURI);
>
> My question is , is what do I pass as the sourceURI for the
> createApplicationInformation method?
>
> Thanks,
> Hayden
|
|
|
Re: Trying to create an XSD annotation element [message #581443 is a reply to message #33959] |
Thu, 11 December 2003 19:09 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Hayden,
The source attribute on <appinfo> and <documentation> is optional, so you
may choose to pass null. It's a good idea for <appinfo> to identify the
"app" so that when you are looking for your appinfo you can tell it apart
from appinfo that isn't yours.
Hayden Marchant wrote:
> I am trying to build some app info for an annotation element which I'll
> then add to an XSDElementDeclaration.
>
> My code is as follows:
>
> XSDAnnotation xsdAnnotation = fXsdFactory.createXSDAnnotation();
> xsdElementDeclaration.setAnnotation(xsdAnnotation);
> Element applicationInformation =
> xsdAnnotation.createApplicationInformation(sourceURI);
>
> My question is , is what do I pass as the sourceURI for the
> createApplicationInformation method?
>
> Thanks,
> Hayden
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.05524 seconds