libxml2 schema validation is broken in iOS 10

Originator:nikolai.ruhe
Number:rdar://27967149 Date Originated:8/23/2016
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 8
Classification:Serious Bug Reproducible:Always
 
Summary:
libxml2's schema validation broke in iOS 10. It did work in any previous iOS version since a couple of years, at least.

An example is: It reports "false" as not conforming to `xs:boolean`, even though this is clearly wrong.

Steps to Reproduce:
Run the attached sample project's unit tests in Xcode 8, in the simulator: A failure will be reported.

When run in Xcode 7 all works as expected.

Expected Results:
A unit test failure.

Actual Results:
No unit test failure.

Version:
Xcode 8 beta 6, iOS 10

Comments

Resolved in iOS 10.3 beta.

By nikolai.ruhe at March 1, 2017, 10:01 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!