Any way to get schema comments into the generated files?

Hi there,
I have a schema that in part looks like this:
<xsd:complexType name="LinkType">
<xsd:annotation><xsd:documentation>
A link joins two distinct primary entities to each other. There is no provision
for more than two primary entities participating in a link.
Entity can have only one link per "right" entity.
@ejb.bean name="EntitiesLink"
</xsd:documentation></xsd:annotation>
<xsd:sequence>
</xsd:sequence>
</xsd:complexType>
I would like the comments to be passed through. So I would like to have a comment block that looks like:
* A link joins two distinct primary entities to each other. There is no provision
* for more than two primary entities participating in a link.
* Entity can have only one link per "right" entity.
* <p>The following schema fragment specifies the expected content contained within this java content object.
* <p>
* <pre>
* <complexType name="LinkType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* (The rest of the auto generated comment about the schema that jaxb currently generates.)
* </pre>
* @ejb.bean name="EntitiesLink"
*/

The problem with this is that the @tags appear at the top of the comment, which is of course not legal.
So this:
<xsd:appinfo>
<jaxb:class>
<jaxb:javadoc>
@ejb.bean name="EntitiesLink"
</jaxb:javadoc>
</jaxb:class>
</xsd:appinfo>
ends up looking like this:
* @ejb.bean name="EntitiesLink"
* Java content class for LinkType complex type.
* <p>The following schema fragment specifies the expected content contained within this java content object.
* <p>
* <pre>
* <complexType name="LinkType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Id" type="{http://www.sworddance.com/RelationshipBook}FullIdType"/>
* <element name="Description" type="{http://www.sworddance.com/RelationshipBook}DescriptionType"/>
* <element name="Left" type="{http://www.sworddance.com/RelationshipBook}LinkEndpointType" minOccurs="0"/>
* <element name="Right" type="{http://www.sworddance.com/RelationshipBook}LinkEndpointType"/>
* <element name="LinkInitiateDate" type="{http://www.sworddance.com/RelationshipBook}DateRefType" minOccurs="0"/>
* <element name="LinkTerminateDate" type="{http://www.sworddance.com/RelationshipBook}DateRefType" minOccurs="0"/>
* <element name="LinkAwarenessDate" type="{http://www.sworddance.com/RelationshipBook}DateRefType"/>
* <element name="CommonOpinion" type="{http://www.sworddance.com/RelationshipBook}OpinionType" minOccurs="0"/>
* <element name="Secondary" type="{http://www.sworddance.com/RelationshipBook}LinkEndpointType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="RootLinkId" type="{http://www.sworddance.com/RelationshipBook}LocalIdType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Properties" type="{http://www.sworddance.com/RelationshipBook}PropertiesType" minOccurs="0"/>
* <element name="Locations" type="{http://www.sworddance.com/RelationshipBook}LocationCollectionType" minOccurs="0"/>
* <element name="Encounter" type="{http://www.sworddance.com/RelationshipBook}EncounterType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="directional" type="{http://www.sworddance.com/RelationshipBook}DirectionalType" />
* <attribute name="LinkSourceId" type="{http://www.sworddance.com/RelationshipBook}LocalIdType" />
* <attribute name="implicit" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="family" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="LinkOwnerId" type="{http://www.sworddance.com/RelationshipBook}LocalIdType" />
* <attribute name="isKnown" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="confidence" type="{http://www.sworddance.com/RelationshipBook}PercentRangeType" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>

Similar Messages

  • Is there any way to get this palette into photoshop CS6?

    I'm curious as to why Photoshop CS6 can't have a simple effective palette choice like this one from Fireworks?
    I'm an artist and this palette makes sense to me.  The standard issue pallette in Photoshop is a mess compared to this.
    Is there any way to get this palette into photoshop CS6?
    Thanks!

    If your talking about the Color Cubes from fireworks as shown in your screenshot, then yes.
    Save the swatches out of fireworks as an Adobe Swatch Exchange File (ASE) and then you can load them into photoshop
    in it's swatches panel like below.

  • I upgraded to Ios5 and have lost my contacts and other app profiles - is there any way to get them back from the backup taken before the IOS5 process started?

    I upgraded to IOS5 and have lost my contacts and other app profiles - is there any way to get them back from the backup taken before the IOS5 process started?

    Thanks but have tried that - When I try to restore I get a -50 error and into a loop of taking another back up.  I took a copy of the back up before the IOS upgrade and have it stored on my desk top but I cannot get Itunes to restore to that back up
    Any ideas how I can do this?

  • I took video in a format (AVCHD) 60i/60p and it does not download into iphoto. Any way to get this video into MP4 format?

    I took video in the format (AVCHD) 60i/60p and it does not download into iphoto. Any way to get this video into MP4 format so it will download?

    Do you have iPhoto 9.3 or later?  Have a look at this support article:
    Using AVCHD video with iPhoto '11

  • Is there any way to get my reminders (from the new iPhone app) to sync with something on my laptop (Mail, iCal, some other desktop app)?

    Is there any way to get my reminders (from the new iPhone app) to sync with something on my laptop (Mail, iCal, some other desktop app)?

    Yes, if you have iCloud set up on your phone and computer, then reminders will be synced through iCal.

  • I have an iPod whose contents I want to transfer to a newer Ipod.  At some stage I lost the music files from my library.  Is there any way to get them back from the older iPod and put them onto the newer one again?  I stupidly synced the wrong one.

    I have an iPod whose contents I want to transfer to a newer Ipod.  At some stage when I thought I was syncing correctly I wasn't so I lost the music files from my library.  Is there any way to get them back from the older iPod and put them onto the newer one again? 

    Have you not got a backup of your content on, for example, external drives ? If not then you could have a look to see if any of the utilities mentioned in this old post still exist and work : https://discussions.apple.com/message/11014893?messageID=11014893#11014893

  • I have an 06' macbook and I just bought an 07' macbook.. The 06' has os x 10.6 but the 07' has 10.5.. I no longer have the disk for snow leopard. Is there ANY way to get snow leopard from the old computer to the other without having to buy it again?

    I have an 06' macbook and I just bought an 07' macbook.. The 06' has os x 10.6 but the 07' has 10.5.. I no longer have the disk for snow leopard. Is there ANY way to get snow leopard from the old computer to the other without having to buy it again?

    Technical issues aside, there's still a legal issue.
    Neither 2006 nor 2007 MacBooks shipped with Snow Leopard 'factory' installed. OS X 10.6 Snow Leopard became available in September 2009. So you purchased and installed a Snow Leopard upgrade disc on the 2007 system at some point.
    If your Snow Leopard upgrade was a single-user copy, then legally, you need to purchase another one for the second computer. If your Snow Leopard upgrade was a Family Pack 5-user license, then you're good to go.
    http://store.apple.com/us/question/answers/product/MC574Z/A?pqid=QTUXD7AF4YU9FJD YUTDPCKYKUDDDXKHTK
    If you have an active MobileMe account, Apple was giving away a single-user upgrade copy of Snow Leopard for a limited time, and you should have received an email with a link, or been offered the opportunity when you signed in to your MobileMe account on the web:
    http://www.macrumors.com/2012/04/24/free-snow-leopard-discs-for-mobileme-users-n ow-arriving/
    Worst case, single-user Snow Leopard upgrade discs are $29 retail, direct from Apple. I'd hate to have two computers and no OS installation CD's for whatever version I'm currently using.

  • So Wat to do? Is there any way to get out as a single swf file from captivate.

    Dear friends,
    I am beginner in Adobe Captivate. We have a E-learning
    project. We are using Dockers as our LMS. Previously we were using
    Flash for all. Now we are trying Captivate for better and faster
    results. I have few swf files and i inserted al files in Captivate
    and i published. So instead of getting single output, am getting
    all the swfs, skin swf and html file. Html file is accessing all
    swfs and works. But it is not working in Dockers. Single swf will
    only work in Dockers. So Wat to do? Is there any way to get out as
    a single swf file from captivate. please Help mee.
    Thanks
    Flashlover

    If 'Dockers' cannot handle a .zip file as the content and
    instead
    requires a single, uncompressed content file, then it is not
    SCORM-compliant. The SCORM specification requires the LMS to
    handle a
    'pif' file (most common is .zip) which contains the lesson
    and the
    required manifest file. If Dockers doesn't support that then
    you can't
    do SCORM-compliant content.
    Erik
    loverflash wrote:
    > Dear friends,
    >
    > We are using
    > Dockers as our LMS.
    > So instead of getting single output, am
    > getting all the swfs, skin swf and html file. Html file
    is accessing all swfs
    > and works. But it is not working in Dockers. Single swf
    will only work in
    > Dockers.
    >
    > Thanks
    > Flashlover
    >
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - Authorware
    http://www.adobe.com/communities/experts/
    http://www.awaretips.net -
    samples, tips, products, faqs, and links!
    *Search the A'ware newsgroup archives*
    http://groups.google.com/group/macromedia.authorware

  • Is there a way to get CF to overide the original file?

    When I upload a file to cf, cf will rename the file if the
    file already exists. Is there a way to get CF to overide the
    original file?

    Yup there sure is.
    The documentation even tells you all about it.
    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_f_10.html
    I'll even point out that the 'nameConflict' attribute is the
    one you
    will want to read.

  • HT203077 Is there any way to get other voices for the voice over?  Alex is dull.

    Is there any way to get other American English voices for the voice over--besides Alex?

    Settings > General > Siri > Voice Gender

  • Any easy way to get EXIF info into the Description?

    I'd like to use the Share feature in iPhoto '11 to ... well, share a bunch of photos, including their EXIF info in the Description. Out of the box it looks like the only way to do that is to hand-enter all that data, which is a PITA. Anyone know of an iPhoto plugin or other way to automate getting at least some of the EXIF data into the Description field?

    I would have bet a great deal of money you'd go on to question why I was sharing on Facebook instead of elsewhere, even though that's wholly irrelevant to my question. How does my "explaining" it help answer my question?
    For those not ignoring me and instead actually interested in being helpful rather than boosting their post count, the reason I'm sharing on Facebook is because that is where the group is based with whom I'm sharing the photos. The EXIF data isn't critical, just helpful. I'm not trying to share full-resolution photos for people to download and print but rather sample photos with various lenses and configurations to give a general idea about what said lenses or configurations do for the photo, and providing the EXIF info is helpful. Right now I'm entering it into the Description field manually, but given that the data is right there I was hoping someone else would have also seen this need and created a solution.
    Anyone?

  • Is there any way to get Mail to use the Inbox as the Sent folder?

    This may sound like a silly question, but I have an IMAP account with over a hundred nested folders. I've tried using rules to sort email that comes in, but honestly? It's more trouble than it's worth. Generally, I leave emails in my Inbox until I've dealt with them, and then I sort them into the appropriate folder.
    Unfortunately, this means that I've then got to go and do the same thing with the message that I've just sent—which I sometimes (often) forget to do. I then end up with hundreds and hundreds of messages in the Sent folder that need to be hooked up with their respective originals. Bleh.
    Does anyone know if there's a way to get both the original message and the response to end up in the same folder automatically? Mail doesn't allow you to use the Inbox as anything but the Inbox—it's the root directory for the mailbox.
    Anyone?
    BTW, I'm posting this here because I have Tiger at work, where this is more of a problem, though I've got Leopard (and soon Snow Leopard) at home.

    Go easy—I've been using Macs since 1984 and have only used Microsoft's bloatware when work obliges me to. (I talked the boss who insisted that we run all of our email and calendars from an Access server into running OS X Server; Entourage went away, and life is much better. Word is still part of my everyday grind because of change tracking, but I have hopes for Pages.) I've used any number of email clients over the years, and Mail is my app of choice for many reasons.
    Nonetheless, a useful feature is a useful feature, even if it comes from Redmond. It's not 1996 any more—Macs aren't the downtrodden Rebel Alliance and Microsoft isn't the Empire.
    It seems to me that—especially with an IMAP account—you're not dealing with something intrinsic in the structure of the emailing system, since the folder structure doesn't even reside on the client computer (except as a mirror).
    I suppose that I could use a rule to shunt all email for that account into a single folder and then use that same folder as the Sent folder. I'd need to create the same rule on my various Macs (and punt on my iPhone)... but I suppose that would work. But I'm still not sure why a more elegant solution isn't possible.

  • Any way to link a song into the album?

    I purchased a single song a few weeks ago. When the full album came out I purchased the album. The album is missing track #8, which is the single I purchased a few weeks ago. Is there any way to sync it into the album on all my devices????

    Hi Arolon,
    Go into "get info" for the individual track (two fingered click on the thumbnail) and make sure that the details in "info" match those for the album (you can copy and paste them over) make sure that you identify the track as track 8 of however many there are on the album, and it should slide into place.
    Cheers,
    David.

  • Is there any way to get accurate framing using the iPhone 5 camera?

    The iPhone 5 has a 16:9 screen, yet the photos are still produced in a 4:3 ratio.  So what you see on the screen while framing the shot with the native camera app is not the same as the photo you end up with on your camera roll.
    Is there any way to fix this?  I want my photos to look exactly like how they appear on the screen before I hit the shutter. 

    I just realized this just now cause there is always some extra frame added when I review my pics on camera roll. This site might illustrate the problem further..
    http://blog.crushapps.com/2012/09/with-the-iphone-5s-camera-app-what-you-see-is- not-what-you-get/
    The only solution Ive found is to use an ap Like Camera Asesome or Kitcam App they do use a 4:3 framing and take pics of exactly what you see on screen..
    However, I feel this is a design flaw by apple, you should be able to take a pic exactly to what you see on screen... I dont care if there is a black bar on top or in bottom(or both) on screen, rather than having an overscan of what your actually are saving on your phone. And its completely ridicoulous cause images appear with black bars when you review them on Camera Roll where the overscan would be nice (estetically wise , and a double click would reframe to what you actually took)
    Hope this answers your question..

  • What is the best and easiest way to get xml data into the rtf document

    Hello Frenz
    I'm using rtf document(with bi publisher desktop plug in installed in the word document)... please suggest me the best way(to get the xml data from tables) to load the xml data into this rtf document..
    I'm not developing oracle apps reports. It is for Oracle retail...
    another doubt is... in the rtf document itself there is oracle bi publisher.. can it be used for generating xml data...
    please bear with me and suggest me a way out
    Thanks and regards

    What will you be using in your production system to generate XML? Or are you just trying out BIP?
    If you're familiar with dbms_xmlquery.getxml , you can pass your SQL to generate the XML output. Save the output in a file and use it in your RTF template.
    If you have Oracle reports, you can create XML output when you run the report.

Maybe you are looking for