|
John:
Attached are the patch files for the 3 code components that were changed: Message.properties WSDLDocumentValidator.java WSDLDocumentValidatorTest.java Sriram r541655
Assertion Schema-0016 has been removed from the WSDL2 spec, so this JIRA can be cancelled. For now, I have modified Woden by commenting out the calls for testing Schema-0016. The whole Validator and ValidatorTest code is to be re-implemented soon when a new plugin/extension mechanism is available for validation. John,
All the assertions were renamed as part of the WSDL 2.0 PR spec publication. I send an email that described the rename script. [1]
[1] http://mail-archives.apache.org/mod_mbox/ws-woden-dev/200705.mbox/%3cOF390D3BD9.C50EBDB0-ON852572E6.0057BEAE-852572E6.00584B75@ca.ibm.com%3e The new number for this assertion is Schema-1066.
John - I can do a batch rename using the script. Shall I do this? Patch of the Messages.properties file with the new message required for assertion Schema-1066
I used Arthur's batch script to renumber the existing WSDL assertions (
Dan's fix is in the file patch-item-3.txt
Fix supplied by Dan, assigning JIRA to him.
Changed JIRA title from Schema-0016 to Schema-1066
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The error message has been modified to
"Schema-0016 = The component ''{1}'' refers to the XML Schema namespace ''{0}''. But this namespace is not available. In order to reference components from a XML Schema namespace the namespace must be imported or defined inline."
with the {1} referring to the local part and {0} referring to the namespace.
I have also modified the 2 calls to this testAssertionSchema0016 method to send QName instead of the namespaceURI.
This has not been tested this against any WSDL or a JUnit test case. I have attached the modified Class WSDLDocumentValidator and the Messages.properties files with this email.