Skip Menu |

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

Report information
The Basics
Id: 89469
Status: resolved
Priority: 0/
Queue: XML-Writer

People
Owner: Nobody in particular
Requestors: shemahmforash [...] gmail.com
Cc:
AdminCc:

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



Subject: Small bug in XML::Writer
Date: Mon, 14 Oct 2013 11:04:34 +0100
To: bug-XML-Writer [...] rt.cpan.org
From: Carlos Rosão <shemahmforash [...] gmail.com>
Good morning. I'm using XML::Writer and I think I've detected a small bug in the method doctype of XML::Writer. When this method receives a publicId as parameter, it is mandatory that it receives also a systemId, although it doesn't allow one to pass an empty string as a systemId. I need to pass an empty string, because I'm creating a xml of the form: https://developers.google.com/search-appliance/documentation/614/feedsguide#webfeedexample I'm guessing the module should support this kind of situation. If the code of the module was in github (or other service like that) I would change the code and sent you a pull request. Best regards, Carlos Rosão
On Mon Oct 14 06:04:47 2013, shemahmforash@gmail.com wrote: Show quoted text
> > If the code of the module was in github (or other service like that) I > would change the code and sent you a pull request.
The code is at https://github.com/josephw/xml-writer-perl . As per http://www.w3.org/TR/REC-xml/#NT-ExternalID, I believe an empty system ID would be syntactically valid and would refer to the document being parsed. Changes with tests are preferred.