A
Avi U
I'm creating a DOM document and I'm looking for a way to get an
exception when I use ileagal characters.
The method DOMElement->createElement() throw exception when I have an
ileagal unicode character: 0x01 (which is good), but when I create a
text node by calling:
DOMText->createTextNode() I don't get an exception (which is bad).
What is the best way to make sure that when creating the document only
valid characters are used?
Thanks,
Avi
exception when I use ileagal characters.
The method DOMElement->createElement() throw exception when I have an
ileagal unicode character: 0x01 (which is good), but when I create a
text node by calling:
DOMText->createTextNode() I don't get an exception (which is bad).
What is the best way to make sure that when creating the document only
valid characters are used?
Thanks,
Avi