I am currently modifying a piece of code and I am wondering if the way the XML is formatted (tabs and spacing) will affect the way in which it is parsed into the DocumentBuilderFactory class.

In essence the question is...can I pass a big long string with no spacing into the DocumentBuilderFactory or does it need to be formatted in some way?

Thanks in advance, included below is the Class definition from Oracles website.

Class DocumentBuilderFactory

"Defines a factory API that enables applications to obtain a parser that produces DOM object trees from XML documents. "