Bugs item #3058913, was opened at 2010-09-03 09:51 Message generated for change (Comment added) made by rmboggs You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=3058913&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: Framework support Group: 0.91-alpha2 Status: Open Resolution: None Priority: 5 Private: No Submitted By: owl128 (owl128) Assigned to: Nobody/Anonymous (nobody) Summary: xml schema for description is invalid Initial Comment: example for a build file: <project xmlns="http://nant.sf.net/release/0.91-alpha2/nant.xsd" name="a"> <description>my description</description> </project> This will note the text between the description tags as invalid. I suggest to fix the content of nant.xsd file by one of the followings: Replace: <xs:complexType name="NAnt.Core.Tasks.DescriptionTask"> by <xs:complexType name="NAnt.Core.Tasks.DescriptionTask" mixed="true"> or replace the occurrences of <xs:element name="description" type="nant:NAnt.Core.Tasks.DescriptionTask" /> by <xs:element name="description" type="xs:string" /> ---------------------------------------------------------------------- >Comment By: Ryan Boggs (rmboggs) Date: 2010-09-12 21:39 Message: I'm trying to get familiar with xsd in general. From what I can see, the closest I can get to the mixed is with this: <xs:complexType name="Target" mixed="true"> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:complexType name="NAnt.Core.Tasks.DescriptionTask"> however, I don't know if that will resolve this issue. Thanks, Ryan ---------------------------------------------------------------------- Comment By: Dominik Guder (dogu) Date: 2010-09-05 13:58 Message: Hi, I stubled about this long time ago. There are some more tasks like the echo task if I remember correctly. Changing this in xsd file itself would be easy. But this xsd file is created automatically by nantschema task. So we need to find a way to resolve this there. But this was to much effort for me and I stopped in validating my build files with other tools than nant itself. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=3058913&group_id=31650 ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers