This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Transferred from email sent by devi.webmaster@gmail.com to public-qt-commments on 9 Aug 2007. I have found in my work that it is sometimes helpful to produce XML output that is not always parsed by a real XML parser. Specifically, it would be helpful if I could have an XSLT processing instruction which would represent empty tags as <tag></tag> instead of <tag />. I do not believe such an instruction currently exists in any XSLT specifications and thought you might consider it for future versions. ------------------------------------------- Daniel Brumbaugh Keeney Devi Web Development Devi.WebMaster@gMail.com
Thank you for your suggestion. The XSL Working Group discussed your suggestion at its 25 October 2007 teleconference and noted that the description of the xml output method in the Serialization Recommendation permits a conforming serializer to represent empty tags in either of the ways you mention. As such, a conforming serializer can already provide an implementation-specific option to the user to select which style of empty tag is desired. For this reason, the working group has decided not to add such a feature or option as a requirement for a future revision of either the XSLT or Serialization recommendations.