Navigation Menu

Skip to content
New issue

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

[SR-11192] XML Parsing Error Inconsistency #3989

Open
swift-ci opened this issue Jul 23, 2019 · 0 comments
Open

[SR-11192] XML Parsing Error Inconsistency #3989

swift-ci opened this issue Jul 23, 2019 · 0 comments

Comments

@swift-ci
Copy link
Contributor

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)")
@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant