-
Notifications
You must be signed in to change notification settings - Fork 359
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
nbsp and other HTML entities cause the parser to stop rendering with an INFO only #71
Comments
Currently HTML entities are not supported by default. Only XML entities. Agreed, this needs to be fixed so please leave issue open. In the mean time, you could use numeric character entities. Or you could try the jsoup parser. |
@Jo3McCarthy <!DOCTYPE definition [
<!ENTITY reg "®">
<!ENTITY diams "♦">
]>
<definition name="dashboard" extends="base.definition">
<put-attribute name="title" value="Dashboard - CMS ♦ ® Galactic NetOne" />
<put-attribute name="body" value="/WEB-INF/views/dashboard.jsp" />
</definition> Inspired by: http://stackoverflow.com/questions/15858914/entity-was-referenced-but-not-declared |
Apparently, replacing by "nbsp" by "#160" doesn't help or adding nbsp entity doesn't help |
See documentation on doctype here: This documentation needs to be moved to the wiki. |
Thanks for the quick response. |
Finally added section in integration guide on character entities. |
Hi, All;
Running the minimal use example against some markup will not complete successfully. The parser will occasionally notify, but invariably fail on HTML entities.
One example:
...
Causes this:
And, although it is only an INFO the parsing stops and no further content is rendered. Has anyone encountered and/or fixed this?
Thanks,
Jo3
The text was updated successfully, but these errors were encountered: