You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-dev@geronimo.apache.org by "Esther Jesurum (JIRA)" <ji...@apache.org> on 2010/04/13 19:53:07 UTC

[jira] Created: (XBEAN-147) Invalid synthesized namespace prefix for ACORD xsd

Invalid synthesized namespace prefix for ACORD xsd
--------------------------------------------------

                 Key: XBEAN-147
                 URL: https://issues.apache.org/jira/browse/XBEAN-147
             Project: XBean
          Issue Type: Bug
    Affects Versions: 2.0
         Environment: Windows XP
            Reporter: Esther Jesurum


I have an issue where the synthesized namespace prefix results in invalid XML.  In the XSD, the target namespace is: http://www.ACORD.org/standards/PC_Surety/ACORD1.0.0/xml/ (I got this from ACORD) and in the saved XML, if I don't explicitly set suggested prefixes on the XmlOptions, I am getting "x/" as the namespace prefix (that trailing '/' makes the XML invalid).



-- 
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

        

[jira] Closed: (XBEAN-147) Invalid synthesized namespace prefix for ACORD xsd

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

David Jencks closed XBEAN-147.
------------------------------

    Resolution: Invalid

I think you want the XMLBEANS project, the xml to object mapping, rather than XBEAN, reusable server components

> Invalid synthesized namespace prefix for ACORD xsd
> --------------------------------------------------
>
>                 Key: XBEAN-147
>                 URL: https://issues.apache.org/jira/browse/XBEAN-147
>             Project: XBean
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: Windows XP
>            Reporter: Esther Jesurum
>         Attachments: AMI_1_0_0_ACORD_1_0_Simplified.xsd
>
>
> I have an issue where the synthesized namespace prefix results in invalid XML.  In the XSD, the target namespace is: http://www.ACORD.org/standards/PC_Surety/ACORD1.0.0/xml/ (I got this from ACORD) and in the saved XML, if I don't explicitly set suggested prefixes on the XmlOptions, I am getting "x/" as the namespace prefix (that trailing '/' makes the XML invalid).

-- 
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

        

[jira] Updated: (XBEAN-147) Invalid synthesized namespace prefix for ACORD xsd

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

Esther Jesurum updated XBEAN-147:
---------------------------------

    Attachment: AMI_1_0_0_ACORD_1_0_Simplified.xsd

To reproduce, generate for the attached schema using defaults.  Create an instance of ACORD and get the text.  Can also see the bad behavior by creating sample XML using SampleXMLUtil.createSampleForType.

> Invalid synthesized namespace prefix for ACORD xsd
> --------------------------------------------------
>
>                 Key: XBEAN-147
>                 URL: https://issues.apache.org/jira/browse/XBEAN-147
>             Project: XBean
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: Windows XP
>            Reporter: Esther Jesurum
>         Attachments: AMI_1_0_0_ACORD_1_0_Simplified.xsd
>
>
> I have an issue where the synthesized namespace prefix results in invalid XML.  In the XSD, the target namespace is: http://www.ACORD.org/standards/PC_Surety/ACORD1.0.0/xml/ (I got this from ACORD) and in the saved XML, if I don't explicitly set suggested prefixes on the XmlOptions, I am getting "x/" as the namespace prefix (that trailing '/' makes the XML invalid).

-- 
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