XHTML in worksheets
Bug #492432 reported by
Nick Chadwick
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IVLE |
Triaged
|
Medium
|
Unassigned |
Bug Description
Worksheets don't handle full XHTML. E.g. add an HTML character entity like
nbsp to an XML document and minidom produces the error: 'ExpatError:
undefined entity: line 41, column 31'.
2008-02-01 17:32
mattgiuca Says:
'Right. This is because IVLE isn't parsing XHTML - it's parsing XML (which
only has 5 or so character entity references), and dumping the result to
XHTML.
Perhaps we can convince Minidom to be more HTML-like (incorporating
character entity references, etc). XHTML is a fully valid XML schema, so if
we can get a schema-aware XML parser we should be able to feed it the XHTML
schema and it will respect HTML character entities automatically.'
tags: | added: worksheets |
To post a comment you must log in.
Since the XHTML mode is legacy, do we want to do this?