You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "John Kaputin (JIRA)" <ji...@apache.org> on 2006/01/23 12:45:09 UTC

[jira] Created: (WODEN-3) Add the component name to the Schema-0016 assertion method

Add the component name to the Schema-0016 assertion method
----------------------------------------------------------

         Key: WODEN-3
         URL: http://issues.apache.org/jira/browse/WODEN-3
     Project: Woden
        Type: Improvement
    Reporter: John Kaputin
    Priority: Minor


The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Updated: (WODEN-3) Add the component name to the Schema-1066 assertion method

Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Kaputin updated WODEN-3:
-----------------------------

    Summary: Add the component name to the Schema-1066 assertion method  (was: Add the component name to the Schema-0016 assertion method)

Changed JIRA title from Schema-0016 to Schema-1066

> Add the component name to the Schema-1066 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>            Assignee: Dan Harvey
>             Fix For: M8
>
>         Attachments: patch-item-3.txt, WODEN 3 - patch_Message dot Properties.txt, WODEN 3 - patch_WSDLDocumentValidator.txt, WODEN 3 - patch_WSDLDocumentValidatorTest.txt, WODEN-3_patchV2_Messages_dot_properties.txt
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "Sriram Rao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495990 ] 

Sriram Rao commented on WODEN-3:
--------------------------------

As described in the relevant JIRA, I have modified testAssertionSchema0016 method to accept a QName instead of a namespaceURI. Within the method, I get the NameSpaceURI and the localpart from the QName supplied. The reportError will then use both the namespace and the localpart to log an error. 

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. 



> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>         Assigned To: John Kaputin
>             Fix For: M8
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499086 ] 

John Kaputin commented on WODEN-3:
----------------------------------

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.

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>         Assigned To: John Kaputin
>             Fix For: M8
>
>         Attachments: WODEN 3 - patch_Message dot Properties.txt, WODEN 3 - patch_WSDLDocumentValidator.txt, WODEN 3 - patch_WSDLDocumentValidatorTest.txt
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Updated: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Kaputin updated WODEN-3:
-----------------------------

    Attachment: WODEN-3_patchV2_Messages_dot_properties.txt

Patch of the Messages.properties file with the new message required for assertion Schema-1066

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>            Assignee: John Kaputin
>             Fix For: M8
>
>         Attachments: WODEN 3 - patch_Message dot Properties.txt, WODEN 3 - patch_WSDLDocumentValidator.txt, WODEN 3 - patch_WSDLDocumentValidatorTest.txt, WODEN-3_patchV2_Messages_dot_properties.txt
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Assigned: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Kaputin reassigned WODEN-3:
--------------------------------

    Assignee: Dan Harvey  (was: John Kaputin)

Fix supplied by Dan, assigning JIRA to him.

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>            Assignee: Dan Harvey
>             Fix For: M8
>
>         Attachments: patch-item-3.txt, WODEN 3 - patch_Message dot Properties.txt, WODEN 3 - patch_WSDLDocumentValidator.txt, WODEN 3 - patch_WSDLDocumentValidatorTest.txt, WODEN-3_patchV2_Messages_dot_properties.txt
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Updated: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WODEN-3?page=all ]

Lawrence Mandel updated WODEN-3:
--------------------------------

    Fix Version/s: M7
         Assignee: John Kaputin  (was: Lawrence Mandel)

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: http://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>         Assigned To: John Kaputin
>            Priority: Minor
>             Fix For: M7
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Updated: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Kaputin updated WODEN-3:
-----------------------------

    Priority: Major  (was: Minor)

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>         Assigned To: John Kaputin
>             Fix For: M8
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Updated: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "Sriram Rao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sriram Rao updated WODEN-3:
---------------------------

    Attachment: WODEN 3 - patch_WSDLDocumentValidatorTest.txt
                WODEN 3 - patch_WSDLDocumentValidator.txt
                WODEN 3 - patch_Message dot Properties.txt

John:

Attached are the patch files for the 3 code components that were changed:
Message.properties
WSDLDocumentValidator.java
WSDLDocumentValidatorTest.java

Sriram


> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>         Assigned To: John Kaputin
>             Fix For: M8
>
>         Attachments: WODEN 3 - patch_Message dot Properties.txt, WODEN 3 - patch_WSDLDocumentValidator.txt, WODEN 3 - patch_WSDLDocumentValidatorTest.txt
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499802 ] 

Arthur Ryman commented on WODEN-3:
----------------------------------

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

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>            Assignee: John Kaputin
>             Fix For: M8
>
>         Attachments: WODEN 3 - patch_Message dot Properties.txt, WODEN 3 - patch_WSDLDocumentValidator.txt, WODEN 3 - patch_WSDLDocumentValidatorTest.txt
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Resolved: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Kaputin resolved WODEN-3.
------------------------------

    Resolution: Fixed

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>         Assigned To: John Kaputin
>             Fix For: M8
>
>         Attachments: WODEN 3 - patch_Message dot Properties.txt, WODEN 3 - patch_WSDLDocumentValidator.txt, WODEN 3 - patch_WSDLDocumentValidatorTest.txt
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Updated: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Kaputin updated WODEN-3:
-----------------------------

    Attachment: patch-item-3.txt

Fix supplied by Dan Harvey.

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>            Assignee: John Kaputin
>             Fix For: M8
>
>         Attachments: patch-item-3.txt, WODEN 3 - patch_Message dot Properties.txt, WODEN 3 - patch_WSDLDocumentValidator.txt, WODEN 3 - patch_WSDLDocumentValidatorTest.txt, WODEN-3_patchV2_Messages_dot_properties.txt
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514172 ] 

John Kaputin commented on WODEN-3:
----------------------------------

Dan's fix is in the file patch-item-3.txt

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>            Assignee: John Kaputin
>             Fix For: M8
>
>         Attachments: patch-item-3.txt, WODEN 3 - patch_Message dot Properties.txt, WODEN 3 - patch_WSDLDocumentValidator.txt, WODEN 3 - patch_WSDLDocumentValidatorTest.txt, WODEN-3_patchV2_Messages_dot_properties.txt
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Updated: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lawrence Mandel updated WODEN-3:
--------------------------------

    Fix Version/s:     (was: M7)
                   M8

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>         Assigned To: John Kaputin
>            Priority: Minor
>             Fix For: M8
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Resolved: (WODEN-3) Add the component name to the Schema-1066 assertion method

Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Kaputin resolved WODEN-3.
------------------------------

    Resolution: Fixed

r563107

> Add the component name to the Schema-1066 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>            Assignee: Dan Harvey
>             Fix For: M8
>
>         Attachments: patch-item-3.txt, WODEN 3 - patch_Message dot Properties.txt, WODEN 3 - patch_WSDLDocumentValidator.txt, WODEN 3 - patch_WSDLDocumentValidatorTest.txt, WODEN-3_patchV2_Messages_dot_properties.txt
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Assigned: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WODEN-3?page=all ]

Lawrence Mandel reassigned WODEN-3:
-----------------------------------

    Assign To: Lawrence Mandel

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>          Key: WODEN-3
>          URL: http://issues.apache.org/jira/browse/WODEN-3
>      Project: Woden
>         Type: Improvement
>     Reporter: John Kaputin
>     Assignee: Lawrence Mandel
>     Priority: Minor

>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511101 ] 

John Kaputin commented on WODEN-3:
----------------------------------

I used Arthur's batch script to renumber the existing WSDL assertions (WODEN-149).  The classes WSDLDocumentValidator and WSDLDocumentValidatorTest must be modified to support the new message format for assertion Schema-1066 (see latest patch file for Messages.properties for new msg format).  I'll ask Dan Harvey to have a go at this. 

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>            Assignee: John Kaputin
>             Fix For: M8
>
>         Attachments: WODEN 3 - patch_Message dot Properties.txt, WODEN 3 - patch_WSDLDocumentValidator.txt, WODEN 3 - patch_WSDLDocumentValidatorTest.txt, WODEN-3_patchV2_Messages_dot_properties.txt
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Updated: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WODEN-3?page=all ]

Lawrence Mandel updated WODEN-3:
--------------------------------

    Component: Validation

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>          Key: WODEN-3
>          URL: http://issues.apache.org/jira/browse/WODEN-3
>      Project: Woden
>         Type: Improvement

>   Components: Validation
>     Reporter: John Kaputin
>     Assignee: Lawrence Mandel
>     Priority: Minor

>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499804 ] 

Arthur Ryman commented on WODEN-3:
----------------------------------

The new number for this assertion is Schema-1066.

John - I can do a batch rename using the script. Shall I do this?

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>            Assignee: John Kaputin
>             Fix For: M8
>
>         Attachments: WODEN 3 - patch_Message dot Properties.txt, WODEN 3 - patch_WSDLDocumentValidator.txt, WODEN 3 - patch_WSDLDocumentValidatorTest.txt
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Reopened: (WODEN-3) Add the component name to the Schema-0016 assertion method

Posted by "Arthur Ryman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arthur Ryman reopened WODEN-3:
------------------------------


John,

All the assertions were renamed as part of the WSDL 2.0 PR spec publication.

> Add the component name to the Schema-0016 assertion method
> ----------------------------------------------------------
>
>                 Key: WODEN-3
>                 URL: https://issues.apache.org/jira/browse/WODEN-3
>             Project: Woden
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: John Kaputin
>            Assignee: John Kaputin
>             Fix For: M8
>
>         Attachments: WODEN 3 - patch_Message dot Properties.txt, WODEN 3 - patch_WSDLDocumentValidator.txt, WODEN 3 - patch_WSDLDocumentValidatorTest.txt
>
>
> The message for Schema-0016 assertion just reports the namespace URI in error.  It might be more useful to report the name of the schema component as well.  This could be achieved by specifying two message parameters (local name and namespace URI) and changing  the testAssertionSchema0016 method in the validator  to accept a QName argument rather than a namespace string.  The message could then be formatted with the element or type's local name as well as its namespace URI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org