Bugs item #1223944, was opened at 2005-06-20 09:24 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1223944&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Other Group: 0.85 Status: Open Resolution: None Priority: 5 Submitted By: Onin (oninga) Assigned to: Nobody/Anonymous (nobody) Summary: XML Schema for build files are incorrect Initial Comment: The XML Schema for NAnt build files are incorrect in several places. For example the NAnt.Core.Tasks.EchoTask type doesn't allow text content. When trying to validate a build file with a tag like: <target name="usage"> <echo>Some echo message</echo> </target> The error message (from XMLSpy) is: "The content of complex type 'NAnt.Core.Tasks.EchoTask' is 'empty'. This forbids any content for element 'echo'. To allow text content the type could be define as something like: <xs:complexType name="NAnt.Core.Tasks.EchoTask"> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute name="message" use="optional"/> <xs:attribute name="file" use="optional"/> <xs:attribute name="append" use="optional"/> <xs:attribute name="level" use="optional"/> <xs:attribute name="failonerror" use="optional"/> <xs:attribute name="verbose" use="optional"/> <xs:attribute name="if" use="optional"/> <xs:attribute name="unless" use="optional"/> </xs:extension> </xs:simpleContent> </xs:complexType> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1223944&group_id=31650 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers