* @param schemaElemement the w3c Element that is the root of an XML schema.
* i.e. this element is the one written like so: "<xs:schema ..> ... </xs:schema>"
*/
public void setSchema(Element schemaElemement) throws YSyntaxException {
XSDPrototypicalSchema proto = XSDPrototypicalSchema.getInstance();
_schema = proto.createSchema(schemaElemement);
if (_schema.getTargetNamespace() != null) {
throw new YSyntaxException("YAWL does not support schemas with target namespaces.");
}
}