#240 Schema and code do not match for AssemblyInfoTask element

0.85
closed-fixed
Core (183)
6
2004-12-22
2004-12-01
No

Hi,

looking at the 0.85-rc1 schema I can see that
AssemblyInfoTask either has incorrect definition, or the
code that is supposed to handle it is incorrect.
More specifically, schema says that this task can have
one or more of "attributes" elements, where "attributes"
is actually of type "AssemblyAttribute" (note singular-
plural mismatch) from which it follows that for each
attribute you want to add you need to have
one "attributes" element, but code parsing the .build file
disagrees and wants single "attributes" element with
many "attribute" elements inside.

If the code is right, then the schema is not, and vice
versa. Same goes with "imports" and
probably "references" element as well. If I stick to what
is intuitive (one "imports" many "import" child nodes and
analogous for "references" and "attributes") NAnt works
fine, but my XML editor complains that the document is
not correct according to the schema, which is annoying.

Thanks and keep up the good work,

Draza

Discussion

  • Drazen Dotlic

    Drazen Dotlic - 2004-12-01
    • priority: 5 --> 6
    • summary: Schema and code do not match --> Schema and code do not match for AssemblyInfoTask element
     
  • Gert Driesen

    Gert Driesen - 2004-12-22
    • assigned_to: nobody --> drieseng
    • status: open --> closed-fixed
     
  • Gert Driesen

    Gert Driesen - 2004-12-22

    Logged In: YES
    user_id=707851

    This issue is now fixed in CVS, and will be available in the
    next nightly build.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks