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

Error handling #4

Open
Kroc opened this issue Apr 13, 2012 · 0 comments
Open

Error handling #4

Kroc opened this issue Apr 13, 2012 · 0 comments

Comments

@Kroc
Copy link
Owner

Kroc commented Apr 13, 2012

There's no error handling of any kind.

I need to decide carefully what should be a notice / warning / fatal as external use of DOMTemplate in a templating system may purposefully run non-matching XPaths (e.g. translation strings in NoNonsenseForum). In general, non-matching XPaths are a non-issue, invalid XPath strings are fatal and HTML fragments that fail to load / attach should be a warning (since user-provided content may be invalid XML in certain CMSes)

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

1 participant