SPSS Statistics

Expand all | Collapse all

Invalid XML character error message in output

  • 1.  Invalid XML character error message in output

    Posted Thu July 22, 2021 06:59 PM
    Hi all,

    I am attempting to run a one-way ANOVA and two (out of six) of my independent variables are not showing up in the outputs. I am also receiving the error messages in the screenshot below. All data was exported from Qualtrics into SPSS. I have no idea what anything in these error messages means, so I would greatly appreciate any help to understand! 

    Further, how might I resolve this issue?



    Thanks in advance,

    J

    ------------------------------
    Jordan Gorostiza
    ------------------------------


  • 2.  RE: Invalid XML character error message in output

    Posted Thu July 22, 2021 07:16 PM
    There is a lot of information missing here about what you did, and the images are too small to read accurately.  However, the first message refers to the EXAMINE procedure (Analyze > Descriptive Statistics > Explore), not ANOVA.  

    The later messages would not come from either of those procedures, so more information is needed in order to address them.

    --





  • 3.  RE: Invalid XML character error message in output

    Posted Thu July 22, 2021 08:35 PM
      |   view attached
    Jon,

    You are correct, I was running the EXAMINE procedure in order to see if assumptions for an ANOVA were met. The screenshot (attached here in higher quality, hopefully) just captured the error message. The issue I'm having is that I am attempting to understand the differences between 6 independent variables on 1 dependent variable. The EXAMINE procedure ran as expected except for the fact that 2 of my independent variables were left out of the analysis for some reason (you can see in the "Case Processing Summary" there are only 4 cases visible.

    From what I've read online thus far, the two error messages I received regard invalid characters/unicode, and I'm thinking that's why two of the independent variables didn't get run in the analysis. For context, I exported my data from SPSS directly into SPSS, and all my cases (or conditions) showed up as HTML code because the only difference in the cases/conditions in my study were that participants saw a different poster - so, when the data exported it exported my cases as code. 

    All that's to say, I think this is more of a technical issue versus an issue with the analysis itself. Any thought or suggestions? If this is out of your expertise, do you know of anywhere to call to speak to someone for support?

    Thanks a ton,

    J

    ------------------------------
    Jordan Gorostiza
    ------------------------------



  • 4.  RE: Invalid XML character error message in output

    Posted Thu July 22, 2021 09:48 PM
    Can you share the data and the exact specification of what you were running (jkpeck@gmail.com)?

    The only place where EXAMINE would use VizML would be in the boxplot.  And how did you get the data from Qualtrics?  Did you have it generate a sav file that you then read?  Third party sav files are sometimes not encoded correctly or have the encoding declarations wrong.

    The EXAMINE procedure only uses the first 8 bytes of a string.  It should truncate on character boundaries, but the Statistics backend uses a variable-width encoding (UTF-8) for text, so if it was off by one byte, that could produce the bad character message.  It shouldn't do that, but I would like to check that.