Get error message: "Element 'when' not found in 'xsl:choose'"

Thank you in advance for your help.
I got this error message:
Caused by: oracle.xdo.parser.v2.XMLParseException: Element 'when' not found in 'xsl:choose'.
When I put a form field with this help text:
<?CHOOSE:?><?WHEN:ELMT_CATEGORY_CODE='SS'?>
Did some research but cannot find why...
-Bill

Never mind, put the <?end choose?> in wrong position. Thanks

Similar Messages

  • Element 'when' not found in 'xsl:choose'

    Hi,
    I'm trying to create a very basic choose / when /otherwise instruction in an RTF template.
    I have created 6 fields, with the following codes:
    <?choose:?>
    <?when: E.TYPE='I'?>
    * do something *
    <?end when?>
    <?otherwise:?>
    * do something else *
    <?end otherwise?>
    <?end choose?>
    I get the following error message when I try to preview the result:
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:514)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:192)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:156)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:916)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:869)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:204)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1535)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:925)
         at RTF2PDF.runRTFto(RTF2PDF.java:590)
         at RTF2PDF.runXDO(RTF2PDF.java:458)
         at RTF2PDF.main(RTF2PDF.java:237)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Element 'when' not found in 'xsl:choose'.
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:782)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:564)
         ... 15 more
    Any help is greately appreciated.
    Spiffo

    Ensure that the code is correct in all 6 fields. Have you used the "Validate template" feature before previewing to see if you are able to get any more information?
    I can take a look at your template if you can send it to [email protected] Send me a sample xml file for testing purposes.
    Thanks

  • XSL-1010 (Error) Element 'when' not found in 'xsl:choose'

    I am using xmlparserv2.jar from xdk9020b.
    An XSL file is loaded as XMLDocument and is modified by adding elements to a xsl:choose tree. The file acts as a "template" for an XSL that must be built and used in memory.
    When it is used as constructor for a new XSLStylesheet, then it generates the above error message. If I dump the XMLDocument to file, it contaisn the appropriate modifications, and if I execute oraxsl with it as stylesheet, everything works fine.
    Here the snipped of code I use:
    DOMParser parser= new DOMParser();
    parser.setPreserveWHitespace(true);
    URL xsvgURL = new URL ("file","localhost","svg.xsl");
    parser.parse(xsvgURL);
    XMLDocument xsvgdoc;
    xsvgdoc = parser.getDocument();
    XMLElement ex = (XMLElement)xsvgdoc.getDocumentElement();
    NodeList getit=xsvgdoc.selectNodes("//xsl:choose",ex);
    Element el = xsvgdoc.createElementNS("when","xsl:when");
    el.setAttribute("test","contains($a,'test')");
    ((XMLElement)getit.item(0)).appendChild(whennode);
    XSLProcessor processor = new XSLProcessor();
    XSLStylesheet xsvgstyle;
    xsvgstyle = processor.newXSLStylesheet(xsvgdoc);
    your feedback is appreciated, since I am currently stucking on this problem.
    null

    Ensure that the code is correct in all 6 fields. Have you used the "Validate template" feature before previewing to see if you are able to get any more information?
    I can take a look at your template if you can send it to [email protected] Send me a sample xml file for testing purposes.
    Thanks

  • I get error message''one file not found'' when tring to sync Ipod Nano 6th gen to I tunes. Help

    I get error message''one file not found'' when tring to sync Ipod nano 6th gen to Itunes. Help

    See:
    iTunes cannot sync... apps not determined installed on...: Apple Support Communities
    installed apps could not be determined...: Apple Support Communities

  • Prompted to upgrade iTunes on computer. Won't let me and get error message MSVVR80.dll not found. Attempted to reinstall, won't let me. Can you have iTunes and iCloud on the same computer?

    Prompted to upgrade iTunes on computer. Won't let me and get error message MSVVR80.dll not found. Attempted to reinstall, won't let me. Can you have iTunes and iCloud on the same computer?

    Try following the instructions of tt2 in https://discussions.apple.com/thread/5822086

  • Using Boot Camp to Install Windows 7.  Keep getting error message "Installer Disk Not Found"

    I'm partially throught the Boot Camp set-up process and keep getting the same error message when trying to install Windows.  The disk is in the drive, not sure why it's not recognizing it.

    I had this problem on my brand-new Mac Pro, but fixed it in my case by burning another copy of the installer disc (from the official download image, not a pirate copy lol) at a SLOWER speed, rather than allowing it to burn at the "maximum possible" setting. This gives the laser more time to properly record, but it didn't perceptually increase the time it took to burn the disc.
    I speculate that error-checking is too stringent, but weak; that is, not intelligent enough to correct any read errors. Of course, Apple's test configurations are likely using commercially-produced off-the-shelf discs rather than burned from downloads or they know to never use max speed out of habit.

  • TS3258 I get error message -42408 when trying to download itunes update 11.0.2 and thus can not upgrade to latest version.  What should I do?

    I get error message -42408 when trying to download itunes update 11.0.2 and I therefore can not update to that latest version.  What can I do?

    Hey there davidgor2!
    I have found an article that should help you resolve this issue with updating your iTunes. The article can be found here:
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    and the specific part of the article you will want to look at first is right here:
    "Error 42023" through "Error 42408"
    These alerts might occur when trying to authorize iTunes or during launch when iTunes checks for authorization information.
    Install the latest iTunes from apple.com/itunes/download/
    Remove the SC Info folder.
    If that does not resolve the issue, see iTunes: "Error 42408" or "Error 42404" after upgrading to iTunes 9.0.3.
    Thanks for using the Apple Support Communities!
    Regards,
    Braden

  • Error message: Page Anchor not found: 188 when exporting to ePub

    I have been working on exporting a book from InDesign CC 2014 to reflowable ePub format. The book is about 250 pages long with numerous photographs, all of which are anchored objects. I am now able to export a good-looking ePub file, but I keep getting just this one error message, Page Anchor not found: 188, followed by the pathname for the file.  I don't see a problem at page 188, but I'm not very experienced with InDesign.  I have done several searches, and I'm not sure exactly what a "page anchor" is. Can anyone help me figure this out?  Can I just ignore this error.  Thanks.

    I had similar problems which were resolved when I anchored images only within text with styles that would not be included in the TOC, and also made sure there were no blank paragraphs (unnecessary hard returns) with a style that would be included in the TOC. Hope that helps.

  • I'm getting a message "404 (page not found error)" I think I entered an incorrect URL into my browser's address bar. How do I fix that?

    I was trying to post a comment on a support group site. I was asked what web address I was using, or something along those lines. In hindsight, I stupidly typed a '?' and pressed send. Now, when I try to access that site I get the message "404 (page not found error)
    If you're the site owner, one of two things happened:
    1. 1) You entered an incorrect URL into your browser's address bar, or
    2. 2) You haven't uploaded content."
    How can I fix this.

    I spoke with a Dell technician about this problem. He tried to access the site in question from his computer, i.e. separate from my computer, and he also got the same "404 (page not found error)". He said the problem lies with the site itself, not my computer, and that I should notify the site. Problem is I can't notify the site if I can't access it.

  • When trying to sign into the Itunes Store I get error message "Itunes store not available at this time- please try again later". I've updated everything and still can't get in. Any ideas??

    When trying to sing into the Itunes Store I get error message "Itunes store not availble at this time. Please try again later" I've updated everything and doesn't help. Anyone have any ideas?

    Send a PM(Private Message) to ATT Uverse Care.

  • PC crashed. Attempted to install NEW copy of Elements 10 that I had in reserve. Always get ERROR MESSAGE 400 when trying to open the program. Please advise how I get around this error.

    My PC crashed. I rebuilt it from scratch and tried to install my unopened copy of Elements 10. I get error message 400 when trying to open the program. Windows 8.1 64bit

    if that's a network connection error, Sign in, activation, or connection errors | CC, CS6, CS5.5

  • HT201413 cannot reinstall itunes, i get this message MSVCR80.dll not found.  Try to reinstall itunes and i get error 7 (Windows erro 126)  help please

    cannot reinstall itunes, i get this message MSVCR80.dll not found.  Try to reinstall itunes and i get error 7 (Windows erro 126)  help please

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • I keep getting error message U44M1P2003 when trying to update photo shop elements 12

    I keep getting error message U44M1P2003 when trying to update photo shop elements 12 can any one help an OAP Luddite?

    See if that can help:
    Update 12.1 installation errors | Photoshop Elements, Premiere Elements

  • I am trying to send a text message from my iPad when I enter phone number I get error message phone number not registered with iMessages  from contacts

    When attempting to send text message from iPad I get error message "phone number not registered with iMessage REMOVE" the number is for iPhone an includes area code and country code. How do u register a number with iMessage?.

    TestnTag wrote:
    When attempting to send text message from iPad I get error message "phone number not registered with iMessage REMOVE" the number is for iPhone an includes area code and country code. How do u register a number with iMessage?.
    The iPad is not capable of sending an SMS message so texts, pictures, etc., must go through iMessage.  The destination device must be registered with the Apple servers by turning on iMessage.  Therefore, the user with the iPhone must enable it for iMessage.

  • Error Message -Entry Point Not Found -Can you help me?

    When I open up my Photoshop 6 Elements I get this error message:  
    "  Entry Point Not Found- the procedure entry point-CFBundle Copy File Type For File Data could not be located in the dynamic link library core Foundation.dll "
    I can click the OK option 3 times and the message disappears and I am able to work in Photoshop. 
    Can anyone tell me what this erro message might mean?
    Thanks!

    I am receiving the exact same message when I open Photoshop Elements 6.0.  ADOBE:  PLEASE respond to our requests and post the fix for this.
    Also, to whoever runs this forum, please do not indicate that this question has been answered in any way.
    thank you.
    frustrated

Maybe you are looking for