You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Bao Le <ld...@yahoo.com> on 2005/08/22 08:36:15 UTC

toString() problem

    Dear XMLBeans Users.
I created an object by XMLBeans and using toString() for getting it'scontent. The issue is the attribute does not set (nullable attribute) ,the toString() methode return the empty value.

Input:
<?xml version="1.0" encoding="UTF-8"?>
<NON_PERSON_ENTITY_DETAIL xmlns="http://mif.wdc.com/cdr"xmlns:cdr="http://mif.wdc.com/cdr"targetNamespace="http://mif.wdc.com/cdr" 
TaxIdentificationNumberIdentifier="String" 
OrganizationType="0" 
NonPersonEntityID="ID000078" 
SuccessOrClauseTextDescription="String" 
OrganizationTypeOtherDescription="String" 
OrganizedUnderTheLawsOfJurisdictionName="String" 
OrganizationLicensingTypeDescription="String"/>

Output:
<?xml version="1.0" encoding="UTF-8"?>
<NON_PERSON_ENTITY_DETAIL xmlns="http://mif.wdc.com/cdr"xmlns:cdr="http://mif.wdc.com/cdr"targetNamespace="http://mif.wdc.com/cdr" 
TaxIdentificationNumberIdentifier="String" 
OrganizationType="0" 
NonPersonEntityID="ID000078" 
MERSOrganizationIdentifier="" 
SuccessOrClauseTextDescription="String" 
OrganizationTypeOtherDescription="String" 
OrganizedUnderTheLawsOfJurisdictionName="String" 
OrganizationLicensingTypeDescription="String"/>

anyone has experiences on this issue, please help me


Regards, 
-----------------------------------------------------------------------------------

Bao Le
Lecturer

http://leducbao.blogspot.com 

Facultyof Information Technology
Ton Duc Thang Universityof Technology
Mobile:  +(84-95) 888 2585
-----------------------------------------------------------------------------------




Radu Preotiuc-Pietro wrote:  
Hi Dennis,Can you give me a more detailed scenario? You _can_ load an XmlBean andsave it back and the prefixes will be preserved.We had support for canonicalization in our plans, but we had to drop it,mainly because we couldn't get anyone interested enough in the probleminvolved :pThanks,Radu-----Original Message-----From: Dennis Sosnoski [mailto:dms@sosnoski.com] Sent: Monday, August 15, 2005 6:47 PMTo: user@xmlbeans.apache.orgSubject: XML-Signature From a quick look it appears that XMLBeans is incompatible with XML Signature, since it doesn't retain all the information needed for XML Canonicalization (namespace prefixes, in particular). Are there any plans to change this and support XML Signature - or is the documentationout of date and Canonicalization is already supported? Thanks,  - Dennis---------------------------------------------------------------------To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.orgFor additional commands, e-mail:
 user-help@xmlbeans.apache.org---------------------------------------------------------------------To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.orgFor additional commands, e-mail: user-help@xmlbeans.apache.org  

		
---------------------------------
 Start your day with Yahoo! - make it your home page