Diff for /Amaya/amaya/fetchHTMLname.c between versions 1.23 and 1.24

version 1.23, 2000/11/22 13:57:59 version 1.24, 2000/11/22 15:52:59
Line 206  Document            doc; Line 206  Document            doc;
    as well as the corresponding Thot SSchema     as well as the corresponding Thot SSchema
   ----------------------------------------------------------------------*/    ----------------------------------------------------------------------*/
 #ifdef __STDC__  #ifdef __STDC__
 AttributeMapping   *MapAttr (CHAR_T *attrName, SSchema *schema, int elemEntry, Document doc)  AttributeMapping   *MapAttr (CHAR_T *attrName, SSchema *schema,
                                int elemEntry, ThotBool *level, Document doc)
 #else  #else
 AttributeMapping   *MapAttr (attrName, schema, elemEntry, doc)  AttributeMapping   *MapAttr (attrName, schema, elemEntry, level, doc)
 CHAR_T             *attrName;  CHAR_T             *attrName;
 SSchema            *schema;  SSchema            *schema;
 int                 elemEntry;  int                 elemEntry;
   ThotBool           *level
 Document            doc;  Document            doc;
 #endif  #endif
 {  {
Line 222  Document            doc; Line 224  Document            doc;
   *schema = TtaGetDocumentSSchema (doc);    *schema = TtaGetDocumentSSchema (doc);
   LowercaseGI (attrName, attr);    LowercaseGI (attrName, attr);
   LowercaseGI (pHTMLGIMapping[elemEntry].XMLname, elem);    LowercaseGI (pHTMLGIMapping[elemEntry].XMLname, elem);
   i = MapXMLAttribute (XHTML_TYPE, attr, elem, doc, &thotType);    i = MapXMLAttribute (XHTML_TYPE, attr, elem, level, doc, &thotType);
   if (i < 0)    if (i < 0)
     /* not found */      /* not found */
     return (NULL);      return (NULL);
Line 240  Document            doc; Line 242  Document            doc;
 AttributeMapping *MapHTMLAttribute (CHAR_T *attrName,  AttributeMapping *MapHTMLAttribute (CHAR_T *attrName,
                                     AttributeType *attrType,                                      AttributeType *attrType,
                                     CHAR_T *elementName,                                      CHAR_T *elementName,
                                       ThotBool *level,
                                     Document doc)                                      Document doc)
 #else  #else
 AttributeMapping *MapHTMLAttribute (attrName,  AttributeMapping *MapHTMLAttribute (attrName, attrType,
                                     attrType,                                      elementName, level, doc)
                                     elementName,  CHAR_T        *attrName;
                                      doc)  AttributeType *attrType;
 CHAR_T*           attrName;  CHAR_T        *elementName;
 AttributeType*    attrType;  ThotBool      *level
 CHAR_T*           elementName;  Document       doc;
 Document          doc;  
 #endif  #endif
 {  {
   int                 i;    int             i;
   
   attrType->AttrSSchema = GetXHTMLSSchema (doc);    attrType->AttrSSchema = GetXHTMLSSchema (doc);
   i = MapXMLAttribute (XHTML_TYPE, attrName, elementName, doc, &(attrType->AttrTypeNum));    i = MapXMLAttribute (XHTML_TYPE, attrName, elementName,
                          level, doc, &(attrType->AttrTypeNum));
   if (i < 0)    if (i < 0)
     return (NULL);      return (NULL);
   else    else

Removed from v.1.23  
changed lines
  Added in v.1.24


Webmaster