What has to be specified in the schema or DTD that makes clear what is
irrelevant white space?

Thanks,

Rob


-----Original Message-----
From: Joseph Kesselman [mailto:[EMAIL PROTECTED]
Sent: Friday, December 13, 2002 8:44 AM
To: [EMAIL PROTECTED]
Subject: RE: Question on Feature:
http://apache.org/xml/features/dom/include-ignorable-whitespace


>Is there any way to get rid of those irrelevant children?

1) Validate against a DTD or Schema which makes clear that they are
irrelevant.
2) Write code that understands which are irrelevant and removes them.

Those are your only available choices. If you don't provide the
programmatic information that says they're irrelevant, the parser must
assume they could be meaningful.

This is standard XML processing rules.

______________________________________
Joe Kesselman  / IBM Research


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


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

Reply via email to