title: Configure max attribute size with woodstox
body: <p>The <code>woodstox-core-asl</code> for some bizarre reason seems to have a limit on the maximum size of the attribute values to be 512KB. So the XML parsing fails with the error (524288 below is the 512KB limit):</p>
  
  <pre><code>com.ctc.wstx.exc.WstxParsingException: Maximum attribute size (524288) exceeded
   at [row,col {unknown-source}]: [1,898330]
      at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:606)
      at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:479)
      at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:464)
      at com.ctc.wstx.sr.BasicStreamReader.parseAttrValue(BasicStreamReader.java:1959)
      at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:3063)
  </code></pre>
  
  <p>Is there a way to configure this max attribute size or even completely disable it? (Why the attribute value has to be that large is a different argument, though -- and I have to see what I can do about it.)</p>
  
  <p>I tried to look at the source code, but I only have limited access to it -- can't browse github at work. There aren't any pointers in their docs either. </p>
  
  <p>The version of the library I'm using is <code>4.2.0</code>. Upgrading the version is possible but even with the newer versions, they seem to have this constraint.</p>