When we want send html page by mail from TOOL-Mail-Html page configuration, it fails on parsing html code.
Parsing exception are depend to SAXBuilder. When we try transfrom html code to Document (xml).
- code - <div class="rack-design" cms:edit> => org.jdom.input.JDOMParseException: Error on line 196: Attribute name "cms:edit" associated with an element type "div" must be followed by the ' = ' character.
- When page contains some special symbol for example "é". This symbol is represented like a "é" and it's lead to org.jdom.input.JDOMParseException: Error on line 9: The entity "eacute" was referenced, but not declared.
- When page contain special symbol "&". It lead to this error org.jdom.input.JDOMParseException: Error on line 186: The entity name must immediately follow the '&' in the entity reference.
- Template /magnolia-module-standard-templating-kit/src/main/resources/templating-kit/components/teasers/newsList.ftl don't has closed <img> tag - it leads to org.jdom.input.JDOMParseException: Error on line 322: The element type "img" must be terminated by the matching end-tag "</img>".
Another exception is attached to images which in name contains blank space, it leads to invalid URI
java.lang.IllegalArgumentException: Invalid uri 'http://localhost:8080/magnoliaPublic/.imaging/stk/pop/content/dms/demo-project/img/bk/Opener/staircase-from-above/document/staircase from above.jpg': escaped absolute path not valid
- is related to
-
MGNLSTK-933 Templates newsList.ftl and calendar.ftl don't have valid html code
- Closed
-
MGNLSTK-935 STK imaging create link with blank spaces for images
- Closed