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
Logged In: YES
user_id=707851
This is now fixed in cvs.
Please avoid duplicated bug reports.
Thanks !