Skip Menu |

This queue is for tickets about the XML-Generator CPAN distribution.

Report information
The Basics
Id: 5506
Status: resolved
Priority: 0/
Queue: XML-Generator

People
Owner: Nobody in particular
Requestors: per [...] thread-consulting.dk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.96
Fixed in: (no value)



Subject: style sheets in XML::generator
Hi there. As far as I can see, you cannot set a style sheet. These are, as probably known, set as processing instructions, but if you set conformance to strict, and try to set any anything starting with xml, it is rejected - Even if you fiddle with the allowed_xml_tags. The ck_syntax function does nothing with respect to honouring this tag, so I have uncommented the bit that deals with this issue. Have I missed something? BR Per Glentvor
From: "Benjamin Holzman" <bholzman [...] earthlink.net>
To: <bug-XML-Generator [...] rt.cpan.org>
Subject: Re: [cpan #5506] style sheets in XML::generator
Date: Mon, 1 Mar 2004 08:44:54 -0500
RT-Send-Cc:
Per, Are you sure you are using the same version of XML::Generator that you think you are? Using XML::Generator version 0.96, this works for me: use XML::Generator ':strict', allowed_xml_tags => ['xml-stylesheet']; print foo(xmlpi('xml-stylesheet', href => 'mystyle.css', type => 'text/css')); Generates: <foo><?xml-stylesheet href="mystyle.css" type="text/css"?></foo> This is what you want, correct? Ben Show quoted text
----- Original Message ----- From: "Guest via RT" <bug-XML-Generator@rt.cpan.org> To: <AdminCc of cpan Ticket #5506 :> Sent: Monday, March 01, 2004 8:31 AM Subject: [cpan #5506] style sheets in XML::generator
> > This message about XML-Generator was sent to you by guest <> via
rt.cpan.org
> > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=5506 > > > Hi there. As far as I can see, you cannot set a style sheet. These are, as
probably known, set as processing instructions, but if you set conformance to strict, and try to set any anything starting with xml, it is rejected - Even if you fiddle with the allowed_xml_tags. The ck_syntax function does nothing with respect to honouring this tag, so I have uncommented the bit that deals with this issue.
> > Have I missed something? > > BR > > Per Glentvor >