Malformed XML reported for prefixed elements (#90)
Andrzej Wójcik (Tigase) opened 5 months ago

When XML parser encounters prefixed XML element without defined namespace (ie. <xx:test />) it throws Malformed XML error instead of processing valid XML element.

Referenced from commit 5 months ago
Andrzej Wójcik (Tigase) changed state to 'In Progress' 5 months ago
Previous Value Current Value
Open
In Progress
Andrzej Wójcik (Tigase) changed state to 'In QA' 5 months ago
Previous Value Current Value
In Progress
In QA
Andrzej Wójcik (Tigase) commented 5 months ago

I've modified processing in endElement() method to match code from Tigase XMLTools project and that resolved this issue.

Andrzej Wójcik (Tigase) commented 5 months ago

@bmalkow In this commit, I've annotated a place that should be reviewed, RequestsManager.kt and timeoutAll() method. Following line if (!it.value.isCompleted) { causes a crash on iOS when it is run due to XML parsing error. I'm not sure if that was expected or if there is a race condition. Do you think this variable can be modified from more that one thread?

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Version
none
Sprints
n/a
Customer
n/a
Issue Votes (0)
Watchers (4)
Reference
tigase/_libraries/halcyon#90
Please wait...
Page is in error, reload to recover