[FIXED] Xml Comment causes [Core exception] in ParseTaskNode

Posts   
 
    
MJC
User
Posts: 50
Joined: 06-May-2004
# Posted on: 21-Jan-2005 22:38:28   

This is not a big issue, since there is a work around, but I noticed it nevertheless.

When one of the generator config files has an xml comment in it, it causes a [Core Exception] and prevents the "Generate" utility to function.

For example, the following caused a [Core exception]:

<task ...
   ... other parameters ...
<!-- 
<parameter name="templateAssemblySourceFileFormat" value="srcBaseEntityAscx.[extension]"/> 
-->
</task>

Fix --> Remove the comments or remove the element altogether.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 22-Jan-2005 10:51:07   

I'll check it out, it's a bit weird though as I deserialize these files with the XmlSerializer. Oh well, that class isn't my friend anyway, so I'm not surprised. I'll look into it. simple_smile

(edit) ah that XML snippet isn't deserialized by the XmlSerializer but manually...

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 24-Jan-2005 18:05:36   

Fixed in the next build of the designer, which will be released probably tomorrow.

Frans Bouma | Lead developer LLBLGen Pro