Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

OBIEE 11g Bad Xml Instance! Error While Trying To Save A Customization

Received Response
32
Views
3
Comments
OBIEEDev
OBIEEDev Rank 2 - Community Beginner

Hi,

I was trying to save a report as 'save current customization' which has spatial data with flags below, but i am getting bad xml data which i pasted below. i want to know what can be done to save current customization.  i am using 11.1.1.7.141014. Thanks

pastedImage_0.png

The current xml is invalid with the following errors: Bad xml instance! <?xml version="1.0"?> <sawsel:dashboardSelections xmlns:saw="com.siebel.analytics.web/report/v1.1" xmlns:sawsel="com.siebel.analytics.web/dashselections/v1" xmlns:sawst="com.siebel.analytics.web/state/v1" xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="0.7"><sawst:envState xmlVersion="200811100"><sawst:container cid="d:dashboard" xsi:type="sawst:topLevelStateContainer"><sawst:container cid="f:dpstate" xsi:type="sawst:dashpromptstate" statepoolId="47f17ohhipd2v14hpmvachbov2"><sawst:container cid="f:dpstate" xsi:type="sawst:dashpromptstate" statepoolId="nf3dilcea79sbd1m8ngjse8jtq"/></sawst:container><sawst:container cid="p:ebk5muh6pjnl3liv" xsi:type="sawst:page"><sawst:container cid="s:sivicj65dr7fbecr" xsi:type="sawst:section"><sawst:container cid="g:5tqoi65vbp67og8g" xsi:type="sawst:dashprompt" links="-" promptAutoCompleteState="off"/></sawst:container><sawst:container cid="r:giv0nomh8hnrnvgm" xsi:type="sawst:report" links="-" defaultView="compoundView!1" folder="/shared/Deploy/_portal/Sales Executive Dashboard" itemName="Map - Growth Contracts &amp; Approvals by Territory and District Flags V4"><sawst:container cid="v:compoundView!1" xsi:type="sawst:view"><sawst:container cid="v:mapview!1" centerX="-106.0455898275645" centerY="33.364281727294895" centerSize="7.724575698340259" srid="8307" boundingbox="-113.77016552590476,29.513877840737596,-98.33289809183707,37.226569576465025" zoomLevel="2" xUnitPixels="84.147016662632" yUnitPixels="84.147016662632" spatialLayers="&lt;saw:spatialLayers xmlns:saw=&quot;com.siebel.analytics.web/report/v1.1&quot;&gt;&lt;saw:spatialLayer layerID=&quot;l1&quot;&gt;&lt;saw:visuals&gt;&lt;saw:visual visualID=&quot;v2&quot; display=&quot;true&quot;/&gt;&lt;/saw:visuals&gt;&lt;/saw:spatialLayer&gt;&lt;/saw:spatialLayers&gt;" boundingLayerID="l0" xsi:type="sawst:view"/></sawst:container></sawst:container><sawst:container cid="r:n2u5gbjee61sopcn" xsi:type="sawst:report" links="-" defaultView="compoundView!1" folder="/shared/Deploy/_portal/Common Resources" itemName="Javascript - Suppress Headers"/><sawst:container cid="s:q7kka8h90fksmh7m" xsi:type="sawst:section"><sawst:container cid="n:condition" xsi:type="sawst:navigation" conditionId="272284" conditionEvalStatus="complete" conditionMet="false"><sawst:container cid="r:navReport" xsi:type="sawst:navReport" links="b" defaultView="compoundView!1" folder="/shared/Deploy/_portal/MAM Summary" itemName="MAM Hidden Toggle - Header Suppress"/></sawst:container></sawst:container></sawst:container></sawst:container></sawst:envState><sawsel:xmlStatesReferredTo><sawsel:ref refId="47f17ohhipd2v14hpmvachbov2"><sawsel:appliedStates><sawsel:filter><sawx:expr xsi:type="sawx:logical" op="and"><sawx:expr xsi:type="sawx:special" op="prompted" appliedFromNavigationSource="navigationSourceReport"><sawx:expr xsi:type="sawx:columnExpression" formulaUse="display" displayUse="display"><saw:columnFormula formulaUse="display"><sawx:expr xsi:type="sawx:sqlExpression">&quot;Current Lot Dimension&quot;.&quot;Current Region&quot;</sawx:expr></saw:columnFormula></sawx:expr></sawx:expr><sawx:expr xsi:type="sawx:comparison" op="equal" promptPrimarySubjectArea="&quot;Subject Area: Lot Daily Facts&quot;"><sawx:expr xsi:type="sawx:sqlExpression">&quot;Current Lot Dimension&quot;.&quot;Current Market Name&quot;</sawx:expr><sawx:expr xsi:type="sawx:untypedLiteral">NM- South</sawx:expr></sawx:expr><sawx:expr xsi:type="sawx:special" op="prompted" appliedFromNavigationSource="navigationSourceReport"><sawx:expr xsi:type="sawx:columnExpression" formulaUse="display" displayUse="display"><saw:columnFormula formulaUse="display"><sawx:expr xsi:type="sawx:sqlExpression">&quot;Current Lot Dimension&quot;.&quot;Current District&quot;</sawx:expr></saw:columnFormula></sawx:expr></sawx:expr><sawx:expr xsi:type="sawx:list" op="in" promptPrimarySubjectArea="&quot;Subject Area: Lot Daily Facts&quot;" setVariable="dashboard.variables[&#39;ghost&#39;]" appliedFromPromptDefaultSupportMultiSelect="true" appliedFromPromptDefault="true"><sawx:expr xsi:type="sawx:columnExpression" formulaUse="display" displayUse="display"><saw:columnFormula formulaUse="display"><sawx:expr xsi:type="sawx:sqlExpression">&quot;Lot Daily Facts!&quot;.&quot;Lot ID&quot;</sawx:expr></saw:columnFormula></sawx:expr><sawx:expr xsi:type="sawx:untypedLiteral">0GS</sawx:expr></sawx:expr></sawx:expr></sawsel:filter><sawsel:variables><sawx:expr xsi:type="sawx:list" op="in" promptPrimarySubjectArea="&quot;Subject Area: Lot Daily Facts&quot;" setVariable="dashboard.variables[&#39;ghost&#39;]" appliedFromPromptDefaultSupportMultiSelect="true" appliedFromPromptDefault="true"><sawx:expr xsi:type="sawx:columnExpression" formulaUse="display" displayUse="display"><saw:columnFormula formulaUse="display"><sawx:expr xsi:type="sawx:sqlExpression">&quot;Lot Daily Facts!&quot;.&quot;Lot ID&quot;</sawx:expr></saw:columnFormula></sawx:expr><sawx:expr xsi:type="sawx:untypedLiteral">0GS</sawx:expr></sawx:expr><sawx:expr xsi:type="sawx:comparison" op="equal" promptPrimarySubjectArea="&quot;Subject Area: Lot Daily Facts&quot;" setVariable="dashboard.variables[&#39;Market&#39;]"><sawx:expr xsi:type="sawx:columnExpression" formulaUse="display" displayUse="display"><saw:columnFormula formulaUse="display"><sawx:expr xsi:type="sawx:sqlExpression">&quot;Current Lot Dimension&quot;.&quot;Current Market Name&quot;</sawx:expr></saw:columnFormula></sawx:expr><sawx:expr xsi:type="sawx:untypedLiteral">NM- South</sawx:expr></sawx:expr></sawsel:variables></sawsel:appliedStates></sawsel:ref></sawsel:xmlStatesReferredTo></sawsel:dashboardSelections> Line:2, Col:1874, Attribute 'boundingLayerID' is not declared for element 'container'

Answers

  • SriniVEERAVALLI
    SriniVEERAVALLI Rank 6 - Analytics Lead

    I would suggest to do customization bits and pieces instead of whole at once.

    Error is at Line:2, Col:1874, Attribute 'boundingLayerID' is not declared for element 'container'

  • Syedsalmancs110
    Syedsalmancs110 Rank 6 - Analytics Lead

    There are multiple Bugs related to Saved Customization but nothing related to maps report but for the existing Bugs for saved customization the suggested solution is Patch 16597119

    Bug 14108109 : CONDITIONMET - XML ERROR WHILE SAVING CURRENT CUSTOMIZATIONS

    Bug 18057371 : SAVE CUSTOMIZATION:CURRENT XML INVALID WITH FOLLOWING ERRORS: BAD XML INSTANCE!

    So are you facing Bad XML issue for saved customization for other report types too?

    Below are the steps which you can follow and verify if you face Bad XML issue for other reports too, if you face the issue then apply Patch 16597119(Its available for your OBIEE Version)

    1) Edit a dashboard and add a condition to a section

    2) Save the dashboard, run it and try to 'Save current Customization'. A 'Bad xml instance!' error will pop up.

  • OBIEEDev
    OBIEEDev Rank 2 - Community Beginner

    Thanks for replying, srini i tried step by step to save but still its not working when flags are added to map, syed i tried save for other reports it worked but for this report its not working. i will go through the Bugs which you shared and check the patch 1697119

    Is it something related to security ??

    Thanks