Root Element Missing issue

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets

Root Element Missing issue

Postby chrisj on Tue Nov 07, 2017 8:00 am

I'm experiencing an issue where a build for a specific target is failing as soon as it gets to the "Processing Source Files" task. It flags it with the cryptic "Root Element Missing" error. The strange part is that other people on my team can build the target just fine. What I've deduced thus far is that the issue is with a specific topic. For example, if I go into that topic and delete all of the content and insert some dummy text, the target will build. I've tried to deduce what area of the topic is causing problems by going through and deleting sections and trying to build. There doesn't seem to be any specific thing that I can see.

For clarity, I have two other writers who can build the target jut fine. We are all using the latest Flare version and are using Git for source control.
Chris Jones
Product Content Manager - TEAM Software
Image
chrisj
Propeller Head
 
Posts: 87
Joined: Thu Jun 26, 2014 8:08 am
Location: Omaha, NE

Re: Root Element Missing issue

Postby chrisj on Tue Nov 07, 2017 10:49 am

Update: The build seems to run fine if I clear the Exclude content not linked directly or indirectly from the target check box. This is not ideal because it increases the build time significantly, and still doesn't fully answer why it fails with that check box selected.
Chris Jones
Product Content Manager - TEAM Software
Image
chrisj
Propeller Head
 
Posts: 87
Joined: Thu Jun 26, 2014 8:08 am
Location: Omaha, NE

Re: Root Element Missing issue

Postby ChoccieMuffin on Wed Nov 08, 2017 4:04 am

Sometimes Flare gets its knickers in a twist, so I suggest you close your Flare project and delete the Output and Analyzer folders, then re-open your project and try to build again.
Started as a newbie with Flare 6.1, now using Flare 2019r1 and 2021 latest.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Senior Propellus Maximus
 
Posts: 2508
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Root Element Missing issue

Postby allkindsosass on Thu Jun 28, 2018 10:48 am

Thanks for the removing of the Exclude... selection. Saved my bacon!
allkindsosass
Jr. Propeller Head
 
Posts: 5
Joined: Thu May 03, 2018 8:47 am

Re: Root Element Missing issue

Postby Paulie on Sun Jul 29, 2018 10:32 pm

Hi there,

I'm a bit late to the party on this one, but I'd recommend running a report for database errors and non-XML topics. It sounds like one of the XML files has lost its root element.

See the following URL for information about the structure of an XML file (including the root element):
https://www.w3schools.com/xml/xml_tree.asp
"In an ideal world, software should be simple, well designed, and completely intuitive to end users. In the real world, good documentation is king."
Paulie
Sr. Propeller Head
 
Posts: 140
Joined: Sun Mar 01, 2015 3:01 pm

Re: Root Element Missing issue

Postby arkana on Wed Jan 09, 2019 12:19 am

For me, I changed the Startup topic to another one and problem solved. Very scary indeed, and very difficult to troubleshoot!
Arthur Cui
Flare 2019
arkana
Propeller Head
 
Posts: 22
Joined: Wed Mar 14, 2018 11:10 pm

Re: Root Element Missing issue

Postby Marc on Mon Oct 18, 2021 12:28 pm

ChoccieMuffin wrote:Sometimes Flare gets its knickers in a twist, so I suggest you close your Flare project and delete the Output and Analyzer folders, then re-open your project and try to build again.


And this is what fixed it for me. Sometimes the old solutions are the best ones!
Marc
Propeller Head
 
Posts: 28
Joined: Thu Aug 23, 2007 8:36 am
Location: Malvern, PA


Return to Web-based Outputs

Who is online

Users browsing this forum: No registered users and 8 guests