XML files and Tab characters create ilegal xml structure - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

rho
Posts: 69
Joined: Tue May 12, 2009 1:22 pm

XML files and Tab characters create ilegal xml structure

Hi,

I think this is a Bug in AI 8.9:
I have a xml file as plain file in the files list and I have a "XML File (Windows Installer)" to update parts of the xml structure of the file.

This fails if there are Tab characters in the file. The result is, the existing structure can't be found and AI adds them again to the file, resulting in duplicate aka invalid xml elements.
When I untabify the file, the setup works without duplicating the xml structures.
rho
Posts: 69
Joined: Tue May 12, 2009 1:22 pm

Re: XML files and Tab characters create ilegal xml structure

to clarify: The problem occurs, when blanks and tabs are mixed in the file.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: XML files and Tab characters create ilegal xml structure

Hello,

Can you please send us an XML example so we can see what you mean?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rho
Posts: 69
Joined: Tue May 12, 2009 1:22 pm

Re: XML files and Tab characters create ilegal xml structure

I sent an example per email
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: XML files and Tab characters create ilegal xml structure

Hello,

We forwarded this issue along with the resources you sent to our QA team and unfortunately they could not replicate the behavior.
They used test elements and attributes on every level to update the xml file and everything worked as expected.

Please send us a basic step by step test case and a project that isolates the issue so we can investigate this further.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”