Hi All,


just I easy question for XML developers. We have many configuration XML files for our model tier in struts our apps.

Are the following approaches analogous?

- approach A: <tag A>CDATA[text_that_I_do_not_want_to_parse]</A>

- approach B: <tag A>text_that_I_do_not_want_to_parse</A> validating against a DTD which says that <tag A> is a CDATA and a validating parser.

The question appears because we hace some XML files with text_that_I_do_not_want_to_parse containing [ and ]. This is parsed Ok for xerces 1.4.4 but xerces 4.0.5 (necessary for IBM WAS5) breaks in chunks whenever it finds a [. Method characters restart offset parameter whenever it finds a [. In both cases XML have not DTD.

Has this sense? Feedback would be appreciated.

Regards,

Adolfo.



_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to