The Un-dr. wrote:I wouldn't think a professional developer at Adobe would use them, but what do I know?
I don't know if a professional developer at Adobe use them, but many other professional developers do. Short Tags are very common in MVC-Pattern and CMS-Systems and any other software architecture where the application logic is isolated from the presentation logic, because the presentation logic is much more clearer and readable if you use short_open php tags in markup templates.
The Un-dr. wrote:I really don't know how to use that XML DOCTYPES information and workaround. How would I determine if a XML DOCTYPES are used in a php file or in the templates I referred to above?
Simply search all files for the string "<?xml". But it is very very uncommon, that XML DOCTYPES are used .php files and in the cases where it is used, the developers should take care about that, because most of the webhosts are configured with short_tags = on. If they don't care about that, their scripts wouldn't work properly on this hosts.
For example Joomla CMS is using XML DOCTYPES in Templates, but they use the workaround i posted.
You should care about this workaround if you:
- use XML-DOCTYPES in files parsed by the php-parser
- response php-builded full valid XML files instead of XHTML/HTML (very very uncommon, because Internet Explorer can't handle them. You will know if you do that)
in 99,999% you will not have one of them without your knowledge. And in the 0,001% you will get an invalid XML file error or a php parser error, so you will know.
The Un-dr. wrote:And if I had them, where would I use that workaround code, exactly--in the php file or in xampp's php.ini file?
directly in the sourcecode.
Simply search all .php files for the string
- Code: Select all
- Code: Select all
<?php echo '<?'; ?>xml
Thats it! (10 seconds with a basic text-editor like Notepad++).
But JUST the .php files! If you replace that string in a .xml file, you will get an invalid XML File!