refactor code in XSDVAL.java to eliminate copied code for two methods of retrieving content (based on systemId or namespaceURI)