ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35657] - Add a "haltonerror" parameter to "xmlvalidate"
Date Fri, 08 Jul 2005 15:57:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35657>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35657





------- Additional Comments From davidlemoing@free.fr  2005-07-08 17:57 -------
I know about the multifile validation problem in xmlvalidate (ant1.6). I'm using
the last version in CVS, so I don't have this bug.
I'm just disappointed not to be able to choose to validate all the files against
my XSD and log errors before choosing to make the build process fail with the
"failonerror" parameter.
I'm not sure I've well explained what I want to achieve :
I've got 10 files, 3 of these files are invalid according to my XSD. If I use
xmlvalidate, the build process will stop when the parser will meet an invalid
file (Only if "failonerror" set to true. If set to false, the build process will
never be stopped). As a consequence, not all the files will be validated. It
will be more interesting if the 10 files can be validated, log all the errors
for the 3 incorrect ones and stop the build process if the parser reports some
errors.
If I understand well, you think it will be a better idea to use a
failureproperty that will be set on success if the "failonoerror" parameter is
set to false (in order to validate every file without stopping the build
process). Is it correct ? This idea sounds great also.
I beg your pardon but I don't understand what you've said about breaking things
up into multiple files. How can it help ?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message