-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
Description
Hello. I got "Invalid Character Error" exception when i had tried to make XML document from db data because one of records contained "<" symbol. Then i have been required to check every xml node in my code for special chars and wrap it in CDATA block manually. I think the data should be escaped or CDATA-wrapped automatically by default. Thanks!
\FluidXml\fluidxml()->add('root', '12345')->xml(); // ok
\FluidXml\fluidxml()->add('root', '<12345>')->xml(); // error
andzandz and ascendedcrow