Click here to Skip to main content
16,020,261 members
Please Sign up or sign in to vote.
1.44/5 (2 votes)
See more:
Since the site doesn't have Excel installed,

I copied my output generated Excel file to my local drive.

When I attempt to open the excel files, I get a "Strict Parse Error".

The log file contains this:
XML PARSE ERROR: Extraneous end-tag
Error occurs at or below this element stack:
(Stack is empty--error occurs at or below top-level element.)

Any Ideas?
Posted
Updated 1-Aug-23 2:44am

1 solution

The error is pretty clear - the XML that your app generated is badly formed - it has a spurious XML End Tag[^] that is can't match with an Start Tag.

We can't fix that: you need to check the data itself very closely as the problem may be caused anywhere in the file and could be a malformed Start Tag instead of an extra End tag.
 
Share this answer
 
Comments
Graeme_Grant 1-Aug-23 8:51am    
You just answered a 10 year old question. Happens to the best of us! 😉

I don't like how these old questions surface when viewed.
OriginalGriff 1-Aug-23 9:25am    
It's not when viewed, it's when answered - in this case initially by a spammer who was sent to moderation. When his junk is rejected, it updated the "modified" flag, which bring it to the top of the queue on the home page.

And I missed it ... :O
Graeme_Grant 1-Aug-23 9:30am    
In this case, it was answered. However, I have submitted a bug report and was told views can surface the question.
Richard Deeming 1-Aug-23 9:26am    
Partly my fault - there was an old spam answer[^] on this thread which has since been deleted.

However, I only noticed that because the thread had already been dragged back up to the top, presumably by another now-deleted spam answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900