code: public void configureForXmlConformance()
      {
          // // StAX 1.0 settings
          doSupportNamespaces(true);
          doSupportDTDs(true);
          doSupportExternalEntities(true);
          doReplaceEntityRefs(true);
  
          // // Stax2 additional settings
  
          // Better enable full xml:id checks:
          doXmlIdTyping(true);
          doXmlIdUniqChecks(true);
  
          // Woodstox-specific ones:
      }
docs: Method to call to make Reader created conform as closely to XML
  standard as possible, doing all checks and transformations mandated
  (linefeed conversions, attr value normalizations).
  See {@link XMLInputFactory2#configureForXmlConformance} for
  required settings for standard StAX/StAX properties.
  <p>
  In addition to the standard settings, following Woodstox-specific
  settings are also done:
  <ul>
  <b>None</b>.
  </ul>
  <p>
  Notes: Does NOT change 'performance' settings (buffer sizes,
  DTD caching, coalescing, interning, accurate location info).