cancel
Showing results for 
Search instead for 
Did you mean: 

why illegally formed XML syntax error is derived

janaka1984
Star Contributor
Star Contributor

Hi ,

I have tried to import  customdoclist.lib.js  on customdoclist.get.js on  repository by using <import resource="classpath:/alfresco/extension/templates/webscripts/com/abc/custom-documentlibrary-repo/customdoclist.lib.js">. but it return following error :

ERROR [extensions.webscripts.AbstractRuntime] [http-bio-8080-exec-9] Exception from executeScript: 11220099 Wrapped Exception

 11220030 Failed to execute script 'classpath*:alfresco/extension/templates/webscripts/com/abc/custom-documentlibrary-repo/vdrd

y formed XML syntax (classpath*:alfresco/extension/templates/webscripts/com/abc/custom-documentlibrary-repo/customdoclist.get.js#8 : illegally formed XML syntax (classpath*:alfre
sco/extension/templates/webscripts/com/abc/custom-documentlibrary-repo/customdoclist.get.js#838)

please give me hint to omit this issue?

Regards

Janaka

2 REPLIES 2

kaynezhang
World-Class Innovator
World-Class Innovator

Please note that import directives must be the first line in the JavaScript file.

thanks kayne zhang for reply,

this was happened from comment (// comment) of import library. although i comment unnecessary imported library on controller, it is able to read at load the project.

after removed from commented line from controller,  it was worked.

Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.