* Slaven_Rezic via RT (bug-XML-Compile@rt.cpan.org) [071214 15:50]:
Show quoted text>
> Fri Dec 14 10:49:49 2007: Request 31539 was acted upon.
> Transaction: Ticket created by SREZIC
> Queue: XML-Compile
> Subject: Option to quite the "mistake: unused tags" warnings
> Requestors: SREZIC@cpan.org
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=31539 >
>
> I have currently the situation where only a subset of a large perl hash
> is specified in a XML schema and thus only this subset should be
> converted to XML. Currently there's a warning that some tags are unused.
> It would be nice if this warning could be ceased by an XML::Compile option.
The check is a safe-guard to help users to do "the correct thing"(TM)
Presumably, most people really need that help.
Personally, I have an aversion to the idea that some of the hash data
does need to be transmitted, and part of it does not. This must be
a breach of abstraction. It is easy to fulfil your wish, but the
question is whether it is smart to allow it.
--
Regards,
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark@Overmeer.net solutions@overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net