Mike Keith wrote:
> These were defined as strings on purpose so that people could do stuff like
> place their values on separate lines. For example, it should be legal to put:
>
> <provider>
> com.acme.RidiculouslyLongPersistenceProviderClassName
> </provider>
>
> Providers should ignore whitespace in this and other elements that allow it.
I haven't looked at the persistence.xml schema but we defined an XML type
for this purpose in the other Java EE schemas. Given the appropriate type,
the XML parser should return a string with the whitespace removed.