cancel
Showing results for 
Search instead for 
Did you mean: 

Need help in changing the Occurences

Bhargavakrishna
Active Contributor
0 Kudos
48

Hi All,

My requirement is to change the occurrence of all the  Header fields.

Can someone help me in changing the occurrence of a fields in XSD.

im not much familiar with XSD. i changed occurrences for few fields, while importing im getting the below error.

PFA XSD and help me with your valuable inputs.

Accepted Solutions (0)

Answers (3)

Answers (3)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

I wasn't able to replicate your issue. I even imported the text file and was able to display it in my ESR. Which PI version are you using? It looks like in your version, it is expecting a UTF-8 Byte Order Mark, which when loading the zip file you sent starts at 0D 0A

. UTF-8 starts with EF BB BF and then 0D 0A follows.

Maybe that is your error?

There is a solution though, open the original file in notepad then click the save as option, set to all files and use encoding UTF-8. It should add the EF BB BF in the xsd file.

Hope this helps,

Mark

former_member184720
Active Contributor
0 Kudos

i think i changed the occurrences for all the fields under header..

can you try the attached xsd

if not provide more info on which fields you are looking at..

Shabarish_Nair
Active Contributor
0 Kudos

FYI - I just tried to import the exact same thing in my server and it saves and activates fine

So i can confirm that there is nothing wrong with your XSD

Bhargavakrishna
Active Contributor
0 Kudos

Hi Shabarish,

I attached the one which we are using previously.

i need to change the occurrences of all the header fields, can you please help me with that.

i changed occurrences of a fields, as per some blogs i changed the encoding to Uni-code, now it is giving below error.

PFA XSD [i changed the Occurrences]

Thanks for the prompt response.

Regards

Bhargava Krishna