We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swift 5.4 on macOS 11.3 on Apple Silicon
md5: 27cd04167811fd6566b06413b359b4ac
Issue Description:
Using XMLParserDelegate, if you want external parsed entities not to be resolved but would like their definitions to be reported, you have to set:
xmlParser.shouldResolveExternalEntities = true
xmlParser.externalEntityResolvingPolicy = XMLParser.ExternalEntityResolvingPolicy.never
See the small Github repository https://github.com/stefanspringer1/SwiftXMLParserExamples for reference.
Somehow this combination looks like a contradiction.
Possible solution:
Always report the definition of external parsed entities.
Related issues:
https://bugs.swift.org/browse/SR-14582
https://bugs.swift.org/browse/SR-14583
https://bugs.swift.org/browse/SR-14584
https://bugs.swift.org/browse/SR-2301
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
No branches or pull requests
Environment
Swift 5.4 on macOS 11.3 on Apple Silicon
Additional Detail from JIRA
md5: 27cd04167811fd6566b06413b359b4ac
Issue Description:
Using XMLParserDelegate, if you want external parsed entities not to be resolved but would like their definitions to be reported, you have to set:
xmlParser.shouldResolveExternalEntities = true
xmlParser.externalEntityResolvingPolicy = XMLParser.ExternalEntityResolvingPolicy.never
See the small Github repository https://github.com/stefanspringer1/SwiftXMLParserExamples for reference.
Somehow this combination looks like a contradiction.
Possible solution:
Always report the definition of external parsed entities.
Related issues:
https://bugs.swift.org/browse/SR-14582
https://bugs.swift.org/browse/SR-14583
https://bugs.swift.org/browse/SR-14584
https://bugs.swift.org/browse/SR-2301
The text was updated successfully, but these errors were encountered: