Stanimir Stamenkov <[EMAIL PROTECTED]> wrote on 09/28/2006 04:37:26 AM:
> /Decoker, Lydie (Lydie)/: > > > Here is the code I use to parse and validate my XML files: > [...] > > O.k. So we are just talking about whitespace in element content, > unlike you've previously stated: "In fact I was not talking about > the whitespace including in an element content". > > As far as I'm aware the Xerces feature to ignore whitespace in > element content works only when DTD is supplied. Seems the JDK 5 > bundled implementation makes that feature available when using XML > Schema, too. In my opinion the schema spec has nothing in it which supports that interpretation of whitespace in element content. If you're wondering why things are the way they are, there was a fairly long thread [1] on this topic in 2002. > See Prashant's reply on how you could alternatively > achieve that whitespace filtering. > > > -- > Stanimir > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] [1] http://marc.theaimsgroup.com/?t=103973010200002&r=1&w=2 Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
