Question3Replies184Views Guhanathan Member since 2010 13 posts Tata Consultancy Services Limited Posted: 4 years agoLast activity: 4 years 1 month ago Closed XML Generation - Node Name for attributesDear All,Please help me on the below.My XSD has the below definition<xs:attribute name="source-system" type="xs:string"/> <xs:complexType name="lookup-type"> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute ref="source-system" use="required"/> <xs:attribute ref="code" use="required"/> <xs:attribute ref="description" use="required"/> </xs:extension> </xs:simpleContent> </xs:complexType>In the generated xml we could see like<business-event ns1:sourceSystem="CUBE" ns1:description="Submission" ns1:code="submission">Submission</business-event>But i am expecting like below<business-event ns1:source-system="CUBE" ns1:description="Submission" ns1:code="submission">Submission</business-event>Could you please tell is is bug in pega? I am using Pega7.1.7The xml is geenrated by connect soap wizard.Thanks,Guhan***Updated by Moderator: Marissa. Removed user added #helpme group tag. Apologies for confusion, shouldn't have been an end-user option*** Data Integration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 4 years agoGangababu PEGA replied to GuhanathanI think it's working as expected. Whenever attribute/element contains - it's deleting the hyphen and creating the property. I tried in 7.1.7 and 7.2.1 versions. It's behaving same. For example: Source-Test when created in PRPC it should be like SourceTest , whereas if you give like Source_Test PRPC creates property with underscore Source_Test. You can verify this behavior by creating a simple property in PRPC with name Source-Test and observe the behavior. Hope this helps! Posted: 4 years agoGuhanathan Tata Consultancy Services Limited replied to GuhanathanDear Gangababu, Thanks for your reply. I am not taking about the property name here. I am talking about the generated xml node. If you see my above example, business-event is proper with hypen but sourceSystem is not. Regards, Guhan Posted: 4 years agoPraneethPurighalla PEGA replied to GuhanathanLooks like a bug to me. Can you check the XML tab of the XML Stream rule? Is it sourceSystem there and not source-system?