Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 4523 invoked from network); 19 Nov 2002 15:25:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Nov 2002 15:25:09 -0000 Received: (qmail 11708 invoked by uid 97); 19 Nov 2002 15:26:06 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 11672 invoked by uid 97); 19 Nov 2002 15:26:05 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 11650 invoked by uid 50); 19 Nov 2002 15:26:05 -0000 Date: 19 Nov 2002 15:26:05 -0000 Message-ID: <20021119152605.11649.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: ant-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 14641] - Prototypical task that uses Xerces-J 2.2.1 to validate an XML file against it's Schema (XSD) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14641 Prototypical task that uses Xerces-J 2.2.1 to validate an XML file against it's Schema (XSD) ------- Additional Comments From ddevienne@lgc.com 2002-11-19 15:26 ------- This is what I get when I try to use : P:\com_lgc\tahoe\modules>build validate2 Buildfile: P:\com_lgc\tahoe\modules\build.xml BUILD FAILED file:P:/com_lgc/tahoe/modules/build.xml:83: The task doesn't support the nested "attribute" element. Total time: 1 second with the build file fragment: So it seems this is not available in Ant 1.5.1. Which seems consistent with the documentation that doesn't list as a possible nested element, and nothing said about being able to validate against schemas in the text nor the examples. I also find the attribute setting cumbersome, although it's generic of course. So I guess I need to keep my task/condition until supporting schema validation is supported. --DD -- To unsubscribe, e-mail: For additional commands, e-mail: