Menu

#520 Non-XML 1.0 compliant Unicode chars in AID load causes parse failure

Defect
closed-fixed
nobody
None
9
2016-05-13
2016-05-09
David Benn
No

Reported by JoDee Baker-Maloney in CHOICE VStar V.

See https://www.aavso.org/ss-cyg-does-not-load-aid

This is post-2.17.0 with AID REST API usage.

Discussion

  • David Benn

    David Benn - 2016-05-09

    Sara Beck is pro-actively handling this for known occurrences of AID observations.

     
  • David Benn

    David Benn - 2016-05-09

    To handle this generically, one approach is to serve up XML 1.1 documents instead of 1.0 since Unicode characters such as this are permitted in 1.1.

    Another approach is to filter the input stream before XML parsing begins. This is what I'm now doing.

     
  • David Benn

    David Benn - 2016-05-09
     
  • David Benn

    David Benn - 2016-05-09

    Added more discerning handling of ordinal char values < 0x20 in:

    https://sourceforge.net/p/vstar/code/1381

     
  • David Benn

    David Benn - 2016-05-13
    • status: open --> closed-fixed
     
  • David Benn

    David Benn - 2016-05-13

    Fixed in 2.17.1

     

Log in to post a comment.