Bugs item #1110832, was opened at 2005-01-27 18:26
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=1110832&group_id=31650

Category: Core
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Amir Kolsky (kolsky)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem with project xml element.

Initial Comment:
The following is a sample build file with the scheme 
specification:
<?xml version="1.0"?>
<nant:project name="Bad Sample" default="A" 
xmlns:nant="http://nant.sf.net/release/0.85-
rc1/nant.xsd"  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" 
xsi:schemaLocation="http://nant.sf.net/release/0.85-
rc1/nant.xsd
C:\PROGRA~1\Nant\schema\nant.xsd">
        <target name="A"/>
</nant:project>

This snippet passes validation.

However, when ran an error stating that there is no 
target A in the file is displayed.

The following file which does not have the schema in it 
works.

<?xml version="1.0"?>
<project name="Bad Sample" default="A">
        <target name="A"/>
<project>

This bug means that we can not use validating editors 
to generate the .build files as their output is not 
accepted by NAnt.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1110832&group_id=31650


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to