Skip to content

version 2.9.0.21 hangs when it cannot load schema #517

Closed

Description

@Julie161

Version 2.9.0.21 hangs when it tries to open XMLs posted here: [https://dailymed.nlm.nih.gov/dailymed/spl-resources.cfm]. Your older version 2.5.x can open them.

Activity

  1. lovettchris commented on Jul 28, 2026

    @lovettchris
    Collaborator

    I just tried version 2.9.0.22 and it loads fine, using the ClickOnce installer. Which installer are you using?

    Image

    You can also test if something else is going on by trying this:

    1. Open the Windows Terminal app :
    Image
    1. type curl -O https://dailymed.nlm.nih.gov/dailymed/spl-resources.cfm and ENTER

    Check download works and you have a local file named "spl-resource.cfm". If this works try and open it in XML Notepad.

  2. Julie161 commented on Jul 29, 2026

    @Julie161
    Author

    I used the Standalone installer. The file you are displaying is not from the source I referenced.

  3. lovettchris commented on Jul 29, 2026

    @lovettchris
    Collaborator
  4. Julie161 commented on Jul 30, 2026

    @Julie161
    Author

    This is a general URL under which there are thousands of archived XMLs. I don't think any of them can be opened with the latest versions of your editor. I think you should provide an option to disable schema validation. Thank you.

  5. Julie161 commented on Jul 30, 2026

    @Julie161
    Author

    It seems XML notepad cannot handle relative path in xsd.

  6. lovettchris commented on Jul 30, 2026

    @lovettchris
    Collaborator

    Got it, so I downloaded an unzipped the file https://dailymed-data.nlm.nih.gov/public-release-files/dm_spl_monthly_update_jun2026.zip then I found and unzipped otc\20260630_2d63671d-cf7c-bbdd-e063-6294a90affef and loaded 28e68866-abb6-4870-96ad-9b062ce40f8a.xml for Pain Relief PM and it contains an absolute schema schemaLocation attribute pointing to https://www.accessdata.fda.gov/spl/schema/spl.xsd which is fully resolvable location. I tried to load this into XML notepad and it crashed! So this definitely reproduced some bug, thanks, investigating now.

  7. lovettchris commented on Nov 18, 2026

    @lovettchris
    Collaborator

    This found an interesting performance bug where it had to load 42 schemas with lots of recursively nested schemas and hit a stack overflow. This is now fixed in version 2.9.0.23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions