Menu

#358 CodeDOM: Comments not supported

closed
nobody
None
2012-09-15
2005-07-26
No

The CodeDOM does not support adding Comments to a
WiX file.

However not a key scenario when creating WiX files,
being able to roundtrip comments when modifying WiX
files using the CodeDOM is an absolute requirement.

Discussion

  • Reid Gustin

    Reid Gustin - 2005-10-12

    Logged In: YES
    user_id=1011559

    This isn't something I'm interested in supporting. If someone
    else wants to pick this up, that would be fine with me, but it's
    completely outside the scenarios the CodeDom was created
    for.

     
  • Derek

    Derek - 2006-03-22

    Logged In: YES
    user_id=518766

    Seems like more of a feature request. It also doesn't seem
    like the CodeDOM should support comments. It exists to
    represent the schema of WiX itself - comments exist outside
    of that domain.

     
  • Frederik Carlier

    Logged In: YES
    user_id=1149415

    On the other hands, comments are part of a valid WiX XML
    file. I still think that it would be a great enhancement if
    you have the tools available to programatically read and
    write (roundtrip) valid WiX XML files; as such, comments
    are indeed required.

    Think of this as potentially useful for tools such as
    editors.

    You may as well consider adding a XmlNode child element as
    supported to any WiX element that supports child elements,
    this way, you add support for code comments, CDATA and any
    other valid XML element (think extensions here). And, that
    way you don't have to care about it any more.

     
MongoDB Logo MongoDB