Diff for /Amaya/amaya/fetchXMLname.c between versions 1.94 and 1.95

version 1.94, 2008/03/28 18:28:28 version 1.95, 2008/04/15 14:15:30
Line 145  SSchema GetGenericXMLSSchema (char *sche Line 145  SSchema GetGenericXMLSSchema (char *sche
   Returns the XML Thot schema for the document doc.    Returns the XML Thot schema for the document doc.
   ----------------------------------------------------------------------*/    ----------------------------------------------------------------------*/
 SSchema GetGenericXMLSSchemaByUri (char *uriName, Document doc, ThotBool *isnew)  SSchema GetGenericXMLSSchemaByUri (char *uriName, Document doc, ThotBool *isnew)
   
 {  {
   SSchema       XMLSSchema;    SSchema       XMLSSchema;
   
   if (uriName == NULL)    if (uriName == NULL)
     XMLSSchema = NULL;      XMLSSchema = TtaGetSSchemaByUri ("Default_Uri", doc);
   else    else
     XMLSSchema = TtaGetSSchemaByUri (uriName, doc);      XMLSSchema = TtaGetSSchemaByUri (uriName, doc);
   
   if (XMLSSchema == NULL)    if (XMLSSchema == NULL)
     {      {
       XMLSSchema = TtaNewNature(doc, TtaGetDocumentSSchema(doc), uriName,        XMLSSchema = TtaNewNature(doc, TtaGetDocumentSSchema(doc), uriName,
Line 168  SSchema GetGenericXMLSSchemaByUri (char Line 166  SSchema GetGenericXMLSSchemaByUri (char
   GetXMLSSchema returns the XML Thot schema for document doc.    GetXMLSSchema returns the XML Thot schema for document doc.
   ----------------------------------------------------------------------*/    ----------------------------------------------------------------------*/
 SSchema GetXMLSSchema (int XMLtype, Document doc)  SSchema GetXMLSSchema (int XMLtype, Document doc)
   
 {  {
   if (XMLtype == XHTML_TYPE)    if (XMLtype == XHTML_TYPE)
     return GetXHTMLSSchema (doc);      return GetXHTMLSSchema (doc);

Removed from v.1.94  
changed lines
  Added in v.1.95


Webmaster