[ phpeclipse-Bugs-1685307 ] Code templates xHTML best practice

"SourceForge.net" <[email protected]> Wed, 09 May 2007 19:38:08 -0700
Newsgroups gmane.comp.ide.eclipse.phpeclipse.devel
Message-ID <[email protected]>
Bugs item #1685307, was opened at 2007-03-21 12:38
Message generated for change (Comment added) made by scorphus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1685307&group_id=57621

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Preference Settings
>Group: 1.1.9.CVS-20060920
Status: Open
Resolution: None
Priority: 4
Private: No
Submitted By: MrLiam (mrliam)
Assigned to: Pablo Aguiar (scorphus)
Summary: Code templates xHTML best practice

Initial Comment:
In the code templates for empty HTML elements such as BR and INPUT, there is no space before the slash.

This will pass the W3C's validator, although it is not best practice as it does not conform to the XHTML spec:

http://www.w3.org/TR/2002/REC-xhtml1-20020801/#C_2

----------------------------------------------------------------------

>Comment By: Pablo Aguiar (scorphus)
Date: 2007-05-09 23:38

Message:
Logged In: YES 
user_id=987242
Originator: NO

Definitions for these templates are in the file
net.sourceforge.phpeclipse.ui/templates/default-templates.xml

The attached patch solves this issue.

Regards,
Pablo.
File Added: 1685307_patch.txt

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1685307&group_id=57621

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/