Return-Path: Delivered-To: apmail-geronimo-xbean-dev-archive@minotaur.apache.org Received: (qmail 90372 invoked from network); 13 Apr 2010 17:59:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Apr 2010 17:59:27 -0000 Received: (qmail 2234 invoked by uid 500); 13 Apr 2010 17:59:27 -0000 Delivered-To: apmail-geronimo-xbean-dev-archive@geronimo.apache.org Received: (qmail 2192 invoked by uid 500); 13 Apr 2010 17:59:27 -0000 Mailing-List: contact xbean-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: xbean-dev@geronimo.apache.org Delivered-To: mailing list xbean-dev@geronimo.apache.org Received: (qmail 2184 invoked by uid 99); 13 Apr 2010 17:59:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 17:59:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 17:59:25 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3DHx3oH025691 for ; Tue, 13 Apr 2010 13:59:03 -0400 (EDT) Message-ID: <16508383.54831271181543519.JavaMail.jira@thor> Date: Tue, 13 Apr 2010 13:59:03 -0400 (EDT) From: "Esther Jesurum (JIRA)" To: xbean-dev@geronimo.apache.org Subject: [jira] Updated: (XBEAN-147) Invalid synthesized namespace prefix for ACORD xsd In-Reply-To: <15142020.53961271181187687.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on 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