You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Esther Jesurum (JIRA)" <xm...@xml.apache.org> on 2010/04/15 02:37:53 UTC

[jira] Created: (XMLBEANS-436) Invalid synthesized namespace prefix for ACORD xsd

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

                 Key: XMLBEANS-436
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-436
             Project: XMLBeans
          Issue Type: Bug
          Components: XmlObject
    Affects Versions: Version 2
         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

        

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


[jira] Updated: (XMLBEANS-436) Invalid synthesized namespace prefix for ACORD xsd

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

Esther Jesurum updated XMLBEANS-436:
------------------------------------

    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: XMLBEANS-436
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-436
>             Project: XMLBeans
>          Issue Type: Bug
>          Components: XmlObject
>    Affects Versions: Version 2
>         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

        

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