Getting XML parsing error when creating HTML document via concordion excel extension - xml-parsing

[Fatal Error] :1:326: Attribute name "https:" associated with an element type "span" must be followed by the ' = ' character.
Error parsing generated HTML:
<?xml version="1.0" encoding="UTF8"?><html xmlns:concordion="http://www.concordion.org/2007/concordion"><head><title>XMLSuccess.xlsx</title></head><body><h1>XMLSuccess.xlsx</h1><div excel-location="Sheet1" class="example"><h2>Sheet1</h2><p><span excel-location="B1" concordion:set="#flatRate" style="font-size: 11pt; " https://go.microsoft.com/fwlink/?linkid="70924">1</span></p><p><span excel-location="B2" concordion:set="#cpm1" style="font-size: 11pt; " https://go.microsoft.com/fwlink/?linkid="70924">0.9</span></p></div></body></html>

Please have a look at your source Excel file to see where the https://go.microsoft.com/fwlink/?linkid="70924"could be coming from? If you are unable to fix or believe it's an issue with the extension, please raise an issue at https://github.com/concordion/concordion-excel-extension/issues including a reproducible test case.

Related

How to read a xml file which is not well_formed?

I am trying to read an XML file with xml.etree.ElementTree
it gives me an error when it reaches a specific line of the file. I was assuming that this is a regular XML file. please help me how can I resolve it?
xml_file =ET.parse("/Users/arash/project/my_project/extracting_features/TraceData.log").getroot()

Parse error: syntax error, unexpected end of file plzz help me find out whats the error?

0){
while ($row=mysqli_fetch_array($res))
{
$Name=$row['Name'];
$Link=$row['Link'];
?>
">
0){
while ($row=mysqli_fetch_array($res))
{
$submenu=$row['submenu'];
?>
Please share a bigger snippet of code. This error usually happens when there is a typing mistake or not closing php tags. Make sure your <?php ?> tags are opening and closing correctly and check if you are using shorthand tags like this <? } ?> If you are using it please avoid that. Also make sure that you are not mixing PHP opening and closing tags with }?> make sure there is a space between php opening and closing tags.

Error loading xml data in my RTF template: "An invalid character was found in text content."

Upon loading my data on RTF template, I am getting an error saying
"An invalid character was found in text content".
I extracted the xml data from BI Publisher. Is there any fix on BI Publisher in order to fix this issue? I only get this error when loading the data on my template online. I think the error comes from the NUL character in the picture below:

retrieve xml file using nsxmlparser in ios

i am getting problem while reading xml files through nsxmlparser in ios,
<PRODUCTS>
<PRODUCTSLIST>
<PRODUCTDETAILS>
<headertext> test header </headertext>
<description><b style="font-size: x-small;">product, advantages</b></description>
</PRODUCTDETAILS>
</PRODUCTSLIST>
</PRODUCTS>
while i read the file using nsxmlparser i am able to get value(test header) for headertext but the description attribute value contains html tags so i cant able to get the result (<b style="font-size: x-small;">product, advantages</b>)i am getting result as empty
How can i get the result as((<b style="font-size: x-small;">product, advantages</b>)) for description attribute?
Speaking from a developers perspective I would not recommend using NSXMLParser due to it's laborious way to parse XML Files. There is a great write up about choosing the right XML Parser.
I use KissXML quite often.
You can find a quit tutorial of using it here.
Hope this helps.
Your problem is that the "b" tag is considered part of the XML structure, try escaping the '<' and '>' characters of the 'b' tag:
#"<b style=\"font-size: x-small;>product, advantages</b>"
see here

What does "Error parsing XML: not well-formed" mean?

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation=”vertical”
android:layout_width=”fill_parent”
android:layout_height=”fill_parent” >
I get these two errors
error: Error parsing XML: not well-formed (invalid token)
&
Open quote is expected for attribute "android:orientation" associated with an element type "LinearLayout".
Did you copy and paste that from word? Your quotes look a little funky. Sometimes word will use a different character than the expected " for double quotes. Make sure those are all consistent. Otherwise, the syntax is invalid.
Looks like you have "smart quotes" ( not simple " double quotes) around some attributes in your LinearLayout element.
There are many references that explain the differences between valid and well formed XML documents. A good starting point can be found here. There is also an online XML Validator that you can use to test XML documents.
The validator shows that you have two issues:
Some of your attribute values use an invalid quote character: ” vs. ", and
you need to close the LinearLayout tag with /> instead of just >.

Resources