code: private void initialize(final Reader xmlFileStream) {
  
          // Build a DOM model.
          final Document parsedDocument = XsdGeneratorHelper.parseXmlStream(xmlFileStream);
  
          // Process the DOM model.
          XsdGeneratorHelper.process(parsedDocument.getFirstChild(), true, new NamespaceAttributeNodeProcessor());
      }
docs: Initializes this SimpleNamespaceResolver to collect namespace data from the provided stream.
  
  @param xmlFileStream A Reader connected to the XML file from which we should read namespace data.