[ 
http://issues.apache.org/jira/browse/WODEN-85?page=comments#action_12456492 ] 
            
Graham Turrell commented on WODEN-85:
-------------------------------------

Here's the plan:

Create an ant task in woden build.xml to download the wsdl20 schema, xml schema 
and dtd files directly from w3c (this is currently done in 
downloads/w3c/build.xml target "copy-wsdl-xsd"). This task will be used as part 
of the woden.jar build process. In addition, a fixed-content URI Resolver 
Catalog file ("system.catalog"), containing resolves for each of those files, 
to the local destination within woden.jar (or the development environment). The 
files will appear in directory /schema in woden.jar. In a development 
environment (ie no woden.jar), the ant task would need be run manually to 
create /schema and contents under (for example) eclipse project root. Omitting 
this step is non-destructive - if the location schema files are not found when 
woden is executed, it will simply look for them in the regular w3c location on 
the net.

I think the w3c build.xml could be changed to reference the schema embedded 
into the woden.jar the test-suite uses, rather than download its own set as it 
does currently.

The existence of this new system ("hidden") catalog is in addition to the 
traditional catalog file (now called the "user catalog"). The system catalog is 
loaded first followed by the user catalog, which may override system catalog 
entries if so required.

I have a working proof-of-concept for the code changes in my sandbox and am 
working on the ant task changes. However, I'd like to take any questions / 
possible concerns before going too much further.

> XML Catalog common files should be downloaded/cached to a well known path
> -------------------------------------------------------------------------
>
>                 Key: WODEN-85
>                 URL: http://issues.apache.org/jira/browse/WODEN-85
>             Project: Woden
>          Issue Type: Improvement
>            Reporter: John Kaputin
>             Fix For: M7
>
>         Attachments: W3Ctests.catalog
>
>
> The XML catalog mechanism requires common schemas and DTDs, namely:
> datatypes.dtd
> wsdl20.xsd
> xml.xsd
> XMLSchema.dtd
> XMLSchema.xsd
> These should be downloaded and cached in a well known local path via a 
> script. This path should be appropriate for running Woden with XML catalog 
> (i.e. relative the the base URI property set by the relevant system property 
> for XML catalog).  There should not be any need to manually copy these files 
> to a point appropriate for the base URI - it should be possible to do this by 
> running a suitable ANT target.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to