On 20/06/2011 17:25, Alan R Williams wrote:
On 20/06/2011 16:02, Jorge de Jesus wrote:
I need help from a Taverna hacker !!! I not a JAVA programmer so I'm a
bit lost...anyway here is the problem

W3C is using some "tarpits"  due to "applications making excessive
requests for DTD and other schemata". Basically the W3C servers are are
taking a some time to reply when systems starts asking for schemas so
that they can validate XML/WSDL

I know that Donal Fellows had similar problems when specifying the API
for the Taverna server. I have e-mailed him asking him to comment.

So, W3C recommends the use of XML catalogs in your local machine,

That seems like a bad solution to me as people will be very tempting to
edit the "standard" :)

I'd agree, but it's what W3C wants. After all, it's more important to them that they save a little in the server machinery department rather than spending an appropriate sum on supporting their operations properly. I suppose I sound a bit cynical...


The fix I use is to take a copy of all the relevant files and then edit them *just* so they point to each other correctly. If you're doing that yourself, you're going to be looking for <import> elements with a schemaLocation in a suitable XML namespace; they'll probably be written something like

  <xsd:import namespace="dontchangethis" schemaLocation="CHANGETHIS"/>

There's something similar for WSDL imports, but I forget how it's normally written due to peculiarities in how the framework I'm working with handles schemas. W3C schemas have namespaces that don't end in either “wsdl” or “.xsd”, but their locations do.

Hope this helps.

Donal.

<<attachment: donal_k_fellows.vcf>>

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to