> I'm using digester..
As in
<http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/tomcat/util
/digester/Digester.html>
?
>....to parse xml and I want to validate the xml with
> xsd file.
...
> digester.register("\\adasdascvcvcvc\\ssss\\XMLSchema","//WEB-NF//classes//schema.xsd");
What are those '\\' doing in there? Why have you doubled
the '//'?
As far as I understand,
1. The '\' is only relevant to Windows, and only relevant
to files - not URL's.
2. The '//' is not needed - it should be '/'
3. WEB-INF is usually spelt WEB-INF, rather than WEB-NF
> anybody know what is the problem ? ? ?
With your repeating '?' key?
It might be sticky jam in the keyboard...
Andrew T.
hazan - 20 Jul 2006 09:28 GMT
> > I'm using digester..
>
[quoted text clipped - 25 lines]
>
> Andrew T.
10x
but I still want to understand something.
In which step will I get the error if the xml is not with the right
schema ?
when I perform "digester.register(... " ? if not, then when ?
thank you vary much !