diff --git a/plugins/cffadaptor/src/UBCFFAdaptor.cpp b/plugins/cffadaptor/src/UBCFFAdaptor.cpp index 10a8aca5..39652710 100644 --- a/plugins/cffadaptor/src/UBCFFAdaptor.cpp +++ b/plugins/cffadaptor/src/UBCFFAdaptor.cpp @@ -1085,7 +1085,9 @@ bool UBCFFAdaptor::UBToCFFConverter::setContentFromUBZ(const QDomElement &ubzEle if (bRet) { svgElement.setAttribute(aSVGHref, sDstContentFolder+"/"+sDstFileName); - svgElement.setAttribute(aSVGRequiredExtension, svgRequiredExtensionPrefix+convertExtention(fileExtention)); + // NOT by standard! Enable it later! + // validator http://validator.imsglobal.org/iwb/index.jsp?validate=package + //svgElement.setAttribute(aSVGRequiredExtension, svgRequiredExtensionPrefix+convertExtention(fileExtention)); } } else @@ -1112,7 +1114,9 @@ bool UBCFFAdaptor::UBToCFFConverter::setContentFromUBZ(const QDomElement &ubzEle if (bRet) { svgElement.setAttribute(aSVGHref, sDstContentFolder+"/"+sDstFileName); - svgElement.setAttribute(aSVGRequiredExtension, svgRequiredExtensionPrefix+fePng); + // NOT by standard! Enable it later! + // validator http://validator.imsglobal.org/iwb/index.jsp?validate=package + //svgElement.setAttribute(aSVGRequiredExtension, svgRequiredExtensionPrefix+fePng); } } }else diff --git a/plugins/cffadaptor/src/UBCFFConstants.h b/plugins/cffadaptor/src/UBCFFConstants.h index 3243f72f..adeeb507 100644 --- a/plugins/cffadaptor/src/UBCFFConstants.h +++ b/plugins/cffadaptor/src/UBCFFConstants.h @@ -106,7 +106,7 @@ const QString ubNS = "http://uniboard.mnemis.com/document"; const QString svgUBZNS = "http://www.imsglobal.org/xsd/iwb_v1p0"; const QString svgIWBNS = "http://www.w3.org/2000/svg"; const QString xlinkNS = "http://www.w3.org/1999/xlink"; -const QString iwbNS = "http://www.becta.org.uk/iwb"; +const QString iwbNS = "http://www.imsglobal.org/xsd/iwb_v1p0"; const QString xsiNS = "http://www.w3.org/2001/XMLSchema-instance"; const QString xsiShemaLocation = "\ http://www.imsglobal.org/xsd/iwb_v1p0 \