|
From: <dai...@eu...> - 2001-02-26 08:05:15
|
Thanks for submitting the patch... About public and system that doesn't work: I believe that xml::dom didn't support altering the doctype-nodes, that is why support is still not properly implemented, I guess... Greets, Geert Quoting xml...@li...: > Send Xmlxslt-devel mailing list submissions to > xml...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.sourceforge.net/lists/listinfo/xmlxslt-devel > or, via email, send a message with subject or body 'help' to > xml...@li... > > You can reach the person managing the list at > xml...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Xmlxslt-devel digest..." > > > Today's Topics: > > 1. XML::XSLT omit-xml-declaration and doctype's (Frank Tobin) > > --__--__-- > > Message: 1 > Date: Fri, 23 Feb 2001 07:24:27 -0600 (CST) > From: Frank Tobin <ft...@ui...> > To: <xml...@li...>, <ma...@ev...> > Subject: XML::XSLT omit-xml-declaration and doctype's > > XML::XSLT 0.32 has a bug where it faults if <xsl:output> is used, but the > attribute omit-xml-declaration is not defined. I've traced the bug, and > the patch at the end of this message will fix this problem. > > In another bug I've found, <xsl:output> does not seem to support > doctype-public or doctype-system yet; I see the code for it, but it just > doesn't seem to go through. > > I noticed that the last two versions of XSLT aren't on SourceForge; is > there a reason for this? > > I'll put this patch in the patch submission page for the project, too. > > Index: lib/XML/XSLT.pm > =================================================================== > RCS file: /cvsroot/xmlxslt/XML-XSLT/lib/XML/XSLT.pm,v > retrieving revision 1.4 > diff -u -r1.4 XSLT.pm > --- lib/XML/XSLT.pm 2001/01/23 04:03:02 1.4 > +++ lib/XML/XSLT.pm 2001/02/23 13:23:09 > @@ -555,8 +555,7 @@ > $self->{METHOD} = $method->getNodeValue if defined $method; > > my $omit = $attribs->getNamedItem('omit-xml-declaration'); > - $self->{OMIT_XML_DECL} = defined $omit->getNodeValue ? > - $omit->getNodeValue : 'no'; > + $self->{OMIT_XML_DECL} = $omit ? $omit->getNodeValue : 'no'; > > if ($self->{OMIT_XML_DECL} ne 'yes' && $self->{OMIT_XML_DECL} ne > 'no') { > $self->warn(qq{Wrong value for attribute "omit-xml-declaration" > in\n\t} . > > > -- > Frank Tobin http://www.uiuc.edu/~ftobin/ > > > > > > > > --__--__-- > > _______________________________________________ > Xmlxslt-devel mailing list > Xml...@li... > http://lists.sourceforge.net/lists/listinfo/xmlxslt-devel > > > End of Xmlxslt-devel Digest > > > |