You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Cindy McNally (JIRA)" <ji...@apache.org> on 2007/01/14 23:35:27 UTC

[jira] Created: (WSCOMMONS-153) XmlSchemaSerializer not serializing AppInfo markup

XmlSchemaSerializer not serializing AppInfo markup
--------------------------------------------------

                 Key: WSCOMMONS-153
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-153
             Project: WS-Commons
          Issue Type: Bug
          Components: XmlSchema
            Reporter: Cindy McNally


XmlSchemaAppInfo content not serialized. The following:

<xs:schema targetNamespace="http://foo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:appinfo>
      <ns01:bar xmlns:ns01="http://anyuri"/>
    </xs:appinfo>
  </xs:annotation>
</xs:schema>

Is serialized as:

<xs:schema targetNamespace="http://foo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:appinfo/>
  </xs:annotation>
</xs:schema>


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

        

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


[jira] Updated: (WSCOMMONS-153) XmlSchemaSerializer not serializing AppInfo markup

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

Fady Moussallam updated WSCOMMONS-153:
--------------------------------------

    Attachment: annotationIssues.xsd

This is a simplified version of an XSD with appInfo annotations at the schema and element level.
The current issues in XmlSchemaSerializer result in empty appInfo elements.



> XmlSchemaSerializer not serializing AppInfo markup
> --------------------------------------------------
>
>                 Key: WSCOMMONS-153
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-153
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>            Reporter: Cindy McNally
>         Attachments: annotationIssues.xsd
>
>
> XmlSchemaAppInfo content not serialized. The following:
> <xs:schema targetNamespace="http://foo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>   <xs:annotation>
>     <xs:appinfo>
>       <ns01:bar xmlns:ns01="http://anyuri"/>
>     </xs:appinfo>
>   </xs:annotation>
> </xs:schema>
> Is serialized as:
> <xs:schema targetNamespace="http://foo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>   <xs:annotation>
>     <xs:appinfo/>
>   </xs:annotation>
> </xs:schema>

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


[jira] Commented: (WSCOMMONS-153) XmlSchemaSerializer not serializing AppInfo markup

Posted by "Mike Swain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSCOMMONS-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498432 ] 

Mike Swain commented on WSCOMMONS-153:
--------------------------------------

Can you tell me what version this is fixed in - I just tried compiling the head and I'm still getting the problem (I think;-)

> XmlSchemaSerializer not serializing AppInfo markup
> --------------------------------------------------
>
>                 Key: WSCOMMONS-153
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-153
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>            Reporter: Cindy McNally
>
> XmlSchemaAppInfo content not serialized. The following:
> <xs:schema targetNamespace="http://foo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>   <xs:annotation>
>     <xs:appinfo>
>       <ns01:bar xmlns:ns01="http://anyuri"/>
>     </xs:appinfo>
>   </xs:annotation>
> </xs:schema>
> Is serialized as:
> <xs:schema targetNamespace="http://foo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>   <xs:annotation>
>     <xs:appinfo/>
>   </xs:annotation>
> </xs:schema>

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


[jira] Commented: (WSCOMMONS-153) XmlSchemaSerializer not serializing AppInfo markup

Posted by "Mike Swain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSCOMMONS-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509529 ] 

Mike Swain commented on WSCOMMONS-153:
--------------------------------------

Cool - thanks Ajith. No worries - it happens to us all. It great to have such great stuff developed in the first place!

                                                                               Mike
Ajith Harshana Ranabahu (JIRA) wrote:
     [ [1]https://issues.apache.org/jira/browse/WSCOMMONS-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ajith Harshana Ranabahu resolved WSCOMMONS-153.
-----------------------------------------------

    Resolution: Fixed

Apologies for closing this issue without a proper test case earlier. Now it is fixed in the trunk and the given schema is added as a test case.

  
XmlSchemaSerializer not serializing AppInfo markup
--------------------------------------------------

                Key: WSCOMMONS-153
                URL: [2]https://issues.apache.org/jira/browse/WSCOMMONS-153
            Project: WS-Commons
         Issue Type: Bug
         Components: XmlSchema
           Reporter: Cindy McNally
        Attachments: annotationIssues.xsd


XmlSchemaAppInfo content not serialized. The following:
<xs:schema targetNamespace=[3]"http://foo" xmlns:xs=[4]"http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:appinfo>
      <ns01:bar xmlns:ns01=[5]"http://anyuri"/>
    </xs:appinfo>
  </xs:annotation>
</xs:schema>
Is serialized as:
<xs:schema targetNamespace=[6]"http://foo" xmlns:xs=[7]"http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:appinfo/>
  </xs:annotation>
</xs:schema>
    

  

----------------------------------------------------------------------------------------
[1] https://issues.apache.org/jira/browse/WSCOMMONS-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
[2] https://issues.apache.org/jira/browse/WSCOMMONS-153
[3] http://foo
[4] http://www.w3.org/2001/XMLSchema
[5] http://anyuri
[6] http://foo
[7] http://www.w3.org/2001/XMLSchema


> XmlSchemaSerializer not serializing AppInfo markup
> --------------------------------------------------
>
>                 Key: WSCOMMONS-153
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-153
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>            Reporter: Cindy McNally
>         Attachments: annotationIssues.xsd
>
>
> XmlSchemaAppInfo content not serialized. The following:
> <xs:schema targetNamespace="http://foo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>   <xs:annotation>
>     <xs:appinfo>
>       <ns01:bar xmlns:ns01="http://anyuri"/>
>     </xs:appinfo>
>   </xs:annotation>
> </xs:schema>
> Is serialized as:
> <xs:schema targetNamespace="http://foo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>   <xs:annotation>
>     <xs:appinfo/>
>   </xs:annotation>
> </xs:schema>

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


[jira] Resolved: (WSCOMMONS-153) XmlSchemaSerializer not serializing AppInfo markup

Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ajith Harshana Ranabahu resolved WSCOMMONS-153.
-----------------------------------------------

    Resolution: Fixed

This bug was due to the incorrect handling of extension elements. Fixed in the latest code

> XmlSchemaSerializer not serializing AppInfo markup
> --------------------------------------------------
>
>                 Key: WSCOMMONS-153
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-153
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>            Reporter: Cindy McNally
>
> XmlSchemaAppInfo content not serialized. The following:
> <xs:schema targetNamespace="http://foo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>   <xs:annotation>
>     <xs:appinfo>
>       <ns01:bar xmlns:ns01="http://anyuri"/>
>     </xs:appinfo>
>   </xs:annotation>
> </xs:schema>
> Is serialized as:
> <xs:schema targetNamespace="http://foo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>   <xs:annotation>
>     <xs:appinfo/>
>   </xs:annotation>
> </xs:schema>

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


[jira] Resolved: (WSCOMMONS-153) XmlSchemaSerializer not serializing AppInfo markup

Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ajith Harshana Ranabahu resolved WSCOMMONS-153.
-----------------------------------------------

    Resolution: Fixed

Apologies for closing this issue without a proper test case earlier. Now it is fixed in the trunk and the given schema is added as a test case.

> XmlSchemaSerializer not serializing AppInfo markup
> --------------------------------------------------
>
>                 Key: WSCOMMONS-153
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-153
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>            Reporter: Cindy McNally
>         Attachments: annotationIssues.xsd
>
>
> XmlSchemaAppInfo content not serialized. The following:
> <xs:schema targetNamespace="http://foo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>   <xs:annotation>
>     <xs:appinfo>
>       <ns01:bar xmlns:ns01="http://anyuri"/>
>     </xs:appinfo>
>   </xs:annotation>
> </xs:schema>
> Is serialized as:
> <xs:schema targetNamespace="http://foo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>   <xs:annotation>
>     <xs:appinfo/>
>   </xs:annotation>
> </xs:schema>

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


[jira] Reopened: (WSCOMMONS-153) XmlSchemaSerializer not serializing AppInfo markup

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

Davanum Srinivas reopened WSCOMMONS-153:
----------------------------------------


User comments indicate that this is not fixed yet.

> XmlSchemaSerializer not serializing AppInfo markup
> --------------------------------------------------
>
>                 Key: WSCOMMONS-153
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-153
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>            Reporter: Cindy McNally
>
> XmlSchemaAppInfo content not serialized. The following:
> <xs:schema targetNamespace="http://foo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>   <xs:annotation>
>     <xs:appinfo>
>       <ns01:bar xmlns:ns01="http://anyuri"/>
>     </xs:appinfo>
>   </xs:annotation>
> </xs:schema>
> Is serialized as:
> <xs:schema targetNamespace="http://foo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>   <xs:annotation>
>     <xs:appinfo/>
>   </xs:annotation>
> </xs:schema>

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