-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
| Previous ID | SR-11192 |
| Radar | None |
| Original Reporter | drewag (JIRA User) |
| Type | Bug |
Attachment: Download
Environment
Ubuntu 18.04.1 LTS
Additional Detail from JIRA
| Votes | 1 |
| Component/s | Foundation |
| Labels | Bug |
| Assignee | None |
| Priority | Medium |
md5: ff9373b93ccc832173ee59bb0c861712
Issue Description:
I'm getting different error results on Linux compared to Apple platforms. Here is a minimal example (file attached):
import Foundation
let data = "<blah //>".data(using: .utf8)!
let parser = XMLParser(data: data)
print(parser.parse())
// Prints 2 on Apple platforms
// Prints 7 on Linux
print("Column: \(parser.columnNumber)")