3 Replies Latest reply on Feb 17, 2020 8:03 AM by Nico Heinze

    Message Code: HIER_28056  XML Reader: Error [ExpectedCommentOrPI]

    YOUNES00u1epo9m25mGAKp81d8 New Member

      Hi i haved this error,

      Message Code: HIER_28056  XML Reader: Error [ExpectedCommentOrPI] occurred while parsing:[FATAL: Error at (file EMPTY, line 73, char 1 ): Expected comment or processing instruction.]; line number [61]; column number [1].

       

      this error concerns the xml output file :

       

      Xml-Parser can't reads the second group

        • 1. Re: Message Code: HIER_28056  XML Reader: Error [ExpectedCommentOrPI]
          YOUNES00u1epo9m25mGAKp81d8 New Member

          in the 10 of source xml file, i have this strucure :

          <Claimstd1>    (Repeating group <CLAIM_STUDY>  in Tools)

                    ---

                   ( data for  <CLAIM_STUDY>)

                    ----

                                                       

               <Benef_A> -(data for <SIN_PEC_R> -</Benef_A>                         (Repeating group  <Benef> in Tools)

               <Benef_B> -(data for <SIN_PEC_R>- </Benef_B>

          </Claimstd1>                                                 

          <Claimstd2>          ----------                                             

               <Benef_C> --------</Benef_C>                        

               <Benef_D> -------- </Benef_D>

          </Claimstd2>

           

          The output file in Tools is :

          <TABLES_WRE>

               <CLAIM_STUDY>

                    -----------

               </CLAIM_STUDY>

           

               <SIN_PEC_R>

                    --------

               </SIN_PEC_R>

           

               <SIN_PEC_R>

                    --------

               </SIN_PEC_R>

          <TABLES_WRE>

          <TABLES_WRE>   (line 73)

               <CLAIM_STUDY>

                    -----------

               </CLAIM_STUDY>

           

               <SIN_PEC_R>

                    --------

               </SIN_PEC_R>

           

               <SIN_PEC_R>

                    --------

               </SIN_PEC_R>

          <TABLES_WRE>

          • 2. Re: Message Code: HIER_28056  XML Reader: Error [ExpectedCommentOrPI]
            YOUNES00u1epo9m25mGAKp81d8 New Member

            the problem was solved by removing the xml-parser and going directly through the UDT.I created my groups in the UDT. I then exempted the xsd from the UDT and worked with this xsd in tools, then exported the service and run and it works.

            • 3. Re: Message Code: HIER_28056  XML Reader: Error [ExpectedCommentOrPI]
              Nico Heinze Guru

              The next time you face something like that, please give us complete details about what you're doing. The fact that you are using a DT parser is a vital piece of information. Not mentioning this right from the start caused us extra work and led us astray in finding a solution. You were wasting our time and efforts this way.

              In future please mention such things, or in other words: describe your case COMPLETELY.

               

              Regards,

              Nico