W3C home > Mailing lists > Public > public-sml@w3.org > April 2009

[Bug 6480] PR publication related editorial changes

From: <bugzilla@wiggum.w3.org>
Date: Sat, 04 Apr 2009 22:39:32 +0000
To: public-sml@w3.org
Message-Id: <E1LqEWS-0002aS-AJ@wiggum.w3.org>

Kumar Pandit <kumarp@microsoft.com> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
           Keywords|editorial                   |
         Resolution|                            |FIXED

--- Comment #2 from Kumar Pandit <kumarp@microsoft.com>  2009-04-04 22:39:32 ---
Fixed per the email pasted below. The email can also be found at:

Details of the fix:
-- 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'?>

Change needs to be done manually each time we publish.

No change was required.

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.


- -- 

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Saturday, 4 April 2009 22:39:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:56:15 UTC