public void loadConstraints(String name, InputStream stream) throws IOException,
			XmlParseException {

		XmlPullParser parser;
		try {
			parser = new NonThreadedXmlPullParserImpl(stream, name, new XMLErrorHandler(), false);
		}
		catch (SAXException e) {
			throw new XmlParseException("Sax Exception", e);
		}
		parser.next();  // skip root element start
		processSubContraintsAndProperties(root, parser);

	}
Loads the tree from an xml data contained within an input stream. Note: this method can be
called multiple times, with each call appending to the existing tree.
@param name the name of the input source so that decisions can be traced back to 
the appropriate xml constraints source.
@param stream the InputStream from which to read an xml constraints specification.
@throws IOException if an I/O problem occurs reading from the stream.
@throws XmlParseException if the XML is not property formatted or a tag that is not
a constraint name or property name is encountered.
Ghidra/Framework/Generic/src/main/java/generic/constraint/DecisionTree.java