Error parsing feed: invalid xml

Just got an email yesterday that my podcast was taken down due to technical problems. But it was fine for the last 3 years. I use feedburner and everything seems to be fine on their side. my feed is http://feeds.feedburner.com/bolttalk
Apple please help!

It's all fixed.

Similar Messages

  • Error parsing feed: invalid XML: Error Line 1: Content isnot allowed in pr

    Hi I am trying t post a new podcast via iTunes but get an error
    Error parsing feed: invalid XML: Error Line 1: Content is not allowed in prolog
    this is my URL
    http://www.rolandjyoung.pwp.blueyonder.co.uk/podcast/dripodepisode1.mp3
    any ideas?

    That's not a feed, it's a web page. Your feed is at
    http://www.blogtalkradio.com/bluespot.rss
    and this can be subscribed to successfully in iTunes.

  • I just entered the podcast world. I am having trouble with my rss code. This is the error i recieve from itunes when trying to submit the url. Error Parsing Feed: invalid XML:Error line 64:XML documents must start and end within the same entity

    <?xml version="1.0"?>
    <rss xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:itunes="http://www.itunes.com/DTDs/Podcast-1.0.dtd"
    Verson="2.0">
    <channel>
    <title>KPNC Regional Toxcast</title>
    <link>http://kpssctoxicology.org/edu.htm</link>
    <description>KP Toxcast test podcast</description>
    <webMaster>[email protected]</webMaster>
    <managingEditor>[email protected]</managingEditor>
    <pubDate>Tue, 27 Sep 2011 14:21:32 PST</pubDate>
    <category>Science & Medicine</category>
      <image>
       <url>http://kpssctoxicology.org/images/kp tox logo.jpg</url>
       <width>100</width>
       <height>100</height>
       <title>KPNC Regional Toxcast</title>
      </image>
    <copyright>Copyright 2011 Kaiser Permanente. All Rights Reserved.</copyright>
    <language>en-us</language>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <!-- iTunes specific namespace channel elements -->
    <itunes:subtitle>The Kaiser Permanente Northern California (KPNC) Regional Toxicology Service                  Podcast</itunes:subtitle>
    <itunes:summary>This is the podcast (toxcast) of the KPNC Regional Toxicology Service. Providing                 Kaiser and non-Kaiser physicians with anything toxworthy</itunes:summary>
    <itunes:owner>
       <itunes:email>[email protected]</itunes:email>
       <itunes:name>G. Patrick Daubert, MD</itunes:name>
    </itunes:owner>
    <itunes:author>G. Patrick Daubert, MD</itunes:author>
    <itunes:category text="Science & Medicine"></itunes:category>
    <itunes:link rel="image" type="video/jpeg" href="http://kpssctoxicology.org/images/kp tox                   logo.jpg">KPNC Toxcast</itunes:link>
    <itunes:explicit>no</itunes:explicit>
    <item>
       <title>KPNC Regional Toxcast Sample File</title>
       <link>http://kpssctoxicology.org/edu.htm</link>
       <comments>http://kpssctoxicology.org#comments</comments>
       <description>This is the podcast (toxcast) of the KPNC Regional Toxicology Service. Providing                Kaiser and non-Kaiser physicians with anything toxworthy</description>
       <guid isPermalink="false">1808@http://kpssctoxicology.org/Podcast/</guid>
       <pubDate>Tue, 27 Sep 2011 14:21:32 PST</pubDate>
       <category>Science & Medicine</category>
       <author>[email protected]</author>
       <enclosure url="http://kpssctoxicology.org/podcast/kptoxcast_test_092711.mp3" length="367000"                   type="audio/mpeg" />
       <!-- RDF 1.0 specific namespace item attribute -->
       <content:encoded><![CDATA[<p><strong>Show Notes</strong></p>
       <p><a href="KPNC" _mce_href="http://kpssctoxicology.org/">KPNC">http://kpssctoxicology.org/">KPNC Regional Toxicology Service</a> is comprised of               Steve Offerman, MD; Michael Young, MD; Patrick Whitely; and G. Patrick Daubert, MD.               Awesome team!
       <p>Download <a href="KPNC" _mce_href="http://kpssctoxicology.org/podcast/kptoxcast_test_092711.mp3">KPNC"> http://kpssctoxicology.org/podcast/kptoxcast_test_092711.mp3">KPNC Sample               Toxcast</a></p>]]</content:encoded>
       <!-- iTunes specific namespace channel elements -->
       <itunes:author>G. Patrick Daubert, MD</itunes:author>
       <itunes:subtitle>The Kaiser Permanente Northern California (KPNC) Regional Toxicology Service                    Podcast</itunes:subtitle>
       <itunes:summary>This is the podcast (toxcast) of the KPNC Regional Toxicology Service.                   Providing Kaiser and non-Kaiser physicians with anything
                       toxworthy </itunes:summary>
       <itunes:category text="Medicine"></itunes:category>
       <itunes:duration>00:00:18</itunes:duration>
       <itunes:explicit>no</itunes:explicit>
       <itunes:keywords>daubert,toxicology,toxcast</itunes:keywords>
      </item>
    </channel>
    </rss>

    Please when you have a query post the URL of your feed, not its contents.  Is this your feed? -
    http://kpssctoxicology.org/Podcast/kptoxcast_test_rss_092711.xml
    You have a number of cases of a string of spaces in titles: you also have one in a URL which will render that link invalid.
    But what is rendering the whole feed unreadable is your category link:
    <category>Science & Medicine</category>
    The presence of an ampersand ('&') by itself indicates the start of a code sequence, and in the absence of one, and its closing character, invalidates everything which follows, and thus the entire feed. You must replace the ampersand with the code
    &amp;
    Additionally, your opening lines should read thus:
    <?xml version="1.0" encoding="UTF-8"?>
    <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
    (with the 'purl.org' line if you like).
    If you are going to submit a feed to iTunes you might want to reconsider have 'test' in the filename: apart from the Store having a tendency to reject obvious test podcasts which may not reflect the finished version, you will be stuck with this URL and though you can change the feed URL it's an additional hassle.

  • HT1819 When Submitting my Podcast for iTunes, Error Parsing Code, Invalid XML, line 25 message came up. Help!

    I have tried to submit my podcast, please help with the above error. Here is the site I am trying to connect: http://underthehelmet.podbean.com/
    Thanks in advance!

    You are trying to submit the URL of your web page - obviously this isn't going to work. Your feed is at
    http://underthehelmet.podbean.com/feed/
    and this is the URL you need to submit. It works OK when subscribing manually in iTunes so you should be OK with it; expect it to take a couple of weeks to get accepted.

  • Error Parsing Feed XML error and Item requested not available in US Store

    Here is my feed:
    http://www.fccetown.com/mp3/podcastfeed/podcast.xml
    It validates with no errors through the Feed Validator, however when I submit the podcast I
    receive the following error:
    Error parsing feed: Invalid XML : Error on line 86: The element type "link" must be terminated by the matching end-tag "</link"
    I defined the link like this so I do  not understand:
    <link>http://www.fccetown.com</link>
    I also tested the feed by Subscribing to the podcast and when I click on the link to the podcast from our web page I get the following but the proper feed is displayed:
    Item Not Displayed
    The Item You Requested is not available in the US Store.
    I set the language tag like this so I do not understand:
    <language>en-us</language>
    This is the link on our webpage to the podcast:
    https://itunes.apple.com/us/podcast/first-christian-church-elizabethtown/id26114 0517
    When I try to search from the Podcast Store with First Christian Church - Elizabethtown
    it returns the following episode:
    <item>
      <title>A View from the Throne</title>
    <description>
    </description>
      <pubDate>Sun, 05 Oct 2008 09:00:19 -0400</pubDate>
      <enclosure url="http://fccetown.com/mp3/20081005StuartJonesTheViewfromtheThrone.mp3" length="14333072" type="audio/mpeg" />
      <guid isPermaLink="false">a-view-from-the-throne</guid>
      <itunes:author>Stuart Jones</itunes:author>
      <itunes:explicit>no</itunes:explicit>
      <itunes:duration>29:51</itunes:duration>
      </item>
    If you can explain that one please let me know.
    I am confused by all of these errors.
    Please let me know how to proceed.
    Thanks,
    Don Hobbs

    You give two feed URLs: in neither case is there a file present on the server. You say you changed the feed: did you place the 'itunes:new-feed-url' tag in the old feed to redirect iTunes? In any case since there is no file present in either case the Store would be unable to read the feed and your podcast appears to have been removed from the Store as a consequence.
    You will now need to start again from scratch: once you have a working feed you will have to submit it as an entirely new podcast. You will need to change the title slightly or you will be told it has already been submitted.
    Before submitting you should check that your feed works by subscribing to it manually in iTunes, from the File menu in v11 or the Advanced menu in earlier versions.

  • Error parsing feed

    I am trying to publish a feed and I keep getting error parsing feed: Invalid XML the element type "img" must be terminated by the matching end -tag "</img>". But, I can't find that in the source below. I am not too familiar with HTML, but I am able to get in and edit the file via WordPress. I tried to find the line and add the end tag, but it only created another error parsing feed, so I must not have been editing the correct line in the code. Any help would be greatly appreciated. I would love to get this podcast listed, as it is my first and I am excited to see what kind of response we will get.
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
    <title>LuvCast &#8211; Listen before you Do it* &#8211; Honeymoons and Destination Weddings</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="generator" content="WordPress 3.3.1" /> <!-- leave this for stats please -->
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
        <link rel="stylesheet" type="text/css" href="http://goluv.com/css/buttons.css" />
    <link rel="stylesheet" href="http://podcast.goluv.com/wp-content/themes/clean theme/style.css" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://podcast.goluv.com/?feed=rss2" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="http://podcast.goluv.com/?feed=rss" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="http://podcast.goluv.com/?feed=atom" />
    <link rel="pingback" href="http://podcast.goluv.com/xmlrpc.php" />
    <link rel='archives' title='July 2012' href='http://podcast.goluv.com/?m=201207' />
    <link rel='stylesheet' id='admin-bar-css'  href='http://podcast.goluv.com/wp-includes/css/admin-bar.css?ver=20111209' type='text/css' media='all' />
    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://podcast.goluv.com/xmlrpc.php?rsd" />
    <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://podcast.goluv.com/wp-includes/wlwmanifest.xml" />
    <meta name="generator" content="WordPress 3.3.1" />
    <script type="text/javascript" src="http://podcast.goluv.com/wp-content/plugins/powerpress/player.js"></script>
    <script type="text/javascript"><!--
    function powerpress_pinw(pinw){window.open('http://podcast.goluv.com/?powerpress_pinw='+pinw, 'PowerPressPlayer','toolbar=0,status=0,resizable=1,width=460,height=320');      return false;}
    powerpress_url = 'http://podcast.goluv.com/wp-content/plugins/powerpress/';
    //-->
    </script>
    <style type="text/css" media="print">#wpadminbar { display:none; }</style>
    <style type="text/css" media="screen">
    html { margin-top: 28px !important; }
    * html body { margin-top: 28px !important; }
    </style>
    </head>
    <body>
    <div id="wrap">
    <!-- Weird JavaScript -->
    <link href='http://goluv.com/plugin/pkg/modal/modal.min.css' rel='stylesheet' type='text/css' />
    <script type='text/javascript' src='http://goluv.com/plugin/pkg/modal/modal.min.js'></script>
    <!-- End Weird Javascript -->
    <div id="header">
            <div class='left'>
      <a href="/index.php"><img src="/images/logo.gif" alt="GoAwayTravel.com | We Find the Best Deals so You Won't Have to!" /></a>
            </div> <!-- End Left -->
            <div class='right'>
            <a class="poplight first phone" rel="call_popup" href="#"><img src="http://goluv.com/images/call-us.gif" alt="Give Us a Call for a Great Deal!" /></a>
            </div> <!-- End Right -->
    <script type="text/javascript" src="http://static.weddingwire.com/static/js/widgets/mobileRedirect.js"></script><script type="text/javascript"><!--
    WeddingWire.mobile.detectMobile({"storefrontURL":"/website/goluv-crystal-city/85 d39032dbe2243b.html"});
    --></script>
    <div style='clear:both;'></div>
        <ul id='nav'>
      <li><a href="http://www.goluv.com">Home</a></li>
            <li><a href="http://goluv.com/resorts/">Resorts</a></li>
            <li><a href="http://goluv.com/destinations/">Destinations</a></li>
            <li><a href="http://goluv.com/destination-weddings/">Destination Weddings</a></li>
            <li><a href="http://goluv.com/wedding-requirements/">Wedding Requirements</a></li>
            <li><a href="http://goluv.com/honeymoon-packages/">Honeymoons</a></li>
            <li><a href="http://goluv.com/quote.php">Do It<span class="hot">*</span></a></li>
            <li><a href="http://podcast.goluv.com">Podcast</a></li>
            <li><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpa ges%2FGoLuv%2F142166732536129&amp;layout=button_count&amp;show_faces=false&amp;width=110&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:110px; height:21px; margin-top:5px;" allowTransparency="true"></iframe><!-- AddToAny BEGIN --></li>
        </ul> <!-- End Nav -->
    </div> <!-- End Header -->
    <!-- Call Box -->
    <div id="call_popup" class="popup_block">
    <h2 style='display:block;'>
        We're Here to Help Every Step of the Way!
        <div class='clear'></div>
        </h2>
        <h5>Fill out the form below with your phone number and name, and get a call within seconds!</h5>
        <form id='callform' action="http://igocheap.com/sale/call" method="post">
      <div class='call-controls'>
            Your Phone Number:
            <input id="callPhone" name="phone" type='text' style='margin-right:10px;'/>
            Your Name:
            <input id="callName" name="name" type='text'/>
    </div> <!-- End Call Controls -->
            <input type='submit' class="orange button bold" value='Call Now!'/>
        </form>
    </div>
    <!-- End Call Box -->
    <div class='block'>
    <img src='images/luvcast-banner.jpg' id='banner' />
    <div id="content" class="left">
    <div class="post" id="post-19">
      <div class='title'>
    <h2><a href="http://podcast.goluv.com/?p=19" title="Drumroll Please&#8230;Our First Podcast!">Drumroll Please&#8230;Our First Podcast!</a></h2>
                    <div class='right'>
      <div class='metadata'>
    Posted By&#58;  <span class='author'>admin</span>
    </div> <!-- End MetaData -->
                    </div> <!-- End Right -->
                    </div> <!-- End Title -->
      <div class="entry">
      <p>Check out our first installment of the LuvCast, your show for the latest in Destination Wedding and Honeymoon information. We will cover the latest news and feature a topic each episode, and don&#8217;t miss our Deals We Luv segment that will feature some of the great opportunities to get more for your money when booking your Destination Wedding or Honeymoon. There will be plenty of opportunities for silliness and giveaways as well, so tune in and enjoy!</p>
    <p>Find out what is featured in this episode by clicking the play button below, or download the podcast to play later.</p>
    <p> </p>
    <p> </p>
    <p> </p>
    <div class="powerpress_player" id="powerpress_player_1374"></div>
    <script type="text/javascript"><!--
    pp_flashembed(
    'powerpress_player_1374',
    {src: 'http://podcast.goluv.com/wp-content/plugins/powerpress/FlowPlayerClassic.swf', width: '320', height: '24', wmode: 'transparent' },
    {config: { autoPlay: false, autoBuffering: false, showFullScreenButton: false, showMenu: false, videoFile: 'http://goluv.com/podcast/mp3/GL-2012-07-18.mp3', loop: false, autoRewind: true } }
    //-->
    </script>
    <p class="powerpress_links powerpress_links_mp3">Podcast: <a href="http://goluv.com/podcast/mp3/GL-2012-07-18.mp3" class="powerpress_link_pinw" target="_blank" title="Play in new window" onclick="return powerpress_pinw('19-podcast');">Play in new window</a>
    | <a href="http://goluv.com/podcast/mp3/GL-2012-07-18.mp3" class="powerpress_link_d" title="Download">Download</a>
    </p>
    </div> <!-- End Entry -->
      </div> <!-- End Post -->
    <div class="navigation">
            </div> <!-- End Navigation -->
    </div> <!-- End Content -->
    <div id="sidebar" class="left">
    <a href="http://goluv.com/destination-weddings/"><img src="http://goluv.com/images/destination-wedding-btn.gif" alt="Get Started with Destination Weddings"></a>
    <a href="http://goluv.com/honeymoon-packages/"><img src="http://goluv.com/images/honeymoon-btn.gif" alt="Get Started with a Honeymoon, Destination Weddings are awesome as well."></a>
                 <!-- BEGIN ProvideSupport.com Graphics Chat Button Code -->
    <div id="cieaqt" style="z-index: 100; position: absolute;"></div><div id="sceaqt" style="display: inline;"><a href="#" onclick="pseaqtow(); return false;"><img name="pseaqtimage" src="http://www.goluv.com/images/live-on.gif" border="0"></a></div><div id="sdeaqt" style="display: none;"><script src="http://image.providesupport.com/js/goawaytravel/safe-standard.js?ps_h=eaqt&amp;ps_t=1332292759058&amp;online-image=http%3A//www.goluv.com/images/live-on.gif&amp;offline-image=http%3A//www.goluv.com/images/live-off.gif" type="text/javascript"></script></div><script type="text/javascript">var seeaqt=document.createElement("script");seeaqt.type="text/javascript";var
                                           seeaqts=(location.protocol.indexOf("https")==0?"https":"http")+"://image.provid esupport.com/js/goawaytravel/safe-standard.js?ps_h=eaqt\u0026ps_t="+new
                                           Date().getTime()+"\u0026online-image=http%3A//www.goluv.com/images/live-on.gif\ u0026offline-image=http%3A//www.goluv.com/images/live-off.gif";setTimeout("seeaq t.src=seeaqts;document.getElementById('sdeaqt').appendChild(seeaqt)",1)</script><noscript><div
                                           style="display:inline"><a href="http://www.providesupport.com?messenger=goawaytravel">Customer Service Help Desk</a></div></noscript>
    <!-- END ProvideSupport.com Custom Images Chat Button Code -->
    <a href="http://goluv.honeymoonwishes.com" target="_blank"><img src="http://goluv.com/images/registry-btn.gif" alt="Free Honeymoon Registry and Wedding Website, compliments of GoLuv! Destination Weddings Specialists."></a>
                <iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2 Fpages%2FGoLuv%2F142166732536129&amp;width=300&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23CCCCCC&amp;stream=true&amp;header=true&amp;height=400" style="border-color: rgb(102, 102, 102); overflow: hidden; width: 300px; height: 400px; border-radius: 10px 10px 10px 10px;" allowtransparency="true" frameborder="0" scrolling="no"></iframe>
    </div> <!-- End Sidebar -->
    </div> <!-- End Block -->
    <div class="footer">
    <div class="copy">
            <div class="copy right"><strong>Call Us: 800.657.4307</strong></div>
            <strong style="vertical-align:top;">&copy; 2012 GoTrips - GoLuv</strong>
            <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpa ges%2FGoLuv%2F142166732536129&amp;layout=button_count&amp;show_faces=false&amp;width=110&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:21px;" allowTransparency="true"></iframe><!-- AddToAny BEGIN -->
      <a href="http://www.youtube.com/user/goluvtv" target="_blank" class="tube"><img src="http://goluv.com/images/youtube-icon.jpg" alt="Check Out Our YouTube Channel!" /></a>
             <a href="javascript:void((function(){var%20e=document.createElement('script');e.setAttrib ute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute(' src','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);d ocument.body.appendChild(e)})());"><img alt="Pin It" class="aligncenter" src="http://goluv.com/images/pin-it.jpg" /></a>
                     <span class="st_sharethis_hcount" displayText='Share' style="vertical-align:top;"></span>
    <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
    <script type="text/javascript">
            stLight.options({
                    publisher:'befb0800-89e7-4f89-ba09-8ec30dcd40b2',
    tracking:'google',
                    embeds:'true'
    </script>
    <div class="clear"></div>
    </div> <!-- End Copy -->
            <br>
            <div class="f-logos">
            <table class="safe" cellpadding="0" cellspacing="0" width="950">
            <tbody><tr>
            <td width="193">
            <a href="/site-user-agreement.html" class="info">Site Usage Agreement</a>
            </td>
            <td width="157">
            <a href="/customer-support.html" class="info">Customer Service</a>
            </td>
            <td width="131">
            <a href="/privacy-policy.html" class="info">Privacy Policy</a>
            </td>
           <td width="96">
            <a href="/about-us.html" class="info">About Us</a>
            </td>
            <td width="139">
            <a href="/quote/join-us.html" class="info">Join Our Team</a>
            </td>
            <td width="232">
            <a href="https://goluv.com/creditcardform.php">Credit Card Authorization Form</a>
            </td>
           </tr>
            </tbody></table>
                </div> <!-- End f-logos -->
    </div> <!-- End Footer -->
    </div> <!-- End Wrap -->
    </body>
    </html>

    Firstly, please always publish the URL of a feed, not its contents.
    But in any case, this is not a feed: it's an HTML web page and as such won't be accepted by iTunes.
    There is a link to what is presumably the feed at http://podcast.goluv.com/?feed=rss2 - this does appear to be a valid feed and is what you should submit to iTunes.

  • ERROR: Error parsing 'ejb-jar.xml'

    Hello ppls,
    i am getting the following error while compiling using ejbc :
    ERROR: Error parsing 'ejb-jar.xml' line 25: The content of element
    type "entity"
    must match "(description?,display-name?,small-icon?,large-icon?,ejb-name,home?,
    my ejb-jar.xml looks like this
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
    JavaBeans 2.0//EN' 'http://www.java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd'
    >
    <ejb-jar>
         <enterprise-beans>
              <entity>
                   <ejb-name>Account</ejb-name>
                   <home>wlEntityBeanexample.AccountHome</home>
                   <remote>wlEntityBeanexample.Account</remote>
                   <ejb-class>wlEntityBeanexample.HelloBean</ejb-class>
                   <persistence-type>Bean</persistence-type>
                   <prim-key-class>java.lang.String</prim-key-class>
                   <transaction-type>Container</transaction-type>
                   <reentrant>False</reentrant>
                   <cmp-version>2.x</cmp-version>
                   <resource-ref>
                        <res-ref-name>mysql</res-ref-name>
                        <res-type>javax.sql.DataSource</res-type>
                        <res-auth>Container</res-auth>
                   </resource-ref>     
              </entity>
         </enterprise-beans>
         <assembly-descriptor>
              <container-transaction>
                   <method>
                        <ejb-name>Account</ejb-name>
                        <method-intf>Remote</method-intf>
                        <method-name>*</method-name>
                   </method>
                   <trans-attribute>Required</trans-attribute>
              </container-transaction>
         </assembly-descriptor>
         <ejb-client-jar>AccountClient<ejb-client-jar>
    </ejb-jar>     
    I compared the file with other ejb-jar.xml file coming as an Example
    in Weblogic, i didn't find any difference.
    Thanks in Advance,
    Prashant

    Thanks Deepak, i got it running at last.
    Prashant
    "Deepak Vohra" <[email protected]> wrote in message news:<[email protected]>...
    The entity element in ejb-jar.xml should be of the
    format:
    <!ELEMENT entity (description?, display-name?, small-icon?,
              large-icon?, ejb-name, home?, remote?, local-home?,
              local?, ejb-class, persistence-type, prim-key-class,
              reentrant, cmp-version?, abstract-schema-name?,
              cmp-field*, primkey-field?, env-entry*, ejb-ref*,
              ejb-local-ref*, security-role-ref*, security-identity?,
              resource-ref*, resource-env-ref*, query*)>
    transaction-type is not defined for a entity ejb.
    <entity> <ejb-name>Account</ejb-name> <home>wlEntityBeanexample.AccountHome</home>
    <remote>wlEntityBeanexample.Account</remote> <ejb-class>wlEntityBeanexample.HelloBean</ejb-class>
    <persistence-type>Bean</persistence-type> <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant> <cmp-version>2.x</cmp-version>
    <resource-ref> <res-ref-name>mysql</res-ref-name> <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth> </resource-ref>
    </entity>
    [email protected] (prashant) wrote:
    Hello ppls,
    i am getting the following error while compiling using ejbc :
    ERROR: Error parsing 'ejb-jar.xml' line 25: The content of element
    type "entity"
    must match "(description?,display-name?,small-icon?,large-icon?,ejb-name,home?,
    my ejb-jar.xml looks like this
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
    JavaBeans 2.0//EN' 'http://www.java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd'
    >
    <ejb-jar>
         <enterprise-beans>
              <entity>
                   <ejb-name>Account</ejb-name>
                   <home>wlEntityBeanexample.AccountHome</home>
                   <remote>wlEntityBeanexample.Account</remote>
                   <ejb-class>wlEntityBeanexample.HelloBean</ejb-class>
                   <persistence-type>Bean</persistence-type>
                   <prim-key-class>java.lang.String</prim-key-class>
                   <transaction-type>Container</transaction-type>
                   <reentrant>False</reentrant>
                   <cmp-version>2.x</cmp-version>
                   <resource-ref>
                        <res-ref-name>mysql</res-ref-name>
                        <res-type>javax.sql.DataSource</res-type>
                        <res-auth>Container</res-auth>
                   </resource-ref>     
              </entity>
         </enterprise-beans>
         <assembly-descriptor>
              <container-transaction>
                   <method>
                        <ejb-name>Account</ejb-name>
                        <method-intf>Remote</method-intf>
                        <method-name>*</method-name>
                   </method>
                   <trans-attribute>Required</trans-attribute>
              </container-transaction>
         </assembly-descriptor>
         <ejb-client-jar>AccountClient<ejb-client-jar>
    </ejb-jar>     
    I compared the file with other ejb-jar.xml file coming as an Example
    in Weblogic, i didn't find any difference.
    Thanks in Advance,
    Prashant

  • RSS feed: Invalid XML

    Hello everyone.
    I want to submit my podcast to iTunes, but I have a problem with the XML file.
    Feed Validator said to me:
    Sorry
    This feed does not validate.
    line 1, column 0: XML parsing error: <unknown>:1:0: not well-formed (invalid token) [help]{\rtf1\ansi\ansicpg1252\deff0\deflang1036{\fonttbl{\f0\fswiss\fprq2\fcharset ...
    Source: http://*********/RSS.xml
    {\rtf1\ansi\ansicpg1252\deff0\deflang1036{\fonttbl{\f0\fswiss\fprq2\fcharset0 Verdana;}{\f1\fnil\fcharset0 Calibri;}}
    {\colortbl ;\red68\green68\blue68;}
    For more details, here is the XML file.
    I really hope you guys well be able to help me.

    You appear to have created your feed in a word processing program: it's full of formatting codes such as \par, and the opening couple of lines are full of garbage: the required xml declaration is missing.
    This page includes a sample basic feed so you can see what one should look like: your feed must be plain text.
    http://rfwilmut.net/pc

  • Error submitting feed in itunes, But Feedvalidatororg says it's good

    While trying to submit the feed in iTunes, it gives me an error message saying *error parsing feed: Invalid XML: Error on Line 1: The element type "META" must be terminated by the matching end-tag "</META>"*
    The feed has been validated by feedvalidator.org as shown below:
    http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fdownload696.mediafire.co m%2Fncjmniyxnthg%2Fznijmzmalrj%2FEssentialTrance.rss
    Is there something wrong that I am doing? This is the first time I'm doing this.
    Thanks in advance for your time!

    The URL of your feed, according to the FeedValidator page (which doesn't give me the same error it did you) is
    http://download696.mediafire.com/ncjmniyxnthg/znijmzmalrj/EssentialTrance.rss
    Opening this in a browser produces a redirect to
    http://www.mediafire.com/?znijmzmalrj
    which gives a link to download the file. This won't work in iTunes: you must give it a URL directly to the feed. The test is that if you open the URL in a browser it will treat it as rss and display the contents.
    Although the extension of .rss will work it would be better if the extension was .xml

  • Invalid XML

    Loading the feed onto the "Submit Podcasts to the iTunes Directory" appears to only work about half the time. It is very common to get the message "Error parsing feed: Invalid XML. (parsing?)
    I can't seem to figure it out. Any ideas? Thanks

    Joe,
    Before resubmitting your feed, use Feed Validator to ensure your XML files are coded properly: http://feedvalidator.org/
    Mitchell A.
    Creating Success podcast Have the creative career you want.
    G4   Mac OS X (10.3.9)  

  • Web Service Security with SAML - Invalid XML signature

    Hello together,
    we want to build a scenario where we want to use Web Service Security  with SAML.
    The scenario will be
    WS Client (Java Application) -> WS Adapter -> Integration Engine ->  WS Adapter-> CRM (Web AS ABAP 7.01 SP 3)
    SAP PI release is 7.11 (SP Level 4)
    We want to use the SAML Authentification from WS Client to PI and from PI to Web AS ABAP.
    The SAML authentifications between the WS Client and PI works when there is no SAML auth between PI and CRM.
    But we get following error at calling the CRM system when we want to communicate with SAML:
      <E_TEXT>CX_WS_SECURITY_FAULT:Invalid XML signature</E_TEXT>
    Has somebody an idea of the possible reason for the error.
    Thanks in advance
    Stefan

    Error Messages in the Trace/Log Viewer:
    CX_WS_SECURITY_FAULT : Invalid XML signature | program: CL_ST_CRYPTO==================CP include: CL_ST_CRYPTO==================CM00G line: 48
    A SOAP Runtime Core Exception occurred in method CL_ST_CRYPTO==================CM00G of class CL_ST_CRYPTO==================CP at position id 48  with internal error id 1001  and error text CX_WS_SECURITY_FAULT:Invalid XML signature (fault location is 1  ).
    Invalid XML signature

  • Parse Failed: Invalid Definition (UNV0023)

    I have a universe based on a BEx query. The BEx query uses formula variables as filters which the users must enter values for when running the report. If I build a report in WEBI based on this universe I get no issues. The filter variables prompt comes up whenever I refresh. However, if I parse the filter object in Universe Designer I get the following error:
    Parse Failed: Invalid Definition (UNV0023)
    The WHERE statement for this filter is:
    <OPERATOR VALUE="AND"><OPTIONAL><FILTER KEY="[!V000003]">
    <CONDITION OPERATORCONDITION="Equal">
    <CONSTANT CAPTION="@Prompt('Percentage Commission to Manager (%)','N',,mono,free,,{10})"/>
    </CONDITION></FILTER></OPTIONAL><OPERATOR VALUE="AND">
    <FILTER KEY="[!V000002]"><CONDITION OPERATORCONDITION="Equal">
    <CONSTANT CAPTION="@Prompt('Dual Rate','N',,mono,free,,{6})"/>
    </CONDITION></FILTER><FILTER KEY="[!V000001]"><CONDITION OPERATORCONDITION="Equal">
    <CONSTANT CAPTION="@Prompt('Single Rate','N',,mono,free,,{3})"/></CONDITION>
    </FILTER></OPERATOR></OPERATOR>
    Here you can see we have three variables, V000001, V000002 and V000003, which have default values and will prompt the WEBI users with the following texts:
    'Percentage Commission to Manager (%)'
    'Dual Rate'
    'Single Rate'
    Can I ignore this or is there a better way to define the filter?
    Edited by: Khaled McGonnell on Nov 9, 2010 5:49 PM
    Edited by: Khaled McGonnell on Nov 9, 2010 5:50 PM

    Hi,
    You have added default values in @Prompt: default values and static values must always be enclosed with single quote even if the data type is numeric.
    <OPERATOR VALUE="AND">
         <OPTIONAL>
              <FILTER KEY="[!V000003]">
                   <CONDITION OPERATORCONDITION="Equal">
                        <CONSTANT CAPTION="@Prompt('Percentage Commission to Manager (%)','N',,mono,free,,{'10'})"/>
                   </CONDITION>
              </FILTER>
         </OPTIONAL>
    </OPERATOR>
    <OPERATOR VALUE="AND">
         <OPTIONAL>
              <FILTER KEY="[!V000002]">
                   <CONDITION OPERATORCONDITION="Equal">
                        <CONSTANT CAPTION="@Prompt('Dual Fuel Rate','N',,mono,free,,{'6'})"/>
                   </CONDITION>
              </FILTER>
         </OPTIONAL>
    </OPERATOR>
    <OPERATOR VALUE="AND">
         <OPTIONAL>
              <FILTER KEY="[!V000001]">
                   <CONDITION OPERATORCONDITION="Equal">
                        <CONSTANT CAPTION="@Prompt('Single Fuel Rate','N',,mono,free,,{'3'})"/>
                   </CONDITION>
              </FILTER>
         </OPTIONAL>
    </OPERATOR>
    Didier

  • BAPI_PO_GETDETAIL1 - An invalid XML character (Unicode: 0xb) was found

    Hi,
    We are using BAPI_PO_GETDETAIL1 to get the Purchase Order details. it worked well in the past.
    But its failing for a particular PO number.
    Error Message:An invalid XML character (Unicode: 0xb) was found in the element content of the document.
    I understand there might be some special character in the record. But it works well at SAP ECC.
    Can someone please suggest some solution or workaround?
    Thanks,
    Anil

    Hi,
    I faced the same issue recently, and came accross this sap note : 1559677 : XML renderer creates invalid XML.
    Take a few moments to read the contents, but here's the most important part :
    If an application program uses the SAP XML renderers to create XML 1.0
    documents that must strictly conform to the specifications of W3C, this
    application program must ensure that problematic characters are removed
    from the data before transferring this data to the SAP XML renderer.
    So, you need to clean up the characters by yourself...
    Best regards,
    Wouter

  • Losing Line-feed in XML parsing (XMLTRANSFORM) or File output (clob2file)?

    Hi all, need some help please!
    I'm using a xslt file to transferm a XML file into a txt format file. Within the XSLT file, there is a carriage-return (<xsl:text>
    </xsl:text>) (it disappeared already, here is what i'm using "#xD" or "#xA", have to take the '&' and ';' away), but the final output txt file seems to lose this carriage-return/line-feed information. The output data became one-line.
    Here are the steps I've used:
    1. lv_xml_data = XMLTRANSFORM (a.xml_data, b.f_xslt)
    => output data into XMLTYPE;
    2. using XMLTYPE.getclobval to get the output data into CLOB format.
    lv_output_clob := XMLTYPE.getclobval (lv_xml_data);
    3. using encoding:
    lv_output_clob :=
    DBMS_XMLGEN.CONVERT (lv_output_clob, DBMS_XMLGEN.entity_decode);
    4. using clob2file write to a file with txt format.
    DBMS_XSLPROCESSOR.clob2file (lv_output_clob,
    lv_output_dir,
    lv_filename,
    NLS_CHARSET_ID ('UTF8')
    Been struggling with these a few days already. Any help is appreciated. I would really like to get some input to see what might cause the carriage-return/line-feed characters lost.
    Thanks in advance!
    -Jane
    Edited by: user9084567 on Feb 1, 2010 1:45 PM
    Edited by: user9084567 on Feb 1, 2010 1:47 PM
    Edited by: user9084567 on Feb 1, 2010 1:48 PM

    A_non,
    After a few testing, I can identify the CRLF was lost in XMLTRANSFORM. I had read your other thread related to this, and try to run this sample code:
    /* Formatted on 2010/02/03 15:32 (Formatter Plus v4.8.8) */
    DECLARE --Local variables here
    v_xml XMLTYPE
    := XMLTYPE
    ('<
    offers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xsd.xsd"><
    submit type="DAM" date="2007-03-28" name="MKTPART1" mode="NORMAL"/><
    offer name="Jamestown" flag="true" version_no="1.0"><
    standing date="2007-03-29" type="WED"/><
    identifier external_id="523736560"/><
    /offer><
    /offers>'
    v_xslt XMLTYPE
    := XMLTYPE
    ('<
    xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <
    xsl:output method="text"/> <
    xsl:variable name="new_line" select="''&#xA;''" /> <
    xsl:template match="/"> <
    xsl:value-of select="/offers/offer/...name"/><
    xsl:value-of select="$new_line" /><
    xsl:value-of select="/offers/submit/...date"/><
    xsl:value-of select="$new_line" /><
    xsl:value-of select="/offers/offer/standing/...date"/><
    xsl:value-of select="$new_line" /><
    xsl:value-of select="/offers/offer/standing/...type"/><
    xsl:value-of select="$new_line" /><
    /xsl:template><
    /xsl:stylesheet>'
    BEGIN -- Test statements here
    DBMS_OUTPUT.put_line (XMLTYPE.transform (v_xml, v_xslt).getstringval ());
    END;
    But come out these error:
    Error at line 2
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00230: invalid character 10 (U+000A) found in a Name or Nmtoken
    Error at line 4
    ORA-06512: at "SYS.XMLTYPE", line 310
    ORA-06512: at line 2
    Can not figure out why. Try to use this <xsl:variable name="new_line" select="''& # x A ;''" /> inside my style sheet, but it seems not taking it. Not too sure what's exactly should be the quotes for "''& # x A ;''" (w/o space). If I used doub quote + two single quotes, it returns error, LPX-00601: Invalid token in: ' '; if I used single quote + double quote, it did not bring in CRLF at all.
    Any input?
    Thanks in advance.

  • FODC0002 [{bea-err}FODC0002a]: Error parsing input XML: Error at line:2 col

    I have an ODSI Physical Service that is based on a Java Function. The Java Function builds a SQL statement and uses JDBC to query for a ResultSet. One of the columns that is queried is a Clob. Sometimes, the data in this column causes an XMLBeans validation exception in ODSI: {err}XQ0027: Validation failed: error: decimal: Invalid decimal value: unexpected char '114'
    The issue is not consistently replicable with particular database record, the database records that present this issue at one point in time will be resolved after a restart of ODSI and replaced by another list of records that present the same error.
    As can be seen from the stack trace, it looks like the issue is happening after the database query has returned and while the process is assembling the SOAP response.
    Error at line:2 col:481 Line:2 '=' expected, got char[99]
    at weblogic.xml.babel.scanner.ScannerState.expect(ScannerState.java:241)
    at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:60)
    at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
    at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
    at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
    at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:510)
    at weblogic.xml.babel.baseparser.EndElement.parse(EndElement.java:34)
    at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:457)
    at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:326)
    at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)
    at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
    at weblogic.xml.stax.XMLEventReaderBase.parseSome(XMLEventReaderBase.java:189)
    at weblogic.xml.stax.XMLEventReaderBase.nextEvent(XMLEventReaderBase.java:122)
    at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:136)
    at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:124)
    at weblogic.xml.query.parsers.BufferedParser.fetchNext(BufferedParser.java:79)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
    at weblogic.xml.query.runtime.navigation.ChildPath.fetchNext(ChildPath.java:308)
    at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:133)
    at weblogic.xml.query.schema.BestEffortValidatingIterator$OpenedIterator.hasNext(BestEffortValidatingIterator.java:224)
    at weblogic.xml.query.schema.ValidatingIterator.fetchNext(ValidatingIterator.java:82)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
    at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
    at weblogic.xml.query.iterators.LegacyGenericIterator.next(LegacyGenericIterator.java:109)
    at weblogic.xml.query.schema.BestEffortValidatingIterator.fetchNext(BestEffortValidatingIterator.java:85)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
    at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
    at weblogic.xml.query.iterators.LegacyGenericIterator.next(LegacyGenericIterator.java:109)
    at weblogic.xml.query.runtime.typing.SeqTypeMatching.fetchNext(SeqTypeMatching.java:137)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
    at com.bea.dsp.wrappers.jf.JavaFunctionIterator.fetchNext(JavaFunctionIterator.java:273)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
    at weblogic.xml.query.runtime.querycide.QueryAssassin.fetchNext(QueryAssassin.java:54)
    at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:163)
    at weblogic.xml.query.runtime.qname.InsertNamespaces.fetchNext(InsertNamespaces.java:247)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
    at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:88)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
    at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
    at weblogic.xml.query.iterators.LegacyGenericIterator.hasNext(LegacyGenericIterator.java:130)
    at weblogic.xml.query.xdbc.util.Serializer.serializeItems(Serializer.java:251)
    at com.bea.ld.server.ResultPusher$DSP25CompatibilityPusher.next(ResultPusher.java:236)
    at com.bea.ld.server.ResultPusher.pushResults(ResultPusher.java:112)
    at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:770)
    at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:624)
    at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:478)
    at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:323)
    at com.bea.ld.ServerWrapperBean.invoke(ServerWrapperBean.java:153)
    at com.bea.ld.ServerWrapperBean.invokeOperation(ServerWrapperBean.java:80)
    at com.bea.ld.ServerWrapper_s9smk0_ELOImpl.invokeOperation(ServerWrapper_s9smk0_ELOImpl.java:63)
    at com.bea.dsp.ws.RoutingHandler$PriviledgedRunner.run(RoutingHandler.java:96)
    at com.bea.dsp.ws.RoutingHandler.handleResponse(RoutingHandler.java:217)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:287)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:271)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:176)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:285)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:169)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    <Apr 29, 2011 12:47:01 PM EDT> <Notice> <ODSI> <BEA-000000> <LabOrderDataServices> <Error occurred performing ODSI operation: {ld:LabOrder/logical/LabOrderReport}getLabOrderDetails:1
    weblogic.xml.query.exceptions.XQueryDynamicException: ld:LabOrder/logical/LabOrderReport.ds, line 34, column 6: {err}FODC0002 [{bea-err}FODC0002a]: Error parsing input XML: Error at line:2 col:481 Line:2 '=' expected, got char[99]
    at weblogic.xml.query.iterators.AbstractIterator.reportUserError(AbstractIterator.java:95)
    at weblogic.xml.query.iterators.AbstractIterator.reportUserError(AbstractIterator.java:147)
    at weblogic.xml.query.parsers.Parser.reportParseError(Parser.java:157)
    at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:225)
    at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:124)
    Truncated. see log file for complete stacktrace
    javax.xml.stream.XMLStreamException: Error at line:2 col:481 Line:2 '=' expected, got char[99]
    at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:206)
    at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
    at weblogic.xml.stax.XMLEventReaderBase.parseSome(XMLEventReaderBase.java:189)
    at weblogic.xml.stax.XMLEventReaderBase.nextEvent(XMLEventReaderBase.java:122)
    at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:136)
    Truncated. see log file for complete stacktrace
    Error at line:2 col:481 Line:2 '=' expected, got char[99]
    at weblogic.xml.babel.scanner.ScannerState.expect(ScannerState.java:241)
    at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:60)
    at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
    at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
    at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
    Truncated. see log file for complete stacktrace
    >
    Can somebody shed some light on this issue?
    Thanks
    Edited by: user738507 on May 6, 2011 7:21 AM

    Here is the java function:
         * Iterate through the search results and build out the XmlBean response
         * @param helper A helper class used to simplify common JDBC commands
         * @param doc The XmlBean document to populate
         * @param isCollectionsIncluded True if Collection info should be included in results, False otherwise
         * @param isFullDetailsIncluded True if Result data should be included in results, False otherwise
         * @throws Exception
         private static void addOrders(XmlBeansJDBCHelper helper, LabOrderReportDocument doc,
                   boolean isCollectionsIncluded, boolean isFullDetailsIncluded) throws Exception {
              int rows = 0;
              ResultSet rs = helper.getResultSet();
              LabOrders labOrders = doc.getLabOrderReport().addNewLabOrders();
              LabOrder record = null;
              HashMap<Long, Collection> parentCollectionMap = null;
              // initialize variable used to track when child elements of the XML should be created
              long previousRowOrderId = 0;
              long previousRowParentOrderCollectionId = 0;
              long previousRowOrderCollectionId = 0;
              long previousRowResultId = 0;
              boolean isRootCollectionNode = false;
              LabOrder.Collections lastParentOuterCollectionsAdded = null;
              com.idexx.services.lde.laborder.Collection.Collections lastParentInnerCollectionsAdded = null;
              com.idexx.services.lde.laborder.Collection lastCollectionAdded = null;
              Result lastResultAdded = null;
              // Loop through the results and build XmlBean nodes for each row
              // Since the SQL is joining Orders to Collections (one-to-many) to Results (one-to-many),
              // and returning a flat structure, there will be duplicate Order data on each row when
              // multiple collections exist on the Order, and duplicate Collection data when multiple
              // Results exist. We can use this fact to determine when to create a new Collection, or
              // Result node.
              while (helper.getResultSet().next())
                   rows++;
                   long currentRowParentOrderCollectionId = 0;
                   long currentRowOrderCollectionId = 0;
                   long currentRowResultId = 0;
                   long currentRowResultRemarkId = 0;
                   //int rowno = helper.getResultSet().getRow();
                   // Get the Order ID
                   logDebug("Getting the OrderId.....");
                   BigInteger dbOrderId = JDBCHelper.getBigInteger(rs, DataConstants.ORDER_ID);
                   logDebug("DONE getting the OrderId.");
                   long currentRowOrderId = dbOrderId.longValue();
                   // Determine the Order ID, Order Collection ID, and Result ID currently being processed.
                   // These will be used to determine whether to start a new LabOrder Bean, Collections Bean, or Results Bean
                   if (isCollectionsIncluded || isFullDetailsIncluded) {
                        // Get the ParentOrderCollectionID
                        logDebug("Getting the Parent Collection Order ID.....");
                        BigInteger dbParentOrderCollectionId = JDBCHelper.getBigInteger(rs, DataConstants.PARENT_ORDER_COLLECTION_ID);
                        if ( dbParentOrderCollectionId != null )
                             currentRowParentOrderCollectionId = dbParentOrderCollectionId.longValue();
                        else
                             currentRowParentOrderCollectionId = 0;
                        // Get the OrderCollectionID
                        logDebug("Getting the Order Collection ID.....");
                        BigInteger dbOrderCollectionId = JDBCHelper.getBigInteger(rs, DataConstants.ORDER_COLLECTION_ID);
                        if ( dbOrderCollectionId != null )
                             currentRowOrderCollectionId = dbOrderCollectionId.longValue();
                        else
                             currentRowOrderCollectionId = 0;
                        if ( isFullDetailsIncluded ) {
                             // Get the ResultID
                             logDebug("Getting the Result Id.....");
                             BigInteger dbResultId = JDBCHelper.getBigInteger(rs, DataConstants.RESULT_ID);
                             if ( dbResultId != null )
                                  currentRowResultId = dbResultId.longValue();
                             else
                                  currentRowResultId = 0;
                             // Get the ResultRemarkID
                             BigInteger dbResultRemarkId = JDBCHelper.getBigInteger(rs, DataConstants.RESULT_REMARK_ID);
                             if ( dbResultRemarkId != null )
                                  currentRowResultRemarkId = dbResultRemarkId.longValue();
                             else
                                  currentRowResultRemarkId = 0;
                   isRootCollectionNode = (currentRowParentOrderCollectionId == 0);
                   logDebug("currentRowOrderId: " + currentRowOrderId);
                   logDebug("previousRowOrderId: " + previousRowOrderId);
                   logDebug("currentRowResultId: " + currentRowResultId);
                   logDebug("previousRowResultId: " + previousRowResultId);
                   logDebug("currentRowResultRemarkId: " + currentRowResultRemarkId);
                   logDebug("previousRowResultRemarkId: N/A");
                   logDebug("currentRowParentOrderCollectionId: " + currentRowParentOrderCollectionId);
                   logDebug("previousRowParentOrderCollectionId: " + previousRowParentOrderCollectionId);
                   logDebug("currentRowOrderCollectionId: " + currentRowOrderCollectionId);
                   logDebug("previousRowOrderCollectionId: " + previousRowOrderCollectionId);
                   if ( currentRowOrderId != previousRowOrderId ) {
                        parentCollectionMap = new HashMap<Long, Collection>();
                        lastParentOuterCollectionsAdded = null;
                        lastParentInnerCollectionsAdded = null;
                        lastCollectionAdded = null;
                        lastResultAdded = null;
                        // This is a new Order, generate a new Lab Order bean
                        record = addOrder(labOrders, helper, dbOrderId, isFullDetailsIncluded);
                        logDebug("Order Added!");
                        // If there is Parent Collection data and it should be included, build a Collections element,
                        // and populate the first one
                        if ( !isRootCollectionNode && (isCollectionsIncluded || isFullDetailsIncluded) ) {
                             lastParentOuterCollectionsAdded = record.addNewCollections();
                             lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, true);
                             logDebug("Collection Added! Is it null? " + (lastCollectionAdded == null));
                        // If there is Collection data and it should be included, build a Collections element,
                        // and populate the first one
                        if ( currentRowOrderCollectionId > 0 && (isCollectionsIncluded || isFullDetailsIncluded) ) {
                             if ( isRootCollectionNode ) {
                                  lastParentOuterCollectionsAdded = record.addNewCollections();
                                  lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
                                  parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
                                  logDebug("parent collection added to map: " + currentRowOrderCollectionId);
                             else {
                                  lastParentInnerCollectionsAdded = lastCollectionAdded.addNewCollections();
                                  lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
                             logDebug("Collection Added! Is it null? " + (lastCollectionAdded == null));
                             // If there is Result data and it should be included, build a Results element,
                             // and populate the first one
                             if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
                                  logDebug("Adding result....");
                                  lastResultAdded = addResult(record, helper, lastCollectionAdded);
                                  logDebug("Result Added!");
                                  // If there is Result Remark data and it should be included, build a ResultRemarks element,
                                  // and populate the first one
                                  if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
                                       addResultRemark(record, helper, lastResultAdded);
                        logDebug("DONE getting first Collection and Result.");
                   else if ( currentRowParentOrderCollectionId != previousRowParentOrderCollectionId
                             && (isCollectionsIncluded || isFullDetailsIncluded) ) {
                        // This is a new, top level, Order Collection to be included
                        lastParentOuterCollectionsAdded = null;
                        lastParentInnerCollectionsAdded = null;
                        lastCollectionAdded = null;
                        lastResultAdded = null;
                        logDebug("Getting next Order Collection...");
                        // If there is Parent Collection data and it should be included, build a Collections element,
                        // and populate the first one
                        if ( !isRootCollectionNode ) {
                             lastCollectionAdded = (com.idexx.services.lde.laborder.Collection)parentCollectionMap.get(new Long(currentRowParentOrderCollectionId));
                             logDebug("A Collection Added! Is it null? " + (lastCollectionAdded == null));
                        // If there is Collection data and it should be included, build a Collections element,
                        // and populate the first one
                        if ( currentRowOrderCollectionId > 0 ) {
                             if ( isRootCollectionNode ) {
                                  //LabOrder.Collections collections = record.addNewCollections();
                                  lastParentOuterCollectionsAdded = record.getCollections();
                                  lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
                                  parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
                             else {
                                  lastParentInnerCollectionsAdded = lastCollectionAdded.addNewCollections();
                                  lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
                             logDebug("B Collection Added! Is it null? " + (lastCollectionAdded == null));
                             // If there is Result data and it should be included, build a Results element,
                             // and populate the first one
                             if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
                                  lastResultAdded = addResult(record, helper, lastCollectionAdded);
                                  // If there is Result Remark data and it should be included, build a ResultRemarks element,
                                  // and populate the first one
                                  if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
                                       addResultRemark(record, helper, lastResultAdded);
                   else if ( currentRowOrderCollectionId != previousRowOrderCollectionId
                             && (isCollectionsIncluded || isFullDetailsIncluded) ) {
                        // This is a new Order Collection to be included inside of a parent collection
                        logDebug("Getting next CHILD Order Collection...");
                        logDebug("isRootCollectionNode: " + isRootCollectionNode);
                        logDebug("Order ID: " + helper.getBigInteger(DataConstants.ORDER_ID));
                        logDebug("Order Collection ID: " + helper.getBigInteger(DataConstants.ORDER_COLLECTION_ID));
                        logDebug("Collection ID: " + helper.getBigInteger(DataConstants.COLLECTION_ID));
                        if ( isRootCollectionNode ) {
                             lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
                             parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
                        else {
                             com.idexx.services.lde.laborder.Collection parentCollection = (com.idexx.services.lde.laborder.Collection)parentCollectionMap.get(new Long(currentRowParentOrderCollectionId));
                             if(parentCollection == null) {
                                  log(LOG_LEVEL.WARN, "Parent Collection with id: " + currentRowParentOrderCollectionId + " is null for collection id: " + currentRowOrderCollectionId + " but isRootCollectionNode is " + isRootCollectionNode);
                             } else {
                                  lastParentInnerCollectionsAdded = parentCollection.getCollections();
                                  logDebug("Is lastParentInnerCollectionsAdded null? " + (lastParentInnerCollectionsAdded == null));
                                  lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
                        // If there is Result data and it should be included, build a Results element,
                        // and populate the first one
                        if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
                             lastResultAdded = addResult(record, helper, lastCollectionAdded);
                             // If there is Result Remark data and it should be included, build a ResultRemarks element,
                             // and populate the first one
                             if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
                                  addResultRemark(record, helper, lastResultAdded);
                   else if ( currentRowResultId != previousRowResultId
                             && isFullDetailsIncluded ) {
                        // There is a new Result to be included
                        logDebug("Getting next Result...");
                        // This is a new result to be included
                        lastResultAdded = addResult(record, helper, lastCollectionAdded);
                        // If there is Result Remark data and it should be included, build a ResultRemarks element,
                        // and populate the first one
                        if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
                             addResultRemark(record, helper, lastResultAdded);
                   else if ( isFullDetailsIncluded ) {
                        // There is a new Result Remark to include
                        logDebug("Getting next Result Remark...");
                        // This is a new result remark to be included
                        addResultRemark(record, helper, lastResultAdded);
                   logDebug("Done building response.");
                   previousRowResultId = currentRowResultId;
                   previousRowParentOrderCollectionId = currentRowParentOrderCollectionId;
                   previousRowOrderCollectionId = currentRowOrderCollectionId;
                   previousRowOrderId = currentRowOrderId;
              logDebug("Found " + rows + " rows of data.");
         }

Maybe you are looking for

  • Are private variables of VO/AM/...also passivated?

    Hi, In my JClient application in order to avoid the transaction becomming "dirty" when setting transient attributes => display field, I did the following: Transient attribute: AttrTransient Added a private variable Number attrTransient public Number

  • HtmlSelectOneRadio - preset and get value

    Hi after successfull creation of a radio box HtmlSelectOneRadio primaryRoleRadio = (HtmlSelectOneRadio)facesContext.getApplication().createComponent (HtmlSelectOneRadio.COMPONENT_TYPE); UISelectItem items1 = (UISelectItem) facesContext.getApplication

  • Installing CS3 on a Quad core with Raid 5

    I recently bought a new computer and tried installing CS3 Master collection on it and I'm having some problems. The new computer has an AMD quad core processor, 4GB of ram, 3 hard drives set up in a RAID 5, and a high end Nvidia graphics card. I'm us

  • ITunes AppStore Review Counts Screwed Up?

    I ran the iPhone 2.2 update over the weekend and now my AppStore reviews are showing up whacky. In the US AppStore I have 82 reviews for my application Intelliremote yet the outer screen is showing 185 reviews. Also my app ZWave Commander has 2 revie

  • Need material on smart forms

    hai,     can you send me some material like PDF to me. thnaking you. my mail id :  [email protected] thanks and regards murali krishna