http://nagoya.apache.org/bugzilla/show_bug.cgi?id=490

*** shadow/490  Thu Feb  1 04:07:18 2001
--- shadow/490.tmp.1424 Sun Feb  4 07:01:00 2001
***************
*** 2,8 ****
  | Project tag blows up on parse BugRat Report#821                            |
  +----------------------------------------------------------------------------+
  |        Bug #: 490                         Product: Ant                     |
! |       Status: UNCONFIRMED                 Version: unspecified             |
  |   Resolution:                            Platform: All                     |
  |     Severity: Enhancement              OS/Version: All                     |
  |     Priority: High                      Component: Core                    |
--- 2,8 ----
  | Project tag blows up on parse BugRat Report#821                            |
  +----------------------------------------------------------------------------+
  |        Bug #: 490                         Product: Ant                     |
! |       Status: NEW                         Version: unspecified             |
  |   Resolution:                            Platform: All                     |
  |     Severity: Enhancement              OS/Version: All                     |
  |     Priority: High                      Component: Core                    |
***************
*** 14,17 ****
  |          URL:                                                              |
  +============================================================================+
  |                              DESCRIPTION                                   |
! The project tag throws an exception in the class ProjectHelper when an 
attribute not defined for an ANT buildfile is found.  This is annoying, as it 
disables schema references in the buildfile, thus making XML editing tools much 
less useful for ANT buildfiles.  A better approach would be to log any 
attribute that ANT does not understand and then simply ignore the discrepancy.
--- 14,35 ----
  |          URL:                                                              |
  +============================================================================+
  |                              DESCRIPTION                                   |
! The project tag throws an exception in the class ProjectHelper when an 
attribute not defined for an ANT buildfile is found.  This is annoying, as it 
disables schema references in the buildfile, thus making XML editing tools much 
less useful for ANT buildfiles.  A better approach would be to log any 
attribute that ANT does not understand and then simply ignore the discrepancy.
! 
! ------- Additional Comments From [EMAIL PROTECTED]  2001-02-04 07:01 -------
! <?xml version="1.0"?>
! <project name="bug490" default="main" basedir="." foo="bar">
! 
!   <target name="main">
!     <echo message="It works!"/>
!   </target>
! 
! </project>
! 
! fails with
! 
! Buildfile: bug490.xml
! 
! BUILD FAILED
! 
! C:\Java\work\apache.org\jakarta-ant\bug490.xml:2: Unexpected attribute "foo"

Reply via email to