cancel
Showing results for 
Search instead for 
Did you mean: 

XMLForm problem with XSL Stylesheet

Former Member
0 Kudos

Hello all,

I've been asked to have a look at a problem that a friend is having with XMLForms. They have recently upgraded to NW04 SP11 (from NW04 SP9) and now they cannot 'Create New' for each of the XML forms that they based on 'SAP Demo News'. They also cannot create new 'SAP Demo News'.

In each of their *Edit.xsl forms there is the line

<xsl:include href="wcm://etc/xmlforms/htmledit/htmledit.xsl" />

When they try to 'Create New' for any of these forms they get the following error

com.sapportals.wcm.WcmException:
Could not load stylesheet.com.sap.engine.lib.xml.util.NestedException:
Could not resolve: 'wcm://etc/xmlforms/htmledit/htmledit.xsl'
base: '/etc/xmlforms/Company_General/Company_GeneralEdit.xsl'
-> javax.xml.transform.TransformerException:
Error downloading from URL: wcm://etc/xmlforms/htmledit/htmledit.xsl,
No user in context

that is just the first line but I believe that it is the important line. The portal seems to be unable to access 'htmledit.xsl' and perhaps because there is no user in context.

Has anyone come across this or know of a solution?

Thanks in advance,

Patrick.

EDIT.

I see that this is directly related to having a HTML Editor on the form. When I remove that component the form works, when I re-add that component it all falls over again.

Any ideas?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Patrick,

we do have the exact same problem.

I opened OSS message and am waiting for answer from SAP.

Greets

Markus

Former Member
0 Kudos

Thanks Markus,

If you can post the reply that you get from SAP it will be greatly appreciated.

Patrick.

Former Member
0 Kudos

Hi Patrick,

I got a response from SAP. The problem was that there were two anonymous users both in ADS and in the DB.

The following procedure fixed it:

The problem is that there are 2 anonymous users both in DB as in ADS.

To solve this, please add the following entries in the ConfigTool, UME

LDAP data, Additional LDAP properties:

ume.ldap.blocked_users(global) = ....,anonymous

ume.ldap.blocked_accounts(global) = ....,anonymous

Restart the engine if already started.

These changes force to use the user “anonymous” from the DB.

Hope this helps for you!

Thanks for rewarding!

Markus