Strange plugin-file (strict.dtd) validation error with legacy web services. [message #514579] |
Mon, 15 February 2010 15:06  |
Eclipse User |
|
|
|
Hi everybody.
I'm trying to reimplemet the WS-I SCM example (which dates back to 2003), while maintaining it's contracts, and I'm facing some complications.
When trying to use the provided wsdl, it is reported as invalid due to dependencies on other invalid documents. This traces back to the following error message:
"Referenced file contains errors (jar:file:/.../plugins/org.eclipse.wst.standard.schemas_1.0. 200.v200902270215.jar!/dtds/strict.dtd). "
And the error message for this particular file:
"The declaration for the entity "ContentType" must end with '>'.
strict.dtd line 81"
You can reproduce this with the following wsdl document: http://www.ws-i.org/SampleApplications/SupplyChainManagement /2002-08/Configuration.wsdl
Is this really an error on the strict.dtd document on the plugin, or is it some other kind of problem with using a no-longer-valid wsdl sintax?.
Regards,
Juan Pedro
|
|
|
|
Re: Strange plugin-file (strict.dtd) validation error with legacy web services. [message #515344 is a reply to message #514579] |
Thu, 18 February 2010 09:25  |
Eclipse User |
|
|
|
I was able to fix (work around) this problem. The way is to change the
<?xml version="1.0" encoding="UTF-8"?> header.
If you change the version number to "1.1" there problems are no longer
reported. You may then use the schema.
I was not able to find this way around reported anywhere on the
Internet, so I leave this here as a testimony for anyone else that faces
the same problem.
Regards,
Juan Pedro
Juan Pedro Silva escribió:
> Hi everybody.
> I'm trying to reimplemet the WS-I SCM example (which dates back to
> 2003), while maintaining it's contracts, and I'm facing some
> complications.
>
> When trying to use the provided wsdl, it is reported as invalid due to
> dependencies on other invalid documents. This traces back to the
> following error message:
>
> "Referenced file contains errors
> (jar:file:/.../plugins/org.eclipse.wst.standard.schemas_1.0.
> 200.v200902270215.jar!/dtds/strict.dtd). "
>
> And the error message for this particular file:
>
> "The declaration for the entity "ContentType" must end with '>'.
> strict.dtd line 81"
>
> You can reproduce this with the following wsdl document:
> http://www.ws-i.org/SampleApplications/SupplyChainManagement /2002-08/Configuration.wsdl
>
>
> Is this really an error on the strict.dtd document on the plugin, or
> is it some other kind of problem with using a no-longer-valid wsdl
> sintax?.
> Regards,
> Juan Pedro
>
|
|
|
Powered by
FUDForum. Page generated in 0.06590 seconds