Email activity in BPEL: Would the email body support span and div elements

Whenever the body of the html contains span or div, I am receiving the compilation error:
Error(283): invalid xpath expression
xpath expression "string(&apos;&lt;html&gt;  &lt;body&gt;   &lt;p&gt;&lt;b&gt;&lt;span style=&apos;font-family:&quot;Cambria Math&quot;,&quot;serif&quot;&apos;&gt;Dear&amp;nbsp;&lt;/span&gt;BBB&lt;/b&gt;&lt;/p&gt;    &lt;p&gt;&lt;b&gt;Sincerely,&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;I&gt;AAA&lt;/I&gt;&lt;/p&gt;   &lt;/body&gt;  &lt;/html&gt;&apos;)" specified in <from> is not valid, because XPath query syntax error.
The syntax error occurs while parsing XPath expression string('<html>  <body>   <p><b><span style='font-family:"Cambria Math","serif"'>Dear </span>BBB</b></p>    <p><b>Sincerely,</b></p>  <p><I>AAA</I></p>   </body>  </html>'), at position 44.
The XPath query syntax was wrong; the exception was: Expected: ).
Check the detailed root cause described in the exception message text and verify that the XPath expression named in the error message is correct. The XPath expression is defined in the BPEL process.
Make sure the expression is valid
Working:
<html>
<body>
<p><b>Dear BBB</b></p>
<p><b>Sincerely,</b></p>
<p><I>AAA</I></p>
</body>
</html>
Not working HTML:
<html>
<body>
<p><b><span style='font-family:"Cambria Math","serif"'>Dear </span>BBB</b></p>
<p><b>Sincerely,</b></p>
<p><I>AAA</I></p>
</body>
</html>Even when I change &quot;Cambria Math&quot;,&quot;serif&quot; result is the same.

<html>
<head>
<style type="text/css">
span.blue {color:lightskyblue;font-weight:bold}
span.green {color:darkolivegreen;font-weight:bold}
</style>
</head>
<body>
<p>My mother has <span class="blue">light blue</span> eyes and my father has <span class="green">dark green</span> eyes.</p>
</body>
</html>

Similar Messages

  • Send Email using Email Activity in BPEL

    Hi Everybody,
    I am trying to send email using email activity in BPEL
    All that I have done is,
    1.dropped Email activity between recieve i/p and reply o/p in my bpel project
    2.written all parameters in it like Default, To ,from etc.
    3.made changes in the ns_emails.xml in .........bpel/systems/services/config & in .......integration/esb/config
    4.restarted SOA,Jdeveloper
    --> but I was not succeeded.
    So please provide me with complete solution like what parameters to pass in smtp server,port no,protocols etc and which file to change in which directory. my work is pending just because of this.
    I would be very grateful to you.
    thanks in advance.
    mansoor.

    hi Eric,
    thanks once again for your instant reply.
    but still I am not able to send Email from bpel so I would be requiring your more help.
    I have gone through below link where you helped someone last year.
    Email
    As per this link I have downloaded the patch and tried but no result.
    in above link I have not understood one thing
    "the ip-address of soa-suite-server is allowed to make use of the smtp?
    you need to add this address in the mailserver-config "
    which was said by you.
    So can you please provide me the details.
    Also I wanted to know how we can come to know that our SOA suite will allow mail server to send Email.how to link mail server to SOA suite etc.
    So please help me out .
    thanks in advance.
    mansoor.

  • HT204380 Facetime Activation: Could not verify the email address. Please re-enter and try again.   Tried so many times,even changed my appe ID and purchased a new facetime for iMac running 10.8.4 Mountain Lion,yet still same outcome. Can somebody help me?

    Facetime Activation: Could not verify the email address. Please re-enter and try again.   Tried so many times,even changed my appe ID and purchased a new facetime for iMac running 10.8.4 Mountain Lion,yet still same outcome. Can somebody help me?

    I have the same problem. FaceTime works fine on my iMac but when trying to use FaceTime on my Macbook Air, I have the same issue you describe.

  • I created an Apple ID using my ISP Email when I registered at the Store/Apple Support Communities/iTunes/Face Time and it does not work in iChat. Why Not ?

    Question:-
    I created an Apple ID using my ISP Email when I registered at the Store/Apple Support Communities/iTunes/Face Time or other portal and it does not work in iChat. Why Not ?
    Answer:-
    For a Name to work in iChat it has to be an Valid AIM screen Name.
    Only Apple IDs from the @mac.com ending names registered here  and the Mobileme (@Me.com ending) names are Valid with the AIM service as well as being Apple IDs
    (I am still working on info about registering with iCloud at the moment but if this does give you an @Me.com email it may well be a valid AIM name as well)
    NOTES:-
    The @mac.com page works by linking an external (Non Apple) email with a @mac.com name.
    This External Email cannot be one linked to an Existing Apple ID (you have to use a second email or register at AIM )
    The options at AIM are to use your existing email or create new name and link the existing only for Password recovery
    MobileMe (@me.com ending names) were valid Emails addresses, Apple IDs AND a Valid AIM Screen Name
    @mac.com names look like emails but are only Apple IDs and iChat/AIM Valid Screen Names.
    The AIM registration page seems to be pushing you to register [email protected] This is relatively new and I have not followed through the pages to find out if it a valid AIM email (Previously you could register a name without an @whatever.com suffix)
    8:16 PM      Friday; June 10, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

    Question:-
    So I have my current [email protected] email in iChat as I thought as I had linked that to an Apple ID it was a Valid iChat Name.  It keeps coming up with a UserName or Password Invalid message.  What do I do next ?
    Answer:-
    Open iChat
    Go to the Menu under the iChat name in the Menu Bar and then Preferences and then Accounts in the new window.
    Commonly written as iChat > Preferences > Accounts as directions/actions to take.
    If it displays with a Yellow running name in the list you have a choice.
    Either register it at AIM (I would use a different password to the ISP Login) and then change the password only in iChat  (It may take you to confirm any Confirmation email from AIM first) in iChat > Preferences > Accounts
    Or you register a new Name at AIM (Or at @mac.com) and enter that (details below)
    If you have a Blue Globe name  (@mac.com) that will not Login the chances are that it the password that is the issue.
    Apple lets you create longer passwords than can be used with the AIM Servers.
    Change the Password at iForgot to no more than 16 characters.
    Then change the password in iChat as details above.
    Adding a new Account/Screen Name in iChat (that is valid with the AIM servers)
    Open iChat if not launched.
    Go to iChat Menu > Preferences > Accounts
    Click the Add ( + )  Button at the bottom of the list.
    Choose in the top item drop down either @Mac.com or AIM depending on what you registered
    Add the name (with @mac.com the software will add the @mac.com bit)
    Add in the password.  (If you don't add it now iChat will ask you each time you open it)
    Click Done.
    The Buddy List should open (New Window)
    The Accounts part of the Preferences should now have the new name and you should be looking at the details.
    You can add something in the Description line which will then title the Buddy List (Useful when you have two or more names) and make it show up as that in the iChat Menu > Accounts and the Window Menu of iChat when logged in.
    You can then highlight any other Account/Screen Name you don't want to use and use the Minus ( - ) Button to delete it.
    8:39 PM      Friday; June 10, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • When I add a contact with multiple email addresses to an email, how do I get the email to send to both addresses?

    I want to send out an email to one of the groups in my address book, but when I add the group to my email only the first email address for each contact is added.  How would I make it so Mac always adds all of a contacts email addresses to the email.

    I look at it like this, it was a solution to my problem. There is obviously something wrong with the new version. When everyone starts complaining, and some genius figures out the fix, then I will worry about the upgrade. Until then, I am fine with running 4.0. I have to disagree with you though. 6.0 is a downgrade for sure. There is a lot to be desired compared to this version. Who wants price gong, and screwed up emails. Not me. The problem is out there, and now someone needs to work on the bug fixes on this BETA version.

  • TS3899 Whenever I send a email from iPad mail app with an attachment from pages or numbers, the receiver is getting only attachment in the email. They are getting the email content. How to troubleshoot this issue.

    Whenever I send a email from iPad mail app with an attachment from pages or numbers, the receiver is getting only attachment in the email. They are getting the email content. How to troubleshoot this issue.

    Someone is probably sending spam with your address forged on the To: line.  Could be one of your old contacts with a Windows machine has a virus that's doing it.  It's also possible your e-mail account has been hacked, though I'd think such a hacker would be a bit more purposeful.
    For more information, see:
    http://www.reedcorner.net/guides/macvirus/is_it_malware.php#spam
    * Disclaimer: links to my pages may give me compensation, and should not be taken as endorsement of my services by Apple.

  • Is it possible to sync my email on my iPhone with the email on my Mac.

    Is it possible to sync my email on my iPhone with the email on my Mac. I have a hotmail account as well as a Uni email account and when I read emails on my phone, I would like it to update my emails on my mac so that Im not deleting or reading the emails twice?

    This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes forums.
    Answering quickly, though, no, iTunes will not natively sync with non-Apple products. There may be workarounds, though. Ask in the iTunes forums.
    Regards.

  • I try to find something on my iPad, many results are emails, when I push on an email I can't see the email, because I get ever the first email,or the previous selected email in my inbox. How can I see the email selected?

    I try to find something on my iPad, many results are emails, when I push on an email I can't see the email, because I get ever the first email,or the previous selected email in my inbox. How can I see the email selected?

    Is your Yahoo account set up as POP3 or IMAP?

  • The problem is with the new operating system  and sending photo via email when used in my iPad.   From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow.

    The problem is with the new operating system  and sending photo via email when used in my iPad.
    From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow. This is solved by saving the email as a draft and opening the email again from mail.
    Can you amend he system to allow emails to be sent from photo as previously.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • What is the default length of time that a deleted email will be retained in the email trash before automatically deleting it? How do I change that default? I follow the instructions in the manual, but when there is no "advanced" to click on.

    What is the length of time that an email will be held in the email trash after being deleted? Also how do I change this default? I follow the instructions in the manual until it says to click on something called "advanced." There is nothing like that on the screen so I am stuck.

    Go to Settings > Mail
    Then tap on your account.
    SCROLL DOWN TO ADVANCED and tap advanced.
    Then look at Deleted Messages > Remove
    Tap on Remove and select the amount of time you want.

  • I get an error message when trying to email photos. It says "The email server didn't recognize your username/password combination." Yet I have reset my password and was able to log in to this Support Community. Can anybody help me?

    I get an error message when trying to email photos. It says "The email server didn't recognize your username/password combination." Yet I have reset my password and was able to log in to this Support Community. Can anybody help me?

    See my answer to your previous duplicate question. What happened when you tried my answers?
    LN

  • I use Safari with Comcast email, when I forward an email that has pictures in the email it omits them

    I use Safari with Comcast mail, whem I forward an email that has pictures in the email it omits them.

    Make sure the photos are jpg format.

  • Why do I have to download an attachment (lets say a picture) in my email each time I read the email?

    Why do I have to download an attachment (lets say a picture) in my email each time I read the email? When I have an internet connection, then it is not a problem with the exception of using the data plan and if the file is larger then it takes more time but when I don't have internet and I need to see the attachment...
    Thank You

    On the menubar, select Mail > Preferences > Accounts tab > select the mail account on the left > Advanced tab > Keep copies of messages for offline viewing: > set to All messages and their attachments.
    You need to do this for each of your mail accounts.
    Regards,
    Captfred

  • Hi ,, I need to reset my security question but the email that I should reserve the reset link has changed , and i don't know it ,, what can I do ????.

    Hi ,, I need to reset my security question but the email that I should reserve the reset link has changed , and i don't know it ,, what can I do ????.

    If you still have problem, call Apple to help reset your Security Question.
    http://support.apple.com/kb/HT5699

  • Hi, I can't email photos from iphoto as the email server doesn't recognise my password / username combination... any ideas how i fix this?

    Hi, I can't email photos from iphoto as the email server doesn't recognise my password / username combination... any ideas how / where i fix this?

    Go to iPhoto's Accounts preference pane and delete the email account there.  Then add it back again. 
    If that fails you can set Mail at the email client for iPhoto in iPhoto's General preference pane. Mail is more reliable, gives you a sent copy and has better access to your contacts. It also has photo templates if you need them.  They are in the stationary selection menu.
    OT

Maybe you are looking for