Hi all,
I am trying to build a Maven 2 plugin which uses the task
and I get this error message:
Could not create task or type of type: xmlvalidate.
Ant could not find the task or a class this task relies upon.
bla, bla, bla...
...well what are the dependencies of this task?
The docs are not cle
The docs say that the XML Catalog format is based on the OASIS Open
Catalog: http://oasis-open.org/committees/entity/spec-2001-08-06.html
The spec enables URI mapping using the element, section 6.5.8:
Where I am wrong? Is it be supported or not?
Adrian.
--
Hi all,
Can someone upload the ant-testutil.jar and its sources to IBiblio so it
will be available for Maven 2 users?
This jar is not distributed as part of the ANT (1.6.5) binary
distribution and it took me some time to make it work with the ANT
tutorials -- if it would be on the ibiblio repo the
Hi all,
I am following the ANT tutorials, and now I am trying to see how I can
run tests under Maven.
I have put the HelloWorld and HelloWorldTest classes into a package
(let's say mypck). The test build file is also found in that package. So
when compiled the file system looks like this:
basedi
Hi all,
I am using the task in a Maven Ant mojo that validates XML
files against XSD schemas.
http://xml.org/sax/features/validation"; value="true"/>
http://apache.org/xml/features/validation/schema";
value="true"/>
http://xml.org/sax/features/namespaces"; value="true"/>
E
Prashant wrote:
>
>>And it takes it a very long time to complete (almost ten minutes for
>> 70-80 XML files).
>
>
> Could't you use to locate the XSD schemas locally instead of
> http download, which perhaps is taking time.
Does it work for XML schemas? From the documentation, and I think th
ng.
>
> http://xml.apache.org/xerces2-j/faq-grammars.html#faq-4
>
> I would imagine by doing something like this:
>
> value="org.apache.xerces.parsers.XMLGrammarCachingConfiguration" />
>
> or:
>
> value="org.apache.xerces.parsers.XMLGrammarCachin
My mistake! I have put the element inside the
element.
Anyway, the behavior remained the same -- it still fails erratically and
it still takes a long time to complete :-(
Adrian Herscu wrote:
> It took me a long time to experiment with this.
> Here is the result:
>
Hi all,
I am using the task for schema validation.
I want to set some Xerces properties from within the Ant script.
Tried the task but it does not seem
to achieve the desired effect. (what I am looking for, actually, is to
make Xerces cache XML schemas)
Please advise,
Adrian.