If a DTD is present, its read and the information required to make this
decision is present. It doesn't require validation, just a check to see
what type of content model the element has.
----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]
Norman Walsh <[EMAIL PROTECTED]> on 03/22/2000 07:52:32 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: "Juergen Hermann" <[EMAIL PROTECTED]>, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>
Subject: Re: Strange way to handle white spaces during parsing
/ "Juergen Hermann" <[EMAIL PROTECTED]> was heard to say:
| > Is there a means to disable this, and have an IE-5.0-like
behaviour?
|
| Yes. Write and use a DTD, so the parser knows that A does not contain
mixed
| content. Note that this does not mean that you need to use the validating
| parser.
The Xerces non-validating parser flags ignorable whitespace even when
it's not validating? How does it know? :-)
Be seeing you,
norm
--
Norman Walsh <[EMAIL PROTECTED]> | It is seldom that any liberty is
http://nwalsh.com/ | lost all at once.--David Hume