cancel
Showing results for 
Search instead for 
Did you mean: 

Limitations on XSD:String datatype

Former Member
0 Kudos

Hi Experts,

I would like to know limitations on XSD:String datatype in PI, What would be max number of characters String datatype can hold if we assign to a element?

I know in Java and C++ where it hold upto 255Chars ?

Thanks!

Regards,

Madhan

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Madhan,

I think there's no particular limitation on the maxLength of XSD:String data type in PI.

I did a test setting maxLength = 65535 and the data type can be activated without a problem.

Also in the W3C document, it does not mention any limitation on the maxLength neither.

Regards,

Daniel

Answers (2)

Answers (2)

naveen_chichili
Active Contributor
0 Kudos

As per my knowledge i dont think we will have a limited string legth in SAP PI.

Thanks,

Naveen

former_member183909
Active Participant
0 Kudos

I'm using SAPPI7.3

I have just discovered that if you are passing a string parameter from an ICO Integrated Configuration to the operation mapping that only 98 characters can be passed - it will truncate the remainder. !

Does anybody know about this bug?.

rcsegovia
Active Participant
0 Kudos

My suggestion is to open a new thread.

regards,

Roberto

ambrish_mishra
Active Contributor
0 Kudos

Hi Madhan,

data type string is specific to XML schema defintion. minLength or maxLength is an attribute which you can define as per your requirement.

please read more...

http://www.w3schools.com/schema/schema_dtypes_string.asp

Ambrish