Skip to content

If we are loading a zip file containing catalogs check for concurrent… - #181

Closed
JFK-DXML wants to merge 1 commit into
xmlresolver:mainfrom
JFK-DXML:main
Closed

JFK-DXML wants to merge 1 commit into
xmlresolver:mainfrom
JFK-DXML:main

Conversation

@JFK-DXML

@JFK-DXML JFK-DXML commented Jun 10, 2024 •

Copy link
Copy Markdown

… modification

Generally when concurrent threads are accessing an XmlLoader editing the catalogMap needs to be protected inside a synchronized block. If one thread is paused waiting for access then when it gets it there is always a possibility that the catalogMap has been updated and we don't want to update it again. The ConcurrencyTests were failing with "The markup declarations contained or pointed to by the document type declaration must be well-formed."

… modification

Generally when concurrent threads are accessing an XmlLoader editing the catalogMap needs to be protected inside a synchronized block. If one thread is paused waiting for access then when it gets it there is always a possibility that the catalogMap has been updated and we don't want to update it again.
The ConcurrencyTests were failing with "The markup declarations contained or pointed to by the document type declaration must be well-formed."
@ndw

ndw commented Aug 5, 2024

Copy link
Copy Markdown
Collaborator

Closed by #191

@ndw ndw closed this Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants