ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <Jesse.Gl...@netbeans.com>
Subject [PATCH] Fixes for <xmlvalidate>
Date Thu, 03 May 2001 21:07:24 GMT
This patch fixes two (IMHO major) problems with this very handy task.

1. The task was not telling the parser where the source file came from. This
means that entity includes using relative URLs did not work at all:

<!ENTITY foo SYSTEM "foo.xml">
...
&foo;

2. The error reporting did not take advantage of all the information given by
the parser, especially the file name, so when checking syntax on a wrapper
document with many includes, nearly all messages would be misleading and
useless.

-Jesse

-- 
Jesse Glick   <mailto:Jesse.Glick@netbeans.com>
NetBeans, Open APIs  <http://www.netbeans.org/>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR
Mime
View raw message