Error parsing stylesheet

I'm writing a function that will take a query and a stylesheet as parameters (varchar2), generate xml from the query, format the output using the supplied stylesheet and return it to the calling program.
I've based the function on code examples I've found on the web, so apologies if this isn't actually xml db.
The stylesheet is well-formed, according to xmlspy.
I've reduced the call down to this - xmldoc := dbms_xmlparser.parse(xsl);
This is the error:
Error at line 1
ORA-31001: Invalid resource handle or path name "<?XML VERSION="1.0"?>
<xsl:stylesheet VERSION="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <xsl:TEMPLATE match="ROWSET">
          <SupportingData xmlns="http://www.moneo.co.uk/eXii">
               <xsl:APPLY-templates SELECT="ROW"/>
          </SupportingData>
     </xsl:TEMPLATE>
     <xsl:TEMPLATE match="ROW">
          <Clients>
               <xsl:APPLY-templates SELECT="CLIENT/CLIENT_ROW"/>
               <xsl:APPLY-templates SELECT="SPOUSE/SPOUSE_ROW"/>
          </Clients>
          <ProductStartDate>
               <xsl:VALUE-OF SELECT="PRODUCTSTARTDATE"/>
          </ProductStartDate>
ORA-06512: at "SYS.XDBURITYPE", line 11
ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 142
ORA-29280: invalid directory path
ORA-29280: invalid directory path
ORA-29280: invalid directory path
ORA-06512: at "XDB.DBMS_XMLPARSER", line 41
ORA-06512: at line 402
I haven't posted the whole stylesheet, as I reckon the error is probabaly pretty basic, but I can't find out what it is.
I've got rather confused with the different ways I've found to manipulate xml in Oracle!
Thanks,
Graham
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE     11.2.0.3.0     Production
TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production

Thanks for that.
When you say 'If you really want to keep on using DBMS_XMLPARSER', does that mean it's been deprecated?
I've been thrown in the deep end here and pointed to a Toad knowledge base article which had a helper function I was advised to use as a start point.
There was no mention of any Oracle version, so I assumed it worked for all; I guess that is not the case.
Anyway, your simpler version looks just that. What documentation can I look at to understand what's going on ?
All I've found so far refers to the parser or xmltype, which is further than we need to go at the moment.
I've implemented your simpler version, but still get the same error; I'm guessing that my xml is still wrong.
Which raises another question.
I was wrong when I said the stylesheets were working in our production system; they are in our live 8i system, but we haven't run that part in our new 11g system yet, apart from what I'm trying to do now.
Do I assume things have changed in that area and our stylesheets will no longer work?
Here's the new output.
DECLARE
result clob;
qry varchar2(32767) := 'select tp.product_id
, cursor(
SELECT party_id
, dateofbirth
, Sex
, MaritalStatus
FROM
select party_id
, dateofbirth
, sex
, MaritalStatus
, int_code
from
SELECT ti.Party_id
, TO_CHAR(ti.birth_date, ''yyyy-mm-dd'') AS DateOfBirth
, DECODE(ti.sex_code_id,24,''M'',25,''F'') AS Sex
, nvl(ti.marital_status_code_id,100177) as MaritalStatus
, tppi.interest_type_code_id as int_code
FROM T_INDIVIDUAL ti
, T_PARTY_PRODUCT_INTEREST tppi
WHERE tppi.product_id = 620460
AND tppi.interest_type_code_id = 106005
AND ti.party_id = tppi.party_id
AND tppi.start_date < sysdate
AND (tppi.end_date > sysdate or tppi.end_date is null)
UNION
SELECT ti.Party_id
, TO_CHAR(ti.birth_date, ''yyyy-mm-dd'') AS DateOfBirth
, DECODE(ti.sex_code_id,24,''M'',25,''F'') AS Sex
, nvl(ti.marital_status_code_id,100177) as MaritalStatus
, tppi.interest_type_code_id as int_code
FROM T_INDIVIDUAL ti
, T_PARTY_PRODUCT_INTEREST tppi
WHERE tppi.product_id = 620460
AND tppi.interest_type_code_id = 4701
AND ti.party_id = tppi.party_id
AND tppi.start_date < sysdate
AND (tppi.end_date > sysdate or tppi.end_date is null)
ORDER BY INT_CODE DESC
WHERE ROWNUM = 1
) as Client
, cursor(
SELECT ti2.party_id
, to_char(ti2.birth_date, ''yyyy-mm-dd'') as DateOfBirth
, decode(ti2.sex_code_id,24,''M'',25,''F'') as Sex
, nvl(ti2.marital_status_code_id,100177) as MaritalStatus
FROM t_party_product_interest tppi
, t_individual ti2
WHERE tppi.product_id = tp.product_id
AND tppi.interest_type_code_id = 81000300
AND tppi.party_id = ti2.party_id
AND tppi.start_date < sysdate
AND (tppi.end_date > sysdate or tppi.end_date is null)
) as Spouse
,to_char(tp.product_start_date, ''yyyy-mm-dd'') as ProductStartDate
,cursor(
SELECT tdfn.retirement_age
, tdfn.charging_structure_code_id
FROM T_DDD_FSAVC_NEW_BUSINESS tdfn
WHERE tdfn.parent_entity_id = (SELECT tui.illustration_id
FROM T_UCI_ILLUSTRATION tui
WHERE tui.acceptance_date = (SELECT MAX(accept_date) FROM
(SELECT MAX(tui.acceptance_date) accept_date
FROM T_UCI_ILLUSTRATION tui
, T_DDD_FSAVC_NEW_BUSINESS tdfn
, T_ILLUSTRATION_TYPE tit
WHERE tui.illustration_id = tdfn.parent_entity_id
AND tui.product_id = 620460
and tui.illustration_type_id = tit.illustration_type_id
and tit.behaviour_code_id <> 5653
UNION
(SELECT MAX(TUI.ACCEPTANCE_DATE) accept_date
FROM T_UCI_ILLUSTRATION tui
, T_DDD_fsavc_AMENDMENTS tdfa
, T_ILLUSTRATION_TYPE tit
WHERE tui.illustration_id = tdfa.parent_entity_id
AND tui.product_id = 620460
and tui.illustration_type_id = tit.illustration_type_id
and tit.behaviour_code_id <> 5653
UNION
(SELECT MAX(TUI.ACCEPTANCE_DATE) accept_date
FROM T_UCI_ILLUSTRATION tui
, T_DDD_FSAVC_MIGRATED tdfm
, T_ILLUSTRATION_TYPE tit
WHERE tui.illustration_id = tdfm.parent_entity_id
AND tui.product_id = 620460
and tui.illustration_type_id = tit.illustration_type_id
and tit.behaviour_code_id <> 5653
AND tui.product_id = tp.product_id
UNION
SELECT nvl(TDFA.NEW_RETIREMENT_AGE, tdfa.retirement_age) retirement_age
, tdfa.charging_structure_code_id
FROM T_DDD_FSAVC_AMENDMENTS tdfa
WHERE tdfa.parent_entity_id = (SELECT tui.illustration_id
FROM T_UCI_ILLUSTRATION tui
WHERE tui.acceptance_date = (SELECT MAX(accept_date) FROM
(SELECT MAX(tui.acceptance_date) accept_date
FROM T_UCI_ILLUSTRATION tui
, T_DDD_FSAVC_NEW_BUSINESS tdfn
, T_ILLUSTRATION_TYPE tit
WHERE tui.illustration_id = tdfn.parent_entity_id
AND tui.product_id = 620460
and tui.illustration_type_id = tit.illustration_type_id
AND tit.behaviour_code_id <> 5653
UNION
(SELECT MAX(tui.acceptance_date) accept_date
FROM T_UCI_ILLUSTRATION tui
, T_DDD_FSAVC_AMENDMENTS tdfa
, T_ILLUSTRATION_TYPE tit
WHERE tui.illustration_id = tdfa.parent_entity_id
AND tui.product_id = 620460
and tui.illustration_type_id = tit.illustration_type_id
AND tit.behaviour_code_id <> 5653
UNION
(SELECT MAX(TUI.ACCEPTANCE_DATE) accept_date
FROM T_UCI_ILLUSTRATION tui
, T_DDD_FSAVC_MIGRATED tdfm
, T_ILLUSTRATION_TYPE tit
WHERE tui.illustration_id = tdfm.parent_entity_id
AND tui.product_id = 620460
and tui.illustration_type_id = tit.illustration_type_id
and tit.behaviour_code_id <> 5653
AND tui.product_id = tp.product_id
UNION
SELECT tdfm.retirement_age
, tdfm.charging_structure_code_id
FROM T_DDD_FSAVC_MIGRATED tdfm
WHERE tdfm.parent_entity_id = (SELECT tui.illustration_id
FROM T_UCI_ILLUSTRATION tui
WHERE tui.acceptance_date = (SELECT MAX(accept_date) FROM
(SELECT MAX(tui.acceptance_date) accept_date
FROM T_UCI_ILLUSTRATION tui
, T_DDD_FSAVC_NEW_BUSINESS tdfn
, T_ILLUSTRATION_TYPE tit
WHERE tui.illustration_id = tdfn.parent_entity_id
AND tui.product_id = 620460
and tui.illustration_type_id = tit.illustration_type_id
AND tit.behaviour_code_id <> 5653
UNION
(SELECT MAX(tui.acceptance_date) accept_date
FROM T_UCI_ILLUSTRATION tui
, T_DDD_FSAVC_AMENDMENTS tdfa
, T_ILLUSTRATION_TYPE tit
WHERE tui.illustration_id = tdfa.parent_entity_id
AND tui.product_id = 620460
and tui.illustration_type_id = tit.illustration_type_id
AND tit.behaviour_code_id <> 5653
UNION
(SELECT MAX(TUI.ACCEPTANCE_DATE) accept_date
FROM T_UCI_ILLUSTRATION tui
, T_DDD_FSAVC_MIGRATED tdfm
, T_ILLUSTRATION_TYPE tit
WHERE tui.illustration_id = tdfm.parent_entity_id
AND tui.product_id = 620460
and tui.illustration_type_id = tit.illustration_type_id
and tit.behaviour_code_id <> 5653
AND tui.product_id = tp.product_id
) as ProjectionBasis
,cursor(
SELECT tdps.contingent_proportion_percent as contingentproportion
, tdps.guaranteed_period_code_id as guaranteedperiod
FROM t_ddd_projection_settings tdps
WHERE tdps.parent_entity_type_code_id = 1022
AND tdps.parent_entity_id = tp.product_id
) as AnnuityInformation
,cursor(
select (fund.fund_name || '' - '' || ut.unit_type_name) as fund_name,
ut.unit_type_id,
round(holding.units * valuation.bid_price/100, 2) as holding_value
from t_uci_benefit benefit,
t_unit_type ut,
t_fund fund,
(select ben.benefit_id,
vp.bid_price
from t_uci_benefit ben,
v_vp_estimate_date vp
where ben.product_id = 620460 and
vp.unit_type_id = ben.unit_type_id and
vp.start_date < to_date(to_char(trunc(to_date(''XSU_TERM_START_DATE'', ''dd/mm/yyyy hh24:mi:ss''))) || '' 23:59:59'', ''dd/mm/yyyy hh24:mi:ss'') - 1 and
(vp.end_date is null or to_date(to_char(trunc(to_date(''XSU_TERM_START_DATE'', ''dd/mm/yyyy hh24:mi:ss''))) || '' 23:59:59'', ''dd/mm/yyyy hh24:mi:ss'') - 1 <= vp.end_date)) valuation,
(select ben.benefit_id,
ben.held_units + nvl(sum(transactions.credamt), 0) + nvl(sum(transactions.debamt), 0) units
from t_uci_benefit ben,
(select cred.holding_benefit_id,
-1 * cred.deal_units as credamt,
0 as debamt
from t_uci_deal_transaction cred
where cred.product_id = 620460 and
cred.exclude_from_statement_flag = ''N'' and
trunc(nvl(cred.committed_date, cred.effective_date)) > to_date(to_char(trunc(to_date(''XSU_TERM_START_DATE'', ''dd/mm/yyyy hh24:mi:ss''))), ''dd/mm/yyyy'') - 1 and
cred.status_code_id in (4302, 4305, 4306, 4307) and
cred.credit_flag = ''Y''
union all
select deb.holding_benefit_id,
0 as credamt,
deb.deal_units as debamt
from t_uci_deal_transaction deb
where deb.product_id = 620460 and
deb.exclude_from_statement_flag = ''N'' and
trunc(nvl(deb.committed_date, deb.effective_date)) > to_date(to_char(trunc(to_date(''XSU_TERM_START_DATE'', ''dd/mm/yyyy hh24:mi:ss''))), ''dd/mm/yyyy'') - 1 and
deb.status_code_id in (4302, 4305, 4306, 4307) and
deb.credit_flag = ''N'') transactions
where ben.benefit_id = transactions.holding_benefit_id (+)
and ben.product_id = 620460
group by ben.benefit_id,
ben.held_units
) holding
where benefit.product_id = 620460 and
benefit.benefit_id = holding.benefit_id and
benefit.benefit_id = valuation.benefit_id and
benefit.unit_type_id = ut.unit_type_id and
ut.fund_id = fund.fund_id
order by fund_name asc
) as fund
,cursor(
SELECT t_s.product_id as Product
, t_u.product_transaction_type_id as Reference
, t_u.customer_amt as Customer_amt
, to_char(t_s.schedule_start_date, ''yyyy-mm-dd'') as StartDate
, to_char(t_s.schedule_end_date, ''yyyy-mm-dd'') as EndDate
, t_s.frequency as Frequency
, t_s.frequency_units_code_id as FrequencyUnits
, to_char(t_s.next_transaction_date, ''yyyy-mm-dd'') as NextTransactionDate
FROM t_scheduled_transaction t_s,
t_uci_template_transaction t_u
WHERE t_s.scheduled_transaction_id = t_u.scheduled_transaction_id
and t_s.product_id = tp.product_id
and (t_s.schedule_end_date is null
or t_s.schedule_end_date > TO_DATE(to_char(trunc(to_date(''XSU_TERM_START_DATE'', ''dd/mm/yyyy hh24:mi:ss''))), ''dd/mm/yyyy hh24:mi:ss''))
) as Transactions
,cursor(
SELECT tub.unit_type_id
, tub.default_investment_percent as Percentage
, tub.benefit_id
FROM t_uci_benefit tub
WHERE tub.product_id = tp.product_id and
tub.default_investment_percent Is not Null
) as FundSplit
from t_uci_product tp
where tp.product_id = 620460';
xsl varchar2(32767):= '<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <xsl:template match="ROWSET">
          <SupportingData xmlns="http://www.moneo.co.uk/eXii">
               <xsl:apply-templates SELECT="ROW"/>
          </SupportingData>
     </xsl:template>
     <xsl:template match="ROW">
          <Clients>
               <xsl:apply-templates select="CLIENT/CLIENT_ROW"/>
               <xsl:apply-templates select="SPOUSE/SPOUSE_ROW"/>
          </Clients>
          <ProductStartDate>
               <xsl:value-of select="PRODUCTSTARTDATE"/>
          </ProductStartDate>
          <ProjectionBasis>
               <xsl:apply-templates select="PROJECTIONBASIS/PROJECTIONBASIS_ROW"/>
          </ProjectionBasis>
          <AnnuityInformation>
               <xsl:apply-templates select="ANNUITYINFORMATION/ANNUITYINFORMATION_ROW"/>
          </AnnuityInformation>
          <Funds>
               <xsl:apply-templates select="FUND/FUND_ROW"/>
          </Funds>
          <Transactions>
               <xsl:apply-templates select="TRANSACTIONS/TRANSACTIONS_ROW"/>
          </Transactions>
          <DefaultFundSplits>
               <xsl:apply-templates select="FUNDSPLIT/FUNDSPLIT_ROW"/>
          </DefaultFundSplits>
     </xsl:template>
     <xsl:template match="CLIENT_ROW">
          <Client>
               <xsl:IF test="STRING-LENGTH(DATEOFBIRTH)!=0">
                    <DateOfBirth>
                         <xsl:value-of select="DATEOFBIRTH"/>
                    </DateOfBirth>
               </xsl:IF>
               <Sex>
                    <xsl:value-of select="SEX"/>
               </Sex>
               <MaritalStatus CodeId="{MARITALSTATUS}"/>
          </Client>
     </xsl:template>
     <xsl:template match="SPOUSE_ROW">
          <Spouse>
               <xsl:IF test="STRING-LENGTH(DATEOFBIRTH)!=0">
                    <DateOfBirth>
                         <xsl:value-of select="DATEOFBIRTH"/>
                    </DateOfBirth>
               </xsl:IF>
               <Sex>
                    <xsl:value-of select="SEX"/>
               </Sex>
               <MaritalStatus CodeId="{MARITALSTATUS}"/>
          </Spouse>
     </xsl:template>
     <xsl:template match="PROJECTIONBASIS_ROW">
          <xsl:IF test="RETIREMENT_AGE">
               <RetirementAge>
                    <xsl:value-of select="RETIREMENT_AGE"/>
               </RetirementAge>
          </xsl:IF>
          <ChargingStructure CodeId="{CHARGING_STRUCTURE_CODE_ID}"/>
     </xsl:template>
     <xsl:template match="ANNUITYINFORMATION_ROW">
          <xsl:IF test="STRING-LENGTH(GUARANTEEDPERIOD)!=0">
               <GuaranteePeriod>
                    <xsl:value-of select="GUARANTEEDPERIOD"/>
               </GuaranteePeriod>
          </xsl:IF>
          <xsl:IF test="STRING-LENGTH(CONTINGENTPROPORTION)!=0">
               <ContingentProportion>
                    <xsl:value-of select="CONTINGENTPROPORTION"/>
               </ContingentProportion>
          </xsl:IF>
     </xsl:template>
     <xsl:template match="FUND_ROW">
          <Fund>
               <REFERENCE>
                    <xsl:value-of select="UNIT_TYPE_ID"/>
               </REFERENCE>
               <VALUE>
                    <xsl:value-of select="HOLDING_VALUE"/>
               </VALUE>
          </Fund>
     </xsl:template>
     <xsl:template match="TRANSACTIONS_ROW">
          <TRANSACTION>
               <REFERENCE>
                    <xsl:value-of select="REFERENCE"/>
               </REFERENCE>
               <Amount>
                    <xsl:value-of select="CUSTOMER_AMT"/>
               </Amount>
               <StartDate>
                    <xsl:value-of select="STARTDATE"/>
               </StartDate>
               <xsl:IF test="STRING-LENGTH(ENDDATE)!=0">
                    <EndDate>
                         <xsl:value-of select="ENDDATE"/>
                    </EndDate>
               </xsl:IF>
               <Frequency>
                    <xsl:value-of select="FREQUENCY"/>
               </Frequency>
               <FrequencyUnits>
                    <xsl:value-of select="FREQUENCYUNITS"/>
               </FrequencyUnits>
               <NextPaymentDate>
                    <xsl:value-of select="NEXTTRANSACTIONDATE"/>
               </NextPaymentDate>
          </TRANSACTION>
     </xsl:template>
     <xsl:template match="FUNDSPLIT_ROW">
          <Fund>
               <REFERENCE>
                    <xsl:value-of select="UNIT_TYPE_ID"/>
               </REFERENCE>
               <Percentage>
                    <xsl:value-of select="PERCENTAGE"/>
               </Percentage>
          </Fund>
     </xsl:template>
</xsl:stylesheet>';
ctx dbms_xmlgen.ctxHandle;
BEGIN
ctx := dbms_xmlgen.newContext(qry);
dbms_xmlgen.setNullHandling(ctx, dbms_xmlgen.EMPTY_TAG);
dbms_xmlgen.setXSLT(ctx, xsl);
result := dbms_xmlgen.getXML(ctx);
dbms_xmlgen.closeContext(ctx);
END;
Error at line 1
ORA-31001: Invalid resource handle or path name "<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <xsl:template match="ROWSET">
          <SupportingData xmlns="http://www.moneo.co.uk/eXii">
               <xsl:apply-templates SELECT="ROW"/>
          </SupportingData>
     </xsl:template>
     <xsl:template match="ROW">
          <Clients>
               <xsl:apply-templates select="CLIENT/CLIENT_ROW"/>
               <xsl:apply-templates select="SPOUSE/SPOUSE_ROW"/>
          </Clients>
          <ProductStartDate>
               <xsl:value-of select="PRODUCTSTARTDATE"/>
          </ProductStartDate>
ORA-06512: at "SYS.XDBURITYPE", line 30
ORA-06512: at "SYS.DBMS_XMLGEN", line 116
ORA-06512: at line 401
Script Terminated on line 1 of \\Hqtgnas21p\users\operations\systems\is\development\gball\My_Documents\Useful SQL Reports etc\sqltoxml_sample.sql.

Similar Messages

  • 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.

  • Need some help with DNG and error parsing the files

    Ok, so I found out that I can't open NEF files with CS2 from my Nikon D3100 - unless I upgrade to CS6, or use the DNG converter.  I did download the DNG converter that came with the Camera RAW 3.7 (for CS2) in one of Adobe's links, but when I try to convert the NEF files, the DNG converter says "There is an error parsing the file".   If it helps, I have Windows 7.  Is there a different version of the DNG converter I should be using?  Thanks!

    A simple Google search will find it.  For some reason it isn't on the Adobe website.  If you upgrade to CS6 you'll find much improvement in your raw conversions.
    http://blogs.adobe.com/lightroomjournal/2012/12/camera-raw-7-3-and-dng-converter-7-3-now-a vailable.html

  • Error parsing recording file

    Hi,
    I am trying to open JRockit recorded xml file with JRA tool. Getting message ' Error parsing recording file'.
    Thanks
    ranga

    For older versions of JRockit, you had to use exactly the same version of JRockit when you created the recording as when you opened it.
    With more recent versions (R26.0 and later iirc) it is sufficient if the JRA reader version is >= the version of JRockit producing the recording. Or in other words, make sure you are running the latest version of JRockit on your developer workstation.
    -- Henrik

  • Error parsing PLV file

    I get an error message attempting to use the 'Plan Visualizer'. I posted a question on this subject already and got the feedback from one of SAP's own HANA gurus that it probably is due to a bug ( Error parsing PLV file  ).
    Since I have not seen anybody else raising the same issue and there are others (my assumption) using the same set-up as I am (HANA SP8 on BW740 SP8) I suppose that it is very possible that it is not a real bug (since IF it indeed is a bug, others must have had the same problem).
    Is there anyway to get a confirmation if this is a bug (requiring a fix by e.g. OSS) or a problem specific to my installation/set-up/configuration that I might be able to fix (myself or with help).
    As you can imagine I am keen on solving this since it is quite a handicap to not be able to analyze the performance in the system.
    Thanks.

    For older versions of JRockit, you had to use exactly the same version of JRockit when you created the recording as when you opened it.
    With more recent versions (R26.0 and later iirc) it is sufficient if the JRA reader version is >= the version of JRockit producing the recording. Or in other words, make sure you are running the latest version of JRockit on your developer workstation.
    -- Henrik

  • Error Parsing Structure File

    When I try to access a project that is in RoboSource Control,
    I keep getting this error "Error Parsing Structure File". Does
    anyone know what this means and how to fix it? Thanks.

    See here Dreamweaver CS5 fatal error XML parsing: Invalid document structure, line:1, File: C:\User\Tyler\App

  • Error parsing XML: {err}FORG0005: expected exactly one item, got 0 items

    Hi ,
    Good Morning to all
    in osb replace action am using xquery transformation resource.
    source code of xquery is :
    ====================================================================================
    (:: pragma bea:global-element-parameter parameter="$addition1" element="ns0:Addition" location="../wsdl/NewWSDLFile.wsdl" ::)
    (:: pragma bea:global-element-return element="ns1:process" location="../bpelprocess1_client_ep.wsdl" ::)
    declare namespace ns1 = "http://xmlns.oracle.com/POProcessing/AdditionOSB/BPELProcess1";
    declare namespace ns0 = "http://www.example.org/NewWSDLFile/";
    declare namespace xf = "http://tempuri.org/ServiceCallout/trans/route/";
    declare function xf:route($addition1 as element(ns0:Addition))
    as element(ns1:process) {
    <ns1:process>
    <ns1:value1>{ data($addition1/value1) }</ns1:value1>
    <ns1:value2>{ data($addition1/value2) }</ns1:value2>
    </ns1:process>
    declare variable $addition1 as element(ns0:Addition) external;
    xf:route($addition1)
    =====================================================
    at the time of running "error is Error parsing XML: {err}FORG0005: expected exactly one item, got 0 items " in replace action.
    how to resolve this problem...
    Thanks & Regards
    venky

    The reason for the error is the xquery is not able to find the values in the input... Check the input and namespaces...
    Try...
    <ns1:value1>{ data($addition1/ns0:value1) }</ns1:value1>
    <ns1:value2>{ data($addition1/ns0:value2) }</ns1:value2>Cheers,
    Vlad

  • How do download Adobe Flash Player without error parsing voucher problem?

    Hello,
    I'm trying to download and install Adobe Flash Player. I uninstalled all versions of Flash Player. I have the Adobe Download manager still loaded and the Adobe Photo Shop and the Adobe Reader still loaded. I use Mozilla Firefox version 3.6.8.
    I'm getting an error when trying to download. The error states Adobe Download Manager - The download cannot continue. error parsing voucher. The file is gp.xpi I don't have a fully functional Microsoft Explorer browser. I need technical help downloading Adobe Flash Player. I use XP professional operating system. I have a Dell Dimension 8100. Thank you

    Don't use the download manager then, use the direct download link for the plugin installer http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player.exe
    Close all Firefox windows before you run the installer.

  • SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype

    Hi,
    i have created web service link which deals with calling a Pl/sql procedure with the help of DBAdapter in jdev 10.1.3.4 .here i am trying to insert a row in tables.my webservice is working fine from BPEL console
    my collegue who is working on PHP is trying to access the the wsdl link with the help of Appcelator and php
    code for php
    <?php
    //include("general.php");
    $wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/CreateRepairOrder/1.0/CreateRepairOrder?wsdl';
    //$wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl';
    $client = new SoapClient($wsdl_url,array('trace' => 1,'exceptions' => 0));
    print_r($client);
    exit;
    class CreateOrderNd
    var $PARTY_ID="";
    var $CUST_ACCOUNT_ID="";
    var $INVENTORY_ITEM_ID="";
    var $SERIAL_NUMBER="";
    var $UNIT_OF_MEASURE="";
    var $QUANTITY="";
    var $ITEM_CROSS_REFERENCE="";
    var $PROBLEM_DESCRIPTION="";
    function CreateOrderNd($PartyNam,$AccountId,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata)
    $this->PARTY_ID=$PartyName;
    $this->CUST_ACCOUNT_ID=$AccountId;
    $this->INVENTORY_ITEM_ID=$ItemId_requestdata;
    $this->SERIAL_NUMBER=$SerialNumber_requestdata;
    $this->UNIT_OF_MEASURE=$uom_requestdata;
    $this->QUANTITY=$quantity_requestdata;
    $this->ITEM_CROSS_REFERENCE=$ItemCrossReference_requestdata;
    $this->PROBLEM_DESCRIPTION=$ProblemDescription_requestdata;
    $parm = new CustomerNd($PartyName_requestdata,$AccountId_requestdata,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata);
    $parm = new CustomerNd('Bus%','');
    $parm = new CreateOrderNd(4429,1608,6761,'0722AB05','Ea',1,'abc123','Network error');
    $ret=$client->process($parm);
    print_r($ret);
    ?>
    when she/he access it they are facing a error
    SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype
    and some times it will give
    Warning: SoapClient::SoapClient(http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl) http://function.SoapClient-SoapClient: failed to open stream: HTTP request failed! in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Warning: SoapClient::SoapClient() http://function.SoapClient-SoapClient: I/O warning : failed to load external entity "http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl" in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl' in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6

    Hi,
    i have created web service link which deals with calling a Pl/sql procedure with the help of DBAdapter in jdev 10.1.3.4 .here i am trying to insert a row in tables.my webservice is working fine from BPEL console
    my collegue who is working on PHP is trying to access the the wsdl link with the help of Appcelator and php
    code for php
    <?php
    //include("general.php");
    $wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/CreateRepairOrder/1.0/CreateRepairOrder?wsdl';
    //$wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl';
    $client = new SoapClient($wsdl_url,array('trace' => 1,'exceptions' => 0));
    print_r($client);
    exit;
    class CreateOrderNd
    var $PARTY_ID="";
    var $CUST_ACCOUNT_ID="";
    var $INVENTORY_ITEM_ID="";
    var $SERIAL_NUMBER="";
    var $UNIT_OF_MEASURE="";
    var $QUANTITY="";
    var $ITEM_CROSS_REFERENCE="";
    var $PROBLEM_DESCRIPTION="";
    function CreateOrderNd($PartyNam,$AccountId,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata)
    $this->PARTY_ID=$PartyName;
    $this->CUST_ACCOUNT_ID=$AccountId;
    $this->INVENTORY_ITEM_ID=$ItemId_requestdata;
    $this->SERIAL_NUMBER=$SerialNumber_requestdata;
    $this->UNIT_OF_MEASURE=$uom_requestdata;
    $this->QUANTITY=$quantity_requestdata;
    $this->ITEM_CROSS_REFERENCE=$ItemCrossReference_requestdata;
    $this->PROBLEM_DESCRIPTION=$ProblemDescription_requestdata;
    $parm = new CustomerNd($PartyName_requestdata,$AccountId_requestdata,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata);
    $parm = new CustomerNd('Bus%','');
    $parm = new CreateOrderNd(4429,1608,6761,'0722AB05','Ea',1,'abc123','Network error');
    $ret=$client->process($parm);
    print_r($ret);
    ?>
    when she/he access it they are facing a error
    SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype
    and some times it will give
    Warning: SoapClient::SoapClient(http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl) http://function.SoapClient-SoapClient: failed to open stream: HTTP request failed! in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Warning: SoapClient::SoapClient() http://function.SoapClient-SoapClient: I/O warning : failed to load external entity "http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl" in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl' in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6

  • Error parsing envelope: Header child element must be namespace qualified

    Hey all,
    I'm creating a BPEL process that invokes a web service. The web service has an authenticate method that returns a session ID that I attempt to invoke. However, the process fails when trying to parse the response when invoking that operation. I checked the server logs and it's reporting the following: javax.xml.soap.SOAPException: Error parsing envelope: most likely due to an invalid SOAP message.: Header child element 'ID' must be namespace qualified!
    So I invoked the authenticate operation using SOAP UI, since it doesn't parse the response but merely displays it, and here's what was returned (slightly modified):
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
       <soapenv:Header>
          <ID>xxx</ID>
       </soapenv:Header>
       <soapenv:Body>
          <ns1:SessionID xmlns:ns1="http://some-namespace">
             <ns1:ID>xxx</ns1:ID>
          </ns1:SessionID>
       </soapenv:Body>
    </soapenv:Envelope>
    Indeed the ID tag in the header doesn't have a namespace prefix. Looking at the SOAP 1.1 spec it says, “A header entry is identified by its fully qualified element name, which consists of the namespace URI and the local name. All immediate child elements of the SOAP Header element MUST be namespace-qualified.”
    I was told that the code for the web service is frozen and cannot be changed. Are there any ways around this problem? Is it possible for the BPEL process to not parse the SOAP header?
    Thanks,
    Bill

    All,
    I think I might use a HeaderHandler to either strip the offending element from the header all together or modify it so that it's namespace qualified. The problem is, I can't find much documentation on it. The only thing I can find is this: Manipulating XML Data in BPEL section 3.19. It says to implement the HeaderHandler interface but doesn't give the fully qualified name of the interface. I'm guessing it's referring to com.collaxa.cube.ws.HeaderHandler. The invoke method that is defined in the interface is a little different than the one in the documentation. Mine has a signature of public void invoke(CXPartnerLink partnerLink, String operationName, Map payload, List list, Map map2)...what do these parameters represent and what key/value types do the maps have? It also says to register the handler in the bpel.xml deployment descriptor file but I can't find one - is it auto-generated? If so, where is it. If not, how do I generate it? I appreciate any information.
    Thanks,
    Bill

  • OSB download 250 MG file results in error Error parsing XML: {err}FORG0005

    Hi,
    Using OSB 11.1.1.5. I have service to download files from Oracle ECM. Running into an issue where the file size is over 250 MB service is failing. Giving me an error
    OSB Replace action failed updating variable "body": Error parsing XML: {err}FORG0005: expected exactly one item, got 0 items
    I have service callout to get the binary content of the file and it's taking over 5 minutes and then this error. I also set Read Timeout and Connection Timeout to 20 seconds at the business service level
    but looks like it's not taking that timeout values and still waiting over 5 minutes before it dies. My JTA Timeout is set to 12 minutes. After service callout I have a log to write the output but it's not even getting there and throwing that error above
    How can I trap that kind of errors. How can I set timeout at service level i.e. if after 1 minute if the file is still downloading close the connection etc.
    I don't want to have some many open threads in the back ground as this service is being called in a loop to download files. Smaller files like 30 MG downloads fine but the larger ones are not.
    I have a error hndler at the root level but the error is not trapped there either. Looks like system errors are not getting trapped.
    So Just wondering if OSB is suitable to download that huge files.
    Thanks

    The reason for the error is the xquery is not able to find the values in the input... Check the input and namespaces...
    Try...
    <ns1:value1>{ data($addition1/ns0:value1) }</ns1:value1>
    <ns1:value2>{ data($addition1/ns0:value2) }</ns1:value2>Cheers,
    Vlad

  • OSB transformation error- BEA-382513- Error parsing XML

    Hi Gurus -
    I am struggling to fix one OSB Xquery transformation error
    <con:errorCode>BEA-382513</con:errorCode>
    <con:reason>OSB Replace action failed updating variable "body": Error parsing XML: {err}FORG0005: expected exactly one item, got 0 items
    I am passing SIL formatted data to this transformation an expecting a transformation but its keep on failing, I have tested the transformation and thats looking good.
    This is my replace operation where I am doing transformation.
    Replace [ node contents ] of [ ./* ]
    in [ body ] with
    XQuery Resource: TestProject/Common/Transformation/XQJMS2DBTransformation
    Variable Names And Bindings:
    commonInterfaceLayout1 - $body/*:CommonInterfaceLayout
    transformation file
    (:: pragma bea:global-element-parameter parameter="$commonInterfaceLayout1" element="ns0:CommonInterfaceLayout" location="../../Common/Schema/CommonInterfaceLayout.xsd" ::)
    (:: pragma bea:global-element-return element="ns1:EaiAuditCollection" location="../../Common/Schema/XSD_InsertEAIAuditDBTable.xsd" ::)
    declare namespace ns1 = "http://xmlns.oracle.com/pcbpel/adapter/db/top/InsertEAIAuditDBTable";
    declare namespace ns0 = "http://eai.fpl.com/schema/CommonInterfaceLayout";
    declare namespace xf = "http://tempuri.org/ErrorHandlingR1V1/XQJMS2DB/";
    declare function xf:XQJMS2DB($commonInterfaceLayout1 as element(ns0:CommonInterfaceLayout))
    as element(ns1:EaiAuditCollection) {
    <ns1:EaiAuditCollection>
    <ns1:EaiAudit>
    <ns1:eaiAuditId></ns1:eaiAuditId>
    <ns1:messageId>{ data($commonInterfaceLayout1/ns0:Header/ns0:MessageId) }</ns1:messageId>
    <ns1:messageDate>{ data($commonInterfaceLayout1/ns0:Header/ns0:MessageReceivedDate) }</ns1:messageDate>
    <ns1:messageType>{ data($commonInterfaceLayout1/ns0:Header/ns0:MessageType) }</ns1:messageType>
    <ns1:messageSource>{ data($commonInterfaceLayout1/ns0:Header/ns0:MessageSource) }</ns1:messageSource>
    <ns1:messageTarget>{ data($commonInterfaceLayout1/ns0:Header/ns0:MessageTarget) }</ns1:messageTarget>
    <ns1:appUniqId>{ data($commonInterfaceLayout1/ns0:Header/ns0:ApplicationUniqueId) }</ns1:appUniqId>
    <ns1:payload>{ data($commonInterfaceLayout1/ns0:Body) }</ns1:payload>
    <ns1:componentName>{ data($commonInterfaceLayout1/ns0:Header/ns0:ComponentName) }</ns1:componentName>
    <ns1:clientId>{ data($commonInterfaceLayout1/ns0:Header/ns0:ClientId) }</ns1:clientId>
    <ns1:createDate>{ fn:current-date() }</ns1:createDate>
    <ns1:processFlag></ns1:processFlag>
    </ns1:EaiAudit>
    </ns1:EaiAuditCollection>
    declare variable $commonInterfaceLayout1 as element(ns0:CommonInterfaceLayout) external;
    xf:XQJMS2DB($commonInterfaceLayout1)
    pls advice whats wrong I am doing here.
    Edited by: KumarB on Feb 7, 2013 9:56 PM

    update - I dont see this error any more but transformation is not happening. as a result of transformation, i get same message as output .. no change in it.

  • 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.");
         }

  • FF5 error parsing CSS font-face with url inline base64 data

    Firefox 5 refuses to parse CSS @font-face with url inline base64 data.
    I use the declaration:
    &lt;style type="text/css"&gt;
    @font-face {
    font-family: 'MyFont';
    src: url(data:font/truetype;charset=utf-8;base64,[base64data]);
    &lt;/style&gt;
    then used this way:
    &lt;div style="font-family:'MyFont'; font-size:12.0pt"&gt;Test text&lt;/div&gt;
    But Firefox is not using the font and in the error console, there is always the message:
    ''Error parsing the "src" value. Skipped to next declaration.''
    (more or less, I actually have this message in Czech)
    Tried with different mime types (font/ttf,font/otf,font/opentype,application/x-font-ttf etc.), with or without charset specification, with or without quoting the font family name, with different specifications:
    &lt;style type="text/css"&gt;
    @font-face {
    font-family: 'MyFont';
    src: url(data:font/truetype;charset=utf-8;base64,[base64data]) format(truetype);
    &lt;/style&gt;
    (tried also with opentype format, etc.)
    &lt;style type="text/css"&gt;
    @font-face {
    font-family: 'MyFont';
    src: url('myfont-webfont.eot?');
    src: local('☺'), url(data:font/truetype;charset=utf-8;base64,[base64data]);
    &lt;/style&gt;
    If I provide the font path:
    &lt;style type="text/css"&gt;
    @font-face {
    font-family: 'MyFont';
    src: url('Arial.ttf');
    &lt;/style&gt;
    (the font actually is Arial, for testing), it works (but I need to embed the font in the HTML for specific reason, so having the font externally is not the option).

    Finally I got it work! Thanks, cor-el, you pointed me the right way to solve this problem.
    There was problem with the encoding too (there was part of the font missing at the end, because of the bug in the program - I forgot to flush the buffered output stream), after then I was able to download the same copy of the TTF. - I didn't know about the possibility to put the entire url data to the location bar and try to download it, thanks cor-el.
    But it still didn't solve the problem ... the problem was, that the base64 stream was divided to multiple lines, like
    data:font/truetype;charset=utf-8;base64,
    AAEAAAAYAQAABACARFNJRwMaCRYAC8m8AAAXfEdERUaJ+Y1JAAr/JAAAAsJHUE9T
    e1arnwALAegAAKwaR1NVQt5CYFEAC64EAAAbmEpTVEZtKmkGAAvJnAAAAB5MVFNI
    RExjrAAAN8wAAA1dT1MvMhAyXXMAAAIIAAAAYFBDTFT9ez5DAAr+7AAAADZWRE1Y
    After I removed the line breaks, it works now! (the line is quite long then, because the base64 string is about 1MB, but it works)
    Strange that I do the same for images (jpeg, png) and there is no problem with base64 string divided to multiple lines.
    But anyway, I'm fine with that.

  • Error parsing output

    Hi There,
    New to the Java World and Im getting the following error when submitting this java program for compilation and output. Output is Via a html page
    // just import the BufferedReader and inputstream reader
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    class addtwonumbers
        public static void main(String[] args)
        // system.in reader (e.g. the input from the console)
        InputStreamReader ISR = new InputStreamReader(System.in);
        // buffer the console reader
        BufferedReader BR = new BufferedReader(ISR);
        // the default values for the two numbers
        int val1 = 0;
        int val2 = 0;
        try
            // output the question.
            System.out.print("Enter two Numbers:\n");
            // read in the console intput one line (BR.readLine) and then convert to a integer
            val1 = Integer.parseInt(BR.readLine());
            val2 = Integer.parseInt(BR.readLine());
        catch (Exception ex)
            //if the input was a string.
            System.out.println(ex.toString());
        // output the answer of adding both of the values together and * by 3
        System.out.println("The result is " + (val1 + val2) * 3 );
    The error message is "Error parsing output, please try again"
    Thanks In advance.
    Edited by: Conor O'Neill on Mar 16, 2009 4:11 PM

    >
    Conor O'Neill wrote:
    > Hi Ayyapparaj
    >
    > Thanks for getting back to me: yes I already have done what you suggested and it works fine, but I'm trying to output in an HTML page (in a table).
    Hi,
    What you mean by HTML page(in a table)?
    Code what you have written above is a pure application that need to be run in the way i have mentioned above.
    If you are interested to create a HTML page where you can enter two numbers and print their out put. You need to change the code altogether.
    Regards
    Ayyapparaj

Maybe you are looking for