Menu

#85 Duplicate attribute created for NAnt Contrib

0.84
closed-fixed
Tasks (69)
5
2005-04-10
2005-04-08
TDNeumann
No

I utilized the following build file to regenerate the xsd for
the NAnt and NAntContrib programs, so that the xsd
would reflect all the combined elements of the two
programs:

<?xml version="1.0" encoding="utf-8" ?>
<project name="GenerateNAntSchemaForVS.NET"
default="genschema">
<property name="SchemaFile" value="C:\Program
Files\Microsoft Visual Studio .NET 2003\Common7
\Packages\schemas\xml\NAnt.xsd"/>
<target name="genschema">
<nantschema output="${SchemaFile}" target-
ns="http://nant.sf.net/schemas/nant.xsd"/>
</target>
</project>

Subsequently I opened the resulting schema file in
XMLSpy and noticed that an attribute had been
duplicated in the schema:

"Duplicated attribute "user" found"

in

NAnt.Contrib.Tasks.SourceSafe.History

Removing this duplicated attribute resulted in a valid
schema check.

Thanks,
Tim

Discussion

  • Gert Driesen

    Gert Driesen - 2005-04-10

    Logged In: YES
    user_id=707851

    This is now fixed in cvs.

    Please avoid duplicated bug reports.

    Thanks !

     
  • Gert Driesen

    Gert Driesen - 2005-04-10
    • assigned_to: nobody --> drieseng
    • status: open --> closed-fixed
     

Log in to post a comment.