<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello<br>
    <br>
    I created a directory for schemas with an index file.  The contents
    of this directory is:<br>
    <br>
    <blockquote><i>tony@blessing:~/workspace/myXformProject$ ls schemas</i><br>
      <i>SchemaList.txt   XForms-Schema.xsd  xhtml-lat1.ent    
        xml-events.xsd</i><br>
      <i>SchemaList.txt~  xhtml1-strict.dtd  xhtml-special.ent</i><br>
    </blockquote>
    <br>
    These schema's have been downloaded from w3c.  However these schemas
    would not compile yielding the error wfc_PEs_In_Internal_Subset. I
    would have expected these well established w3c schemas to compile
    with xmerl.<br>
    <br>
    6> B.<br>
    [{<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/1999/xhtml">"http://www.w3.org/1999/xhtml"</a>,<br>
      "schemas/xhtml1-strict.dtd"},<br>
     {<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/xml-events">"http://www.w3.org/2001/xml-events"</a>,<br>
      "schemas/xml-events.xsd"},<br>
     {<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2002/xforms">"http://www.w3.org/2002/xforms"</a>,<br>
      "schemas/XForms-Schema.xsd"}]<br>
    <br>
    9> {ok,S1} = xmerl_xsd:process_schemas(B).          <br>
    3450- fatal: {error,{wfc_PEs_In_Internal_Subset}}<br>
    ** exception exit: {fatal,{{error,{wfc_PEs_In_Internal_Subset}},<br>
                               {file,"schemas/xhtml1-strict.dtd"},<br>
                               {line,628},<br>
                               {col,89}}}<br>
         in function  xmerl_scan:fatal/2<br>
         in call from xmerl_scan:scan_entity/2<br>
         in call from xmerl_scan:scan_markup_decl/2<br>
         in call from xmerl_scan:scan_ext_subset/2<br>
         in call from xmerl_scan:scan_document/2<br>
         in call from xmerl_scan:file/2<br>
         in call from xmerl_xsd:process_schemas/2<br>
    <br>
    The version information from xmerl_scan is:<br>
    <br>
    <blockquote>-module(xmerl_scan).<br>
      -vsn('0.20').<br>
      -date('03-09-16').<br>
    </blockquote>
    <br>
    The 3450 refers to the code line in xmerl_scan:<br>
    <br>
    <blockquote>scan_entity_value("%" ++
      _T,S=#xmerl_scanner{environment=prolog},_,_,_,_,_) -><br>
          ?fatal({error,{wfc_PEs_In_Internal_Subset}},S);<br>
    </blockquote>
    <br>
    Whereas line 628 refers to the dtd, the line starting <!ATTLIST
    param.  Given that<br>
    the column given is 89 and the line is only 19 wide, I suspect the
    error belongs to<br>
    another line.<br>
    <br>
       620    <br>
       621    <!--<br>
       622      param is used to supply a named property value.<br>
       623      In XML it would seem natural to follow RDF and support
    an<br>
       624      abbreviated syntax where the param elements are replaced<br>
       625      by attribute value pairs on the object start tag.<br>
       626    --><br>
       627    <!ELEMENT param EMPTY><br>
       628    <!ATTLIST param<br>
       629      id          ID             #IMPLIED<br>
       630      name        CDATA          #IMPLIED<br>
       631      value       CDATA          #IMPLIED<br>
       632      valuetype   (data|ref|object) "data"<br>
       633      type        %ContentType;  #IMPLIED<br>
       634      ><br>
       635    <br>
    <br>
    <br>
  </body>
</html>