I've run into some issues related to schemas and just need a sanity check.

I typically use XML Spy for anything related to XML.  It allows me to easily
add elements and attributes and, more importantly, it allows me to validate
the document.  To do so, I include the appropriate namespace definitions in
the root element.

While attempting to create my first file (I finally got serious about using
NAnt) I ran into the following issues:
- NAnt.exe requires tags in the build file to be unqualified.  This isn't
necessarily a problem, just an observation.
- The schema files, nant-0.8.3.50105.xsd and nant-20031031.xsd, don't
validate.  XML Spy complains of duplicate types 'formatter' and 'test'.
- The build file won't validate.  XML Spy continually complains that the
element 'attrib' is required, as opposed to whatever tag I used (i.e.
'target'.)  This message indicates the validator expects the mentioned
element (in the case 'attrib') before whatever element generated the error.

I've taken a quick glance at the XSD and it seems to be defined ok with
respect to 'attrib' being optional rather than mandatory.  Am I overlooking
something?  What's happening?


 - Patrick Fogarty
   Patanne, Inc.


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to