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

No parse errors? #17

Open
lordmortis opened this issue Jan 23, 2012 · 2 comments
Open

No parse errors? #17

lordmortis opened this issue Jan 23, 2012 · 2 comments

Comments

@lordmortis
Copy link

I'm parsing a document (https://gist.github.com/1661753) with:
NSError *error; CXMLDocument *document = [[CXMLDocument alloc] initWithData:data options:0 error:&error];
or with:
NSError *error; CXMLDocument *document = [[CXMLDocument alloc] initWithContentsOfURL:[NSURL fileURLWithPath:configPath] encoding:NSUTF8StringEncoding options:0 error:&error];

And in both cases i get the following on the console:
Entity: line 5: parser error : Opening and ending tag mismatch: tab line 3 and app </app> ^ Entity: line 5: parser error : Premature end of data in tag app line 2 </app>

but error is still equal to 0...

@theill
Copy link

theill commented Apr 28, 2012

I see the same issue. Did you find a solution for this?

@lordmortis
Copy link
Author

never found one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants