[TYPO3-core] RFC #13570: Bug: HTML validation error in the BE with the ajax.php inclusion

Oliver Klee typo3-german-02 at oliverklee.de
Thu Feb 18 11:29:12 CET 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=13570

Branches:
trunk

Problem:
<script src="ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.Backend"
type="text/javascript"></script>

The & isn't encoded as &, causing the following validation errors:

line 69 column 47 - Warnung: cannot generate system identifier for
general entity "namespace"
line 69 column 47 - Fehler: general entity "namespace" not defined and
no default entity
line 69 column 56 - Fehler: reference to entity "namespace" for which no
system identifier could be generated
line 69 column 46 - Info: entity was defined here

Solution:
Encode it :-)


Oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: namespace.diff
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100218/8c4ad6c0/attachment.bin>


More information about the TYPO3-team-core mailing list