This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 3441 - [Serialization]: in which phase do indentation and meta-tags happen?
Summary: [Serialization]: in which phase do indentation and meta-tags happen?
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Serialization 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Scott Boag
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-10 14:17 UTC by Michael Kay
Modified: 2007-02-25 23:45 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2006-07-10 14:17:33 UTC
In section 4, phases of serialization, we don't specifically say where in the sequence of events

(a) indentation, and

(b) addition of meta tags

occur.

This means it's not well-defined whether character maps apply to text nodes and attribute nodes created by these two processes.

My preference is that character maps should not apply to these nodes (the other operations in phase 2, character expansion, are unlikely to affect them anyway). This seems to suggest that indentation and addition of meta tags happen between phases 2 and 3 in the sequence.
Comment 1 Scott Boag 2006-08-25 15:12:00 UTC
The XSLT GW discussed and feels the meta tag should be regarded as
'item 0' in the serialization, not late, because you want
them to be treated the same as any elements and attributes.  Create those nodes, then go through steps 1-3.

The XSLT WG recommends to the joint group that insertion of meta elements
etc. goes before current step 1, and indentation between steps 2 and
3.
Comment 2 Joanne Tong 2006-09-12 15:29:14 UTC
The Joint WG accepted the suggestion in comment #1 in the F2F meeting held on Aug. 25, 2006.

Thank-you for raising this comment.

Joanne Tong
Comment 3 Jim Melton 2007-02-25 23:45:04 UTC
Closing bug because commenter has not objected to the resolution posted and more than two weeks have passed.