<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>4962</bug_id>
          
          <creation_ts>2007-08-20 08:14:06 +0000</creation_ts>
          <short_desc>[Ser]: Empty tag representation</short_desc>
          <delta_ts>2007-11-15 17:46:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Serialization 1.0</component>
          <version>Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Scott Boag">scott_boag</assigned_to>
          <cc>devi.webmaster</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16211</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2007-08-20 08:14:06 +0000</bug_when>
    <thetext>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 &lt;tag&gt;&lt;/tag&gt; instead of &lt;tag /&gt;. 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17411</commentid>
    <comment_count>1</comment_count>
    <who name="Henry Zongaro">zongaro</who>
    <bug_when>2007-10-25 17:10:30 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>