RE: Whitespace normalization issue

2004-08-09 Thread Bryan Wilcox
Jesse,     I have looked at the DOMPrint example and it appears to work correctly as you described with the example below.  I further looked at the project that we are working on and noticed that we are using DOMBuilder, not XercesDomParser as DOMPrint uses.  A little further investigation lead me

RE: Whitespace normalization issue

2004-08-06 Thread Jesse Pelton
lem that was fixed between 2.3 and 2.5; if you're using a version prior to 2.5, that would tend to support this possibility. -Original Message- From: Matt Dillard [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 2:10 PM To: [EMAIL PROTECTED] Subject: Re: Whitespace norma

Re: Whitespace normalization issue

2004-08-06 Thread Matt Dillard
Jesse, There is actually a code snippet showing how token is defined in section 4.3.6 of the spec (http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#rf-whiteSpace). Token has the "collapse" value set for the whiteSpace facet. I also find that if I have a value declared of type xsd:integer, for

RE: Whitespace normalization issue

2004-08-06 Thread Jesse Pelton
Well, I'm not sure I understand the spec fully on this point, but I think you need to specify a value for the whiteSpace facet (whiteSpace="collapse") in your schema. whiteSpace is among token's constraining facets, but I don't see any indication that its default value is collapse. The Schema spe