Essbase Studio, Grid is not well formed !!
Hi All,
Everything in Studio is prepared for a drill through on an Essbase model.
A report is created and after pressing the button Show Result the first 20 rows appear on the screen.
Switching to SmartView a selection is made and on a cell a balloon is showing that drill through is available.
When selecting Drill Through reports from the SmartView menubar a menu appears, because to reports are prepare.
Clicking on the first report an error messages appears: Grid is not well formed !!
Do you have any idea what went wrong or what is going on.
Thanks a lot for your prompt response !!
Regards,
Ed
There is a patch for that. The error is in ASP. look fore patch 12987654
Similar Messages
-
XML Parsing Error: not well-formed (C# Visual Studio 2013)
I am working on a project in visual studio that imports a csv, and exports an xml file. I'd like to be able to get the code to work as xml and html, and view it in a browser. I am getting this error when I load the xml file into a browser:
Firefox
XML Parsing Error: not well-formed Location: file:///C:/Users/fenwky/XmlDoc.xml Line Number 2, Column 6:?> -----^
Chrome
This page contains the following errors: error on line 2 at column 16: colon are forbidden from PI names 'xsl:transform'
This is what my c# code looks like in visual studio 2013:
// Create a procesing instruction.
XmlProcessingInstruction newPI;
// Stylesheet
String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
newPI = doc.CreateProcessingInstruction("abc:stylesheet", PItext);
doc.InsertAfter(newPI, doc.FirstChild);
// Save document
doc.Save(xmlfilename);Hi
Kylee Fenwick,
Could you show us your CSV file? And the code how do you imports a csv and exports an xml file?
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Hi Kristen,
Thank you in advance for your healp. Here is my CSV file:
Item Code;Item Description;Current Count;On Order
A0001;"Wheels, Horse on";5;No
A0002;"Wheels, Elephant on";2;No
A0003;"Wheels, Dog on";0;Yes
A0004;"Wheels, Seal on";3;No
A0005;"Wheels, Bear on";7;No
A0006;"Bear, Teddy";2;Yes
A0007;"Clown,";5;No
A0008;"Puppy(crouch),";3;No
A0009;"Puppy(stand),";2;No
A0010;"Puppy(jump),";2;Yes
A0011;"Pupp(lying),";1;Yes
A0012;"(50), Cart with Blocks";0;Yes
A0013;"(100), Cart with Blocks";5;No
A0014;"(200), Cart with Blocks";4;No
A0015;"Carriage, Train with 0";12;No
A0016;"Carriage, Train with 1";10;No
A0017;"Carriage, Train with 2";5;Yes
A0018;"Carriage, Train with 3";4;Yes
A0019;"Carriage, Train with 4";5;No
A0020;"Carriage, Train with 5";2;No
A0021;"(20), Building Blocks";15;No
A0022;"(30), Building Blocks";13;No
A0023;"(40), Building Blocks";16;No
A0024;"(50), Building Blocks";5;Yes
A0025;"(100), Building Blocks";2;Yes
A0026;"(200), Building Blocks";8;No
A0027;"Windmill,";5;No
A0028;"Farmhouse,";6;Yes
A0029;"Fencing,";22;Yes
A0030;"Barn,";12;Yes
A0031;"Tractor,";6;Yes
A0032;"Animals,";3;Yes
A0033;"House,";9;No
A0034;"Car,";12;No
A0035;"(small), Building";4;No
A0036;"(medium), Building";3;No
A0037;"(tall), Building";4;No
A0038;"Shop,";7;No
A0039;"Lights, Traffic";5;Yes
A0040;"Station, Petrol";4;Yes
And here is my code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Data.OleDb;
using System.Xml;
using System.Xml.Xsl;
using System.Xml.XPath;
namespace CSVImporter
public partial class CSVImporter : Form
//const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml"; - file name and location of xml file
const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml";
// New code
//const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml"; - file name and location of xsl file
const string stylesheetsimple = @"C:\Users\fenwky\style1.xsl";
//const string xmlfilecomplex = @"C:\Users\fenwky\XmlDoc2.xml";
const string xmlfilecomplex = @"C:\Users\fenwky\XmlDoc2.xml";
DataSet ds = null;
public CSVImporter()
InitializeComponent();
// Create a Open File Dialog Object.
openFileDialog1.Filter = "csv files (*.csv)|*.csv|All files (*.*)|*.*";
openFileDialog1.ShowDialog();
string fileName = openFileDialog1.FileName;
//doc.InsertBefore(xDeclare, root);
// Create a CSV Reader object.
CSVReader reader = new CSVReader();
ds = reader.ReadCSVFile(fileName, true);
dataGridView1.DataSource = ds.Tables["Table1"];
private void WXML_Click(object sender, EventArgs e)
WriteXML();
public void WriteXML()
StringWriter stringWriter = new StringWriter();
ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
string xmlStr = stringWriter.ToString();
XmlDocument doc = new XmlDocument();
doc.LoadXml(xmlStr);
XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
doc.InsertBefore(xDeclare, doc.FirstChild);
// Test code //
// Load the style sheet.
XslCompiledTransform xslt = new XslCompiledTransform();
xslt.Load("style1.xsl");
// Test code //
// Transform the file and output an HTML string.
string HTMLoutput;
StringWriter writer = new StringWriter();
xslt.Transform("XmlDoc.xml", null, writer);
HTMLoutput = writer.ToString();
writer.Close();
// Create a procesing instruction.
XmlProcessingInstruction newPI;
// Stylesheet
// String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
String PItext = "<xsl:stylesheet xmlns:xls=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
// newPI = doc.CreateProcessingInstruction("abc:stylesheet", PItext);
newPI = doc.CreateProcessingInstruction("xls:stylesheet", PItext);
doc.InsertAfter(newPI, doc.FirstChild);
// Save document
doc.Save(xmlfilename);
private void btExportComplexXML_Click(object sender, EventArgs e)
WriteXMLComplex();
public void WriteXMLComplex()
// Creates stringwriter
StringWriter stringWriter = new StringWriter();
ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
string xmlStr = stringWriter.ToString();
XmlDocument doc = new XmlDocument();
doc.LoadXml(xmlStr);
XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
doc.InsertBefore(xDeclare, doc.FirstChild);
// Create a procesing instruction.
XmlProcessingInstruction newPI;
// Uses XML transformation.
String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
newPI = doc.CreateProcessingInstruction("xsl:stylesheet", PItext);
doc.InsertAfter(newPI, doc.FirstChild);
// Saves document.
doc.Save(xmlfilecomplex);
//Creates a CSVReader Class
public class CSVReader
public DataSet ReadCSVFile(string fullPath, bool headerRow)
string path = fullPath.Substring(0, fullPath.LastIndexOf("\\") + 1);
string filename = fullPath.Substring(fullPath.LastIndexOf("\\") + 1);
DataSet ds = new DataSet();
try
if (File.Exists(fullPath))
string ConStr = string.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0}" + ";Extended Properties=\"Text;HDR={1};FMT=Delimited\\\"", path, headerRow ? "Yes" : "No");
string SQL = string.Format("SELECT * FROM {0}", filename);
OleDbDataAdapter adapter = new OleDbDataAdapter(SQL, ConStr);
adapter.Fill(ds, "TextFile");
ds.Tables[0].TableName = "Table1";
foreach (DataColumn col in ds.Tables["Table1"].Columns)
col.ColumnName = col.ColumnName.Replace(" ", "_");
catch (Exception ex)
MessageBox.Show(ex.Message);
return ds; -
0x8004005 / Error: Configuration file is not well-formed XML
Hello,
I am getting a complete headache from this! I uninstalled Visual Studio 2013 Ultimate and installed in on another hard drive. Since then nothing works! It seems to be an error with IIS...
The following happens:
When I want to create ASP.NET Empty Web Application:
When I ceate an ASP.NET MVC 4 Web Application
When I open an existing project:
similar to first screenshot, can only upload 2 images...
I already tried the following:
Reinstalling Visual Studio Ultimate 2013
Reinstalling IIS Express 8
Thanks!Hi,
In order to resolve your problem. You should give us some information:
First, is there any error occur when you install the VS or do you can successfully install the VS? You can use
http://aka.ms/vscollect to gather the latest installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to
https://Onedrive.live.com/ and share the link here.
Second, the error may related to .NET FrameWork. You can use the tool in the link to check the .NET Framework Setup:
http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
If there are something wrong, you should repair the .NET framework.
At last, there is a blog related to the error, you can follow up to handle your issue:
http://blogs.msdn.com/b/acoat/archive/2013/04/23/iisexpress-configuration-file-is-not-well-formed-xml.aspx
Best Wishes!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey. -
since installing the latest update, Firefox first operated with some errors but now will not load at all; it gives me the following error --
XML Parsing Error: not well formed
locations chrome://browser/content/browser.xml
Line Number 1191, column 20:
utton id="back-forward-dropmarker" type="menu" chromedir="&locale.dir;"-------------------
please note that the words "utton ID" are exactly as the error message gives it; and at the end of the message there are exactly 19 hyphens.
I don't know why this faulty code is referencing things to do with "chrome"... the Chrome browser is not installed on this PC or anywhere on our network.
Also, this is not the first problem I had after clicking Firefox's prompt for the latest update. Before Firefox retreated into this error message, it was loading but running with some faults...
1. the bookmark symbol was not appearing on the right hand side of the URL line, so I had always to click on "bookmark this page", after which the bookmark symbol did appear; however I don't know if the bookmarking function worked properly.
2. the back and forward buttons were not highlighted, as if I had not come from a previous page; so once I clicked on a link to a new page I could not go back to where I came from because Fiefox thought I hadn't come from anywhere.
3. there may have been other errors, but I did not find them.
How do I reinstate my Firefox program to work properly please? do I have to download the latest version and reinstal? if so, do I have to remove the old version first? or is there a fix?
Even to write this message I have been forced to use (yuk -- I don't like to say this!!!) Internet Explorer. So please -- I need help urgently.
Thanks,
NOELSome how I solved my problem by opening a user account and downloading Firefox 4.0 beta and installing it, I did try it, worked fine, so I did close the user account and did go back to my own account(switched user), the main page that I had problem with Firefox which would not open, I dabble click on Firefox it start working again!! I hope that solves your problem too.
firefox will not open, it gives me this cod and would not turn off, Error on switching in renew: NS_ERROR_UNEXPECTED, Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref] id: none -
XML from CF not well-formed?
I have been working through the Training from the Source book
on Flex2 (Trapper, Boles, Talbot, etc.). In Lesson 17, it deals
with accessing server-side objects.
One piece of code accesses a CF template, which brings in an
XML file:
<mx:HTTPService id="prodByCatRPC"
url="
http://localhost/flexGrocer/xml/categorizedProducts.cfm"
result="prodByCategoryHandler(event)"
resultFormat="e4x" />
The CF plate from the book's file has the following:
<cfheader name="Expires" value="#now()#" />
<cfxml variable="xProducts">
<cfinclude template="categorizedProducts.xml">
</cfxml>
<cfset xmlObject=ToString(xProducts)>
<cfcontent type="text/xml" />
<cfoutput>#variables.xmlObject#</cfoutput>
When run the Flex file, I get a run-time message which seems
to indicate that the XML is not well-formed. (Here is a bit of the
message; not sure I'm understanding it!):
[RPC Fault faultString="Error #1088: The markup in the
document following the root element must be well-formed."
faultCode="Client.CouldNotDecode" faultDetail="null"]
I am ASSUMING that the CF page is not returning the xml as
desired, because if I simply change the flex http service call to
the xml file that the CF page is including, the flex app runs as
expected and without errors:
url="
http://localhost/flexGrocer/xml/categorizedProducts.xml"
(something in the posting mech is making the above url
statement messed up, but you can probably tell what I mean)
I am a CF developer and although haven't used the book's
exact method to get the cf generated xml, I have done so
successfully for Spry and other things.
I tried some ot the things I had to do to get the CF
generated xml to work in Spry with this flex, but didn't help.
Tried adding a reset='true" with the cfcontent tag; tried making
the cfcontent wrap the output; added cfprocessing tags to
suppresswhitespace.
Appreciate any thoughts/help on how to solve this. Also,
whether others agree that the problem is with the generated xml
rather than something else.
Thanks
KeithI don't remember the exact context when I first posted this
question and answered it; but, if one doesn't want to change
overall settings for debugging in cf admin., I *think* you can
ajust for a specific area using cfsetting and/or
cfprocessingdirective. There's a number of attributes and
combinations there that I think can take care of the problem. I
forget for sure, but may want to try that, especially on a
development box where you might generally want debugging to be on.
Also, if using cfcs in any part of what you generate, they
can produce whitespace. To solve (or minimize), make sure that
output attribute in the component is false and that output in
function is false (unless directly outputting within the function.
Seems like CF and whitespace is an ongoing item to try to
manage.
Keith -
Firefox could not install this item because "install.rdf" (provided by the item) is not well-formed or does not exist. Please contact the author about this problem.
The statement above is in the pop up error box every time, when I launch Firefox. If I click ok in the box Firefox then opens. How do I fix this initializing/launch problem?Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).<br />
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.<br />
You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.<br />
You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")<br /> -
Hi Everyone,
I've been battling with this for a while and I'm getting nowhere. I'm attempting to install DPM 2012R2 onto a fresh VM with a local SQL installation. The setup is as follows:
Server OS: 2008R2 SP1
SQL: 2008 R2 standard with SP3(tried SP2 before this)
Collation: SQL_Latin1_General_CP1_CI_AS
Reporting services installed: Yes(ticked do not configure during the installation)
Enabled reporting servics on port 80 with the default URL
DPM Installation does not throw any errors during the preinstall stage(The server passes all the checks)
Basically, when Installing. I get this error(extract):
at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.DeployFileInServer(Boolean recreate, ReportDBInfo rptInfo)
at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.DeployReports(String sourceFolderPath, Boolean recreate, Boolean calledFromSetup)
at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.InstallReports(Boolean calledFromSetup, String sourceFolderPath, String sqlServerName, String sqlInstanceName, String dbConnectionString)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ReportingConfiguration.DeployReports(Boolean isRemoteReporting, String sqlMachineName, String sqlInstanceName, String rsMachineName, String rsInstanceName, String installerPath)
[10/12/2014 2:35:25 p.m.] * Exception : => Report configuration failed.Verify that SQL Server Reporting Services is installed properly and that it is running.Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.BackEndErrorException: exception
---> Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ReportDeploymentException: exception ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.ReportingException:
exception ---> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: The report definition is not valid or supported by this version of Reporting Services. This could be the result of publishing a report definition of
a later version of Reporting Services, or that the report definition contains XML that is not well-formed or the XML is not valid based on the Report Definition schema. Details: Root element is missing.
at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties, Warning[]& Warnings)
at Microsoft.ReportingServices.WebServer.ReportingService2005.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties, Warning[]& Warnings)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.Internal.EnterpriseStorage.Dls.UI.Reporting.ReportingService2005.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties)
at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.CreateReport(String pathOfReport, ReportDBInfo rptInfo)
--- End of inner exception stack trace ---
at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.CreateReport(String pathOfReport, ReportDBInfo rptInfo)
at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.DeployFileInServer(Boolean recreate, ReportDBInfo rptInfo)
at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.DeployReports(String sourceFolderPath, Boolean recreate, Boolean calledFromSetup)
at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.InstallReports(Boolean calledFromSetup, String sourceFolderPath, String sqlServerName, String sqlInstanceName, String dbConnectionString)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ReportingConfiguration.DeployReports(Boolean isRemoteReporting, String sqlMachineName, String sqlInstanceName, String rsMachineName, String rsInstanceName, String installerPath)
--- End of inner exception stack trace ---
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ReportingConfiguration.DeployReports(Boolean isRemoteReporting, String sqlMachineName, String sqlInstanceName, String rsMachineName, String rsInstanceName, String installerPath)
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.DeployReports(String reportserverConfigFilePath, Boolean isOemSetup, String sqlMachineName, String sqlInstanceName, Boolean isRemoteReporting, String reportingServerMachineName, String
reportingInstanceName)
--- End of inner exception stack trace ---
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.DeployReports(String reportserverConfigFilePath, Boolean isOemSetup, String sqlMachineName, String sqlInstanceName, Boolean isRemoteReporting, String reportingServerMachineName, String
reportingInstanceName)
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.DpmInstaller.DeployReports(Boolean isRemoteReporting, Boolean isUpgrade)
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ProgressPage.InstallerThreadEntry()
*** Mojito error was: ReportDeploymentFailed; 0; None
[10/12/2014 2:35:25 p.m.] *** Error : Report configuration failed.
Verify that SQL Server Reporting Services is installed properly and that it is running.
ID: 812
[10/12/2014 2:35:25 p.m.] Information : Data Protection Manager installation has failed. All the items that were copied during the installation process have been removed.
For details, click the Error tab.
Any ideas?
I've managed to get it to this stage. Originally I didn't have encryption keys or a listening port(which I fixed).Can you try following steps:
If there are SSL certificates on your computer, by default SQL 2008
installation configures HTTPS for reporting websites. When DPM tries to
deploy reports on these websites it may fail if the reporting websites
are not accessible (might be due to invalid/expired certificates). To
workaround this, provided you do not require HTTPS for reporting websites do
the following:
1. Edit C:\Program Files\Microsoft DPM\SQL\MSRS10.MSDPMV3BETA1EVAL\Reporting
Services\ReportServer\rsreportserver.config
2. Set the SecureConnectionLevel to 0 if the current value is 2 (A value to
2 means secure connection is required)
3. Connect to SQL reporting service configuration manager and connect to the
instance MSDPMV3BETA1EVAL
4. Click on Web Service URL, click advanced and remove SSL identities
5. Repeat the above for Report Manager URL
6. Make sure report manager URL and web service URL are accessible with out
any errors.
6. Restart report server
If that doesn't solve the problem, please try following steps:
1. Open Start-> All programs->SQL server 2008->Configuration Tools->Report
Server Configuration Manager
2. Connect to the instance which the DPM is using to install.
3. Browse Report Manager URL and web service url
4. If report manager URL or web service url throws any error say 500 or 404
fix the error. (Try also replacing machine name with localhost in url)
5. Otherwise delete DPMReports folder (if present) using below instructions
6. Restart reporting services
7. Try DPM setup again.
Deleting DPM reports:
1. Open report manager URL in IE
2. Click show details on right hand side
3. Put a tick against DPMReports folder
4. Click Delete button.
Regards, Trinadh [MSFT] This posting is provided AS IS with no warranties, and confers no rights. If you found the reply helpful, please MARK IT AS ANSWER. Looking for source of information for DPM? http://blogs.technet.com/b/dpm/ http://technet.microsoft.com/en-in/library/hh758173.aspx -
Whenever access to the Internet is needed, clicking on any icon or link (including the Firefox icon) results in a delay of around 20 secs., followed by the appearance of the error message, headed "Malformed File". The message reads 'Firefox couldn't install this item because "install rdf" (provided by the item) is not well-formed or does not exist. Please contact the author about this problem.'
Clicking OK or closing the box leads to a further delay of about 20 secs. after which the required action takes place! Of course, it could be said that it's really only a delay, so I should just get used to it, but it's still a malfunction, it's a pain in the neck or another region, and I really would like to cure it. Any suggestions - please????https://support.mozilla.com/en-US/questions/756907
-
SInce the latest update Firefox has crashed continually for about two weeks now. Continually means at least 10 times a day. Now it does not open at all and I get this message when launching Firefox:
XML Parsing Error: not well-formed Location: chrome://browser/content/browser.xul Line Number 1068, Column 87:SInce the latest update Firefox has crashed continually for about two weeks now. Continually means at least 10 times a day. Now it does not open at all and I get this message when launching Firefox:
XML Parsing Error: not well-formed Location: chrome://browser/content/browser.xul Line Number 1068, Column 87: -
XML not well formed in - XSLT mapping
Hi,
I am doing a simple xslt mapping wherein my Source data structure is
MT
|__ details
|__ Records
|_emp_no
|_ emp_name
|_emp_dno
In XSL file i hv specified <xsl:template match="MT">
and I am using <for-each select="details/Records">
when I m testing it in Interface mapping, it is giving me error "XML not well formed"
can anybody please suggest whats the problem in the code??
Thank you,
Anu SinghalHi Anu,
I think in the select query in xslt mapping u have to mention the expression "//" so that for each iteration it can go according the path.
< for-each select = " //details/records">
I have some sample code of same type...just check it..
<xsl:template match="/">
<MT_EMP_TARGET>
<xsl:for-each select="//EMP_DATA">
<EMP_DATA>
<xsl:variable name="fname" select="//EMP_DATA/First_Name"/>
<xsl:variable name="lname" select="//EMP_DATA/Last_Name"/>
<Emp_Code><xsl:value-of select="//EMP_DATA/Emp_Code"/></Emp_Code>
<Name><xsl:value-of select="concat($fname,' ',$lname)"/></Name>
<Join_Dt><xsl:value-of select="//EMP_DATA/Join_Dt"/></Join_Dt>
<Designation><xsl:value-of select="//EMP_DATA/Level"/></Designation>
<Dept><xsl:value-of select="//EMP_DATA/Dept"/></Dept>
</EMP_DATA>
</xsl:for-each>
</MT_EMP_TARGET>
</xsl:template>
For more info:
http://www.w3schools.com/xsl/el_for-each.asp
Cheers,
Prasanthi.
Reward marks if helpful. -
XML not well formed - Java Mapping, Webservice to RFC Scenario
Hello All Experts,
I have facing a strange type of error. I have written a Java Mapping which implements a DOM parser to take a request from a Webservice and validate it on the basis of some prerequisites. i.e. If data in the incoming request is valid, it creates a message of the same structure type as the input. If the incoming data is incorrect or incomplete; It generates an Error response structure.
When I run and test the same mapping program using Editplus Java editor for the error scenario; it executes perfectly and creates the correct error XML structure. (I checked it by importing the structure in the XI Message mapping test tab). But when I create jar of my java mapping program and test it in my interface mapping, it gives me "XML not well formed error" (Problem while building the tree).
Any idea as to why is it behaving in such a way? There are 2 reasons which come to my mind as of now:
1. The initilization of my input and output streams in the public static void main:
InputStream in = new FileInputStream(new File("Input.xml"));
OutputStream out = new FileOutputStream(new File("Output.xml"));
validateXML myMapping = new ValidateXML();
myMapping.execute(in, out);
The Output.xml has the xml structure for the correct case, do I have to initialize my outputstream for the error file? say error.xml
2. My Webservice interface is a sychronous interface (Request / Response) and output of the Java mapping program are two asynchronous interface. (I'll use a synch-asynch bridge when this works) - Is that causing a problem?
Please help.
Best regards,
VarunHello Varun,
it gives me "XML not well formed error" (Problem while building the tree).
I have come across the same error message while testing in interface mapping. My problem was when an exception occured in java mapping, the execution terminates with the messages XML not well formed error". In order to solve this issue what i did was catch the exception type TransformerException and in that catch block throw StreamTransformationException exception in main methos of mapping program i.e execute().
eg:-
catch (TransformerException e) {
throw new StreamTransformationException("Can not write XML.", e);
By doing this you will see the exception raised , because some times when you execute your mapping with mail() method, though it create the file, when you try to open it will give error if any exceptions occured in mapping. By using the above notation you can handle those in java mapping.
Hope you have gone through this blog.
[Handling and Tracing Exceptions in java mapping|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID1055371050DB01666765031379427182End?blog=/pub/wlg/15061]
Regards,
Prasanna -
I have an XSLT mapping as described below:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/biztalk_1">
<ns0:biztalk_1 xmlns:ns0="urn:biztalk-org:biztalk:biztalk_1">
<ns0:header>
<ns0:delivery>
<ns0:message>
<ns0:messageID><xsl:value-of select="header/delivery/message/messageID"/></ns0:messageID>
</ns0:message>
</ns0:delivery>
</ns0:header>
<ns0:body>
<ns0:FinancialTransaction.CreateFromData>
<ns0:CompanyCode><xsl:value-of select="body/FinancialTransaction.CreateFromData/CompanyCode"/></ns0:CompanyCode>
</ns0:FinancialTransaction.CreateFromData>
</ns0:body>
</ns0:biztalk_1>
</xsl:template>
</xsl:stylesheet>
however when I execute this mapping I keep getting the error saying that the XML is not well formed...
I have looked at it but really cant see where I am going wrong.. Could someone take a look at the above xslt and let me know where this error could be coming from....ok this is the xslt again
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/biztalk_1">
<ns0:biztalk_1 xmlns:ns0="urn:biztalk-org:biztalk:biztalk_1">
<ns0:header>
<ns0:delivery>
<ns0:message>
<ns0:messageID><xsl:value-of select="header/delivery/message/messageID"/></ns0:messageID>
</ns0:message>
</ns0:delivery>
</ns0:header>
<ns0:body>
<ns0:FinancialTransaction.CreateFromData>
<ns0:CompanyCode><xsl:value-of select="body/FinancialTransaction.CreateFromData/CompanyCode"/></ns0:CompanyCode>
</ns0:FinancialTransaction.CreateFromData>
</ns0:body>
</ns0:biztalk_1>
</xsl:template>
</xsl:stylesheet>
and the source will look something like this
<?xml version="1.0" encoding="UTF-8"?>
<ns0:biztalk_1 xmlns:ns0="urn:biztalk-org:biztalk:biztalk_1">
<ns0:header>
<ns0:delivery>
<ns0:message>
<ns0:messageID/>
<ns0:sent/>
</ns0:message>
</ns0:delivery>
</ns0:header>
<ns0:body>
<ns0:FinancialTransaction.CreateFromData>
<ns0:CompanyCode/>
</ns0:FinancialTransaction.CreateFromData>
</ns0:body>
</ns0:biztalk_1>
There are actually more fields but this is a toned down version... -
Not well formed XML data in XI
HELLO !!
Can XI handle a non welll formed XMl messages as an input ?
THANKS
~PeeruHey
>>we can use java mapping to make it well formed XMl.
What exactly you mean by "not well formed XML" ?
>>Does it mean that java mapping can take the value as a stream of data and then at the next step the XML parser is va;idating the msg ?
Yeah thats the way Java mapping works,it takes input in the form of Input stream and gives output as an output stream.
Bottom line is XML structure should be valid,you can't handle a invalid XML structure with any mapping,once you get the message then you can use graphical message mapping for simple structures or use Java for complex ones(i guess by non-well formed you mean the ones which can be handled only by Java mapping)
Thanx
Aamir -
XML Not well formed, Mapping error
Hi All,
I'm trying a simple file to file scenario..
Following is the structure of source and target file..
Source structure
===============
<?xml version="1.0" encoding="UTF-8"?>
<ns:SourceMT xmlns:ns="urn:tmp:workshop:file2file">
<Src1>1</Src1>
<Src2>2</Src2>
</ns:SourceMT>
Target Structure
===============
<?xml version="1.0" encoding="UTF-8"?>
<ns:TargetMT xmlns:ns="urn:tmp:workshop:file2file">
<Tgt1>1</Tgt1>
<Tgt2>2</Tgt2>
</ns:TargetMT>
I did a one to one mapping for the two fields and tested the same using the test tool in IR and it works fine..
However when I put the same source xml structure in the Input file it gives me the below error..
Also when I copy the payload from the sxmb_moni and paste the same in the test tool in IR it throws an error saying
"XML not well-formed"
Error
=====
<SAP:Stack>During the application mapping com/sap/xi/tf/_FileMM_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Payload
=======
<?xml version="1.0" encoding="UTF-8" ?>
- <ns:SourceMT xmlns:ns="urn:tmp:workshop:file2file">
<Src1>1</Src1>
<Src2>2</Src2>
</ns:SourceMT>
Any inputs are greatly appreciated..
Thanks and Regards,
NazimHi ,
<i>During the application mapping com/sap/xi/tf/_FileMM_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</i>
It is clearly saying that exception in mapping....Check your mapping correcly with one to one mapping.Dont do any mapping to the root node and check it...
And also check this...
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
Sekhar -
File not well formed: Process instruction name (may not be 'xml') expected
I am a WBI developer whose end result is to produce one XML file. This file will receive a number of events that will constantly append to XML file. Each appendage will contain same structure but diff data than one before. Also I have created a WBI business object to mirror the XML structure.
However, below is my XML in a Not well formed state. My error happens at first appendage ( see second tag of ><?xml version='1.0' encoding='utf-8'?>)
My question: Can I actually produce a correct XML file? if so how do I do this, is it a change needed in my Busines Object? And if I cannot then what are my other options.
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE BATCH_AUTO>
<BATCH_AUTO><POLICY><POL_TRANCODE>CHKS</POL_TRANCODE><POL_EXTRACTDTE>20050602</POL_EXTRACTDTE><POL_POLICYNO>PAA-123456789</POL_POLICYNO><POL_EFFDATE>20050101</POL_EFFDATE><POL_DUEDATE>20051201</POL_DUEDATE><POL_TOTALPREMIUM>1</POL_TOTALPREMIUM><POL_ACCTBALANCE>2.00</POL_ACCTBALANCE><POL_MAILNAME1>John Doe</POL_MAILNAME1><POL_MAILNAME2>Jane Doe2</POL_MAILNAME2><POL_MAILNAME3>Mark Doe3</POL_MAILNAME3><POL_MAILADDR1>1234567891 W1 MAIN St. A ST A WA APTAPTAPTAPT 12345678 APTAPTAPTAPT 12345678</POL_MAILADDR1><POL_CANCELDATE>20050901</POL_CANCELDATE><POL_CANCELREASON>REASON</POL_CANCELREASON><POL_SUBTOTAL>7.00</POL_SUBTOTAL><POL_TOTALFEE>1</POL_TOTALFEE><POL_TOTALADJS>4.00</POL_TOTALADJS><POL_CHECKDATE>020050525</POL_CHECKDATE><POL_CHECKNO>000001</POL_CHECKNO><POL_CHKEXPLANATION>Cancelled</POL_CHKEXPLANATION><POL_CHECKAMOUNT>5</POL_CHECKAMOUNT><POL_BANKACCTNO>8765015692</POL_BANKACCTNO><POL_BANKROUTNO>719232845</POL_BANKROUTNO><POL_TOTAMTPAID>1</POL_TOTAMTPAID></POLICY></BATCH_AUTO><?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE BATCH_AUTO>
<BATCH_AUTO><POLICY><POL_TRANCODE>CHKS</POL_TRANCODE><POL_EXTRACTDTE>20050602</POL_EXTRACTDTE><POL_POLICYNO>PAA-123456789</POL_POLICYNO><POL_EFFDATE>20050101</POL_EFFDATE><POL_DUEDATE>20051201</POL_DUEDATE><POL_TOTALPREMIUM>1</POL_TOTALPREMIUM><POL_ACCTBALANCE>2.00</POL_ACCTBALANCE><POL_MAILNAME1>John Doe</POL_MAILNAME1><POL_MAILNAME2>Jane Doe2</POL_MAILNAME2><POL_MAILNAME3>Mark Doe3</POL_MAILNAME3><POL_MAILADDR1>1234567891 W1 MAIN St. A ST A WA APTAPTAPTAPT 12345678 APTAPTAPTAPT 12345678</POL_MAILADDR1><POL_CANCELDATE>20050901</POL_CANCELDATE><POL_CANCELREASON>REASON</POL_CANCELREASON><POL_SUBTOTAL>7.00</POL_SUBTOTAL><POL_TOTALFEE>1</POL_TOTALFEE><POL_TOTALADJS>4.00</POL_TOTALADJS><POL_CHECKDATE>020050525</POL_CHECKDATE><POL_CHECKNO>000001</POL_CHECKNO><POL_CHKEXPLANATION>Cancelled</POL_CHKEXPLANATION><POL_CHECKAMOUNT>5</POL_CHECKAMOUNT><POL_BANKACCTNO>8765015692</POL_BANKACCTNO><POL_BANKROUTNO>719232845</POL_BANKROUTNO><POL_TOTAMTPAID>1</POL_TOTAMTPAID></POLICY></BATCH_AUTO>Hi,
The <?xml version='1.0' encoding='utf-8'?>) xml declaration can occur only once and that too at the very top of the xml file before everything else. I think your best bet would be to strip the xml declaration and the doctype declaration before appending. You might want to check the API documentation of the API you are using to serialize the xml to see if it supports suppressing xml and doctype declarations.
With apache xerces, you can do
OutputFormat.setOmitXMLDeclaration(true);
where OutputFormat dictates what underlying serialized is used to serialize the document based on the specified method.
Hope this helps.
Cheers,
vidyut
Maybe you are looking for
-
How do I repair a file read error
I have a file that refused to be backed up in my nightly backup (I'm using Carbon Copy Cloner). I suspect that the disk may be corrupted somewhere in that file's allocated space, but running Disk Utility from Option+Reboot does not show any errors f
-
N8 Belle more of issue than fun
I am using Belle for more than a month now and came up with these issue. 1. when i am using foursquare app with mobile data just connected, it hangs the device. 2. Once I disconnect from a Wi-Fi network, after a second or so all the icons reinitializ
-
Interface Monitoring by Business Prozess Monitoring
Hallo, I have implement the first Steps for Business Process Monitoring. I have create the IDocs in the Satellite System an i want to select the Interface in the Solution Manager. I open the Business Process Monitoring from my Solution and open the P
-
How can I manage Allowances in iTunes?
Hello, I am trying to figure out how to manage an allowance to my son in iTunes. The support info keeps telling me to go to my account information, but when I do that there is nothing there for me to manage the allowances. I'm sure it is an easy step
-
Adding values from two different queries in one query
Hi, I have developed a web template by combining 3 queries ,which were created from the same MultiProvider.These queries are having many different selections .Now I need to get the addition of values from these 2 queries into third query. Is there