code4lib / ruby-oai

a Ruby library for building OAI-PMH clients and servers
MIT License
62 stars 43 forks source link

Remove bad whitespace from XML #25

Closed johnf closed 11 years ago

johnf commented 11 years ago

The new lines in the code were causing the actual XML to look like xsi:schemaLocation="http://moowww.openarchives.org/OAI/2.0/
 http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"

Notice the

This was causing us some validation errors.

tjdett commented 11 years ago

There's already a fix for this in #22. Could you confirm if that works for you?

johnf commented 11 years ago

Yup that would be fine, I've also fixed it in one other place in the code base and in some comments though.