Hello all,
I am currently trying to develop a sass compiler that will compile the sass
files natively in Sling instead of using CSS files. The issue that I am facing
at this moment though is that when I try to upload the sass files I get
following exception:
*ERROR* [qtp2101349382-74]
org.apache.jackrabbit.vault.packaging.impl.ZipVaultPackage Error during install.
javax.jcr.RepositoryException: OakName0001: Invalid namespace prefix([, nt,
xmpRights, pdf, stFNT, album, xs, crxde, social, prismusagerights, rdf, sv,
xmpBJ, idPriv, fn, prism, tiff, exif, dc, plus, oauth, acdsee, xmp, xml, MP,
cq, sling, scg, pdfx, dam, cc, lr, s7sitecatalyst, dex, xmpPLUS, xmpNote, jcr,
slingevent, DICOM, mediapro, oak, stEvt, stMfs, stRef, MicrosoftPhoto,
photoshop, xmpDM, granite, crs, s7userdata, adobe_dam, xmpTPg, xmpGImg, xmpG,
fn_old, crx, mix, viewerpreset, psAux, vlt, xmpMM, slice, Iptc4xmpExt,
Iptc4xmpCore, rep, prl]): colors
at
org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:249)
at
org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:212)
This is because all the sass partial files are being prefixed with an
underscore, this is how sass works by default, partials are snippets that will
be imported in the main css file and should be prefixed with an underscore. The
file it is complaining about now is called _colors.sass. Is there any way
around this, that it doesn’t look at these files like if it they have a
namespace?
Thanks,
Roy