G'day,
A bit of a mystery bug here. I have a few xsl components being rendered by external stylesheets, some of which use xslt functions from the fn namespace.
(fn:exists, fn:normalize-space)
All of these were working until yesterday. I went to preview the component in sitepub, and got the following error:
Component preview failed. Could not load component XSL into XMLDOM. com.interwoven.livesite.common.xml.ValidationError mColumn[58] mLine[18] mSystemID[null] mPublicID[null] mType[FATAL] mMessage[Prefix must resolve to a namespace: fn] |
I don't have the namespace declared in my style sheet, only the default xsl is declared. But this is documented as being valid, if the namespace name matches the prefix, you don't have to explicitly declare the namespace in ur stylesheet.
To get rid of this error in sitepub, I have to explicitly define the fn namespace... however, this was working for weeks before, until yesterday.
Adding the namespace also has caused problems on the runtime server, and am now getting this error in my runtime:
SystemId Unknown; Line #119; Column #67; java.lang.NoSuchMethodException: For extension function, could not find method org.apache.xml.utils.NodeVector.normalizeSpace([ExpressionContext,] ). |
I know developers were doing alot of rebuilds yesterday of content center, not sure if libs got messed up or not...
Any ideas?