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 6480 - PR publication related editorial changes
Summary: PR publication related editorial changes
Status: RESOLVED FIXED
Alias: None
Product: SML
Classification: Unclassified
Component: Core+Interchange Format (show other bugs)
Version: CR
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Kumar Pandit
QA Contact: SML Working Group discussion list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-28 02:52 UTC by Kumar Pandit
Modified: 2009-04-04 22:39 UTC (History)
1 user (show)

See Also:


Attachments

Description Kumar Pandit 2009-01-28 02:52:56 UTC
Generic bug for making all editorial changes related to publishing the PR draft.
Comment 1 Henry S. Thompson 2009-02-23 17:46:23 UTC
Just to clarify: The PR publication process inevitably involved a number of low-level editorial or even sub-editorial changes.  It follows that http://www.w3.org/TR/2009/PR-sml-20090212/sml.xml and http://www.w3.org/TR/2009/PR-sml-if-20090212/sml-if.xml are out of sync with the editors' CVS working copies.  Diffs need to be done and as many of the changes as possible copied back to the CVS versions.
Comment 2 Kumar Pandit 2009-04-04 22:39:32 UTC
Fixed per the email pasted below. The email can also be found at: http://lists.w3.org/Archives/Public/public-sml/2009Mar/0037.html

Details of the fix:
[1]
-- Updated transformsmlspec.xsl to remove the construct that deleted the xml-stylesheet PI.
-- Updated sml-source.xml and sml-if-source.xml to use the following line:
<?xml-stylesheet type='text/xsl' href='/2002/xmlspec/xhtml/1.13/xmlspec.xsl'?>

[2]
Change needs to be done manually each time we publish.

[3]
No change was required.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kumar Pandit writes:

> Henry, can you please confirm [1]?
> Henry/others can you please suggest an answer to [2]?
>
> [1]
> The PR version adds "<?xml-stylesheet type="text/xsl" href="/2002/xmlspec/xhtml/1.13/xmlspec.xsl"?>" to sml.xml. In the current build, transformxmlspec.xsl explicitly removes any line matching "<?xml-stylesheet" from the generated xml file. We will need to change transformxmlspec.xsl to not remove that line.
>
> Henry, can you please confirm that this is what we should do?

Yes, I think so.  Since we publish the XML, it's good if it can be viewed properly online, using the stylesheet. . .

> [2]
> We need to have the following lines in the generated xml:
>
> <!DOCTYPE spec SYSTEM "xmlspec.dtd"[
> <!ATTLIST spec xmlns:xlink CDATA #IMPLIED> ]>
>
> This line is emitted by the xsl:output element in 
> transformxmlspec.xsl. I am not an xslt expert. Can someone suggest the 
> parameters to pass to xsl:output so that the above line is output?

I'm not sure I understand your publication tool chain.  Are you saying that the XML I was working with was itself generated by a stylesheet
- From some _other_ XML?  There is no way to get XSLT to add declarations to the internal subset, we'll have to continue doing that by hand, as I did.  Not a big deal.

> [3] The PR document removes Henry's name from the list of SML WG 
> members in Acknowledgements. Since Henry is now a member, I believe 
> his name should no longer be removed therefore I did not make this 
> change.

Thanks!

ht
- --