anchor.diff:      initModel2(WsdlFile, Prefix, XsdPath, Import, AddFiles).
   
   priv_dir() -> 
  -    filename:join([filename:dirname(code:which(yaws)),"..", "priv"]).
  +    case code:priv_dir(yaws) of
  +        {error, bad_name} ->
  +           filename:join([filename:dirname(code:which(yaws)),"..", "priv"]);
  +        A ->
  +            A
  +    end.
   
   initModel2(WsdlFile, Prefix, Path, Import, AddFiles) ->
       WsdlName = filename:join([Path, "wsdl.xsd"]),
  
positive.code: -record(yaws_soap_config, {atts, xsd_path,  user_module, wsdl_file, add_files}).
  -record(xsd_file, {atts, name, prefix, import_specs}).
  -record(import_specs, {atts, namespace, prefix, location}).
  %% this comes from erlsom_compile. Maybe better to have an accessor function 
  %% in erlsom_lib?
  -record(schemaType, 
          {elInfo, targetNamespace, elementFormDefault, attributeFormDefault, 
          blockDefault, finalDefault, version, imports, elements}).
  -define(DefaultPrefix, "p").
  
  
  
negative.code: 
  
  -include("../include/soap.hrl").
  
  -define(HTTP_REQ_TIMEOUT, 20000).
  
  