i'm using the XML::SAX::PurePerl-parser because i'm not able to use anything other than pure perl.
Is there a way to send unkown entities to an default handler like it is possible with XML::Parser? I need to do some more complicated tasks with those entities than replacing it with text.
Right now i'm also stuck at a weird problem: My XML file contains <tag><SOMETHING></tag> this seems to be resolved to <tag><SOMETHING></tag> and leads to an 'Invalid element name'-error. I can't believe this is the proper behavior - any suggestions?
Feel free to ask if i should point something out in more detail.
Thank you
VR
UPDATE: I accidentally added < and > to the dtd-entities. This caused the 'Invalid element name'-error.
I think it could work, but it's rather inconvenient to generate <!ENTITY entname "replacement"> for each of my custom-entities
In reply to XML::SAX::PurePerl, handle entities by VirtualRider
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |