XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] xs:string - Isn't whitespaces preserved by default?

> I have an xs:string type element to hold some regex 
> expressions. I haven't put any restrictions/facets for this 
> xs:string type. Isn't by default, it should preserve 
> whitespace? Looks like the leading and trailing spaces are 
> removed when I generate an XML using XmlBeans apis.

Who is "it"? An XML Schema processor will preserve the whitespace. That
doesn't mean that everyone else will.

Michael Kay
http://www.saxonica.com/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS