Adding to MMDocumentTypeDeclarations.xml in an extension

I'm trying to do something that I think should be quite simple but isn't working out for me.
I want to add a few more document type definitions to the MMDocumentTypeDeclarations.xml but via an MXP file so it can be easily done without editing Dreamweaver files when I move on to my next job or they hire more developers.
The format of the file is
<?xml version="1.0" encoding="utf-8"?>
<documenttypedeclarations xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
<documenttypedeclaration id="mm_xhtml_11">
<title>
<MMString:loadString id="mmdocumenttypedeclarations/mm_xhtml_11" />
</title>
<doctypedecl>
<![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">]]>
</doctypedecl>
<rootelement>
<![CDATA[<html xmlns="http://www.w3.org/1999/xhtml"></html>]]>
</rootelement>
<dtdcontext>html</dtdcontext>
<dtdcontext>xhtml</dtdcontext>
<dtdcontext>frameset_frame</dtdcontext>
<dtdcontext>xslt</dtdcontext>
</documenttypedeclaration>
</documenttypedeclarations>
Is this achievable and if so how, the MXI file is small yet still managing to drive me insane and the documentations is a tad rubbish if you want to do something other then add menu items.
Chris

That, again, tells me how I could manually edit the dreamweaver files to do
what i propose but it doesnt tell you how to setup the MXI/P; are you saying
that I should replace the MMDocumentTypeDeclarations file within the local
user area (adobe suite cache folder)?
Chris
2009/10/13 pziecina <[email protected]>
Hi
>
Try this section of extending dreamweaver -
http://help.adobe.com/en_US/Dreamweaver/10.0_Extending/WS5b3ccc516d4fbf351e63e3d117f53d610 8-7fda.html
>
PZ
>

Similar Messages

  • XML-22043: (Error) Extension function error: Method not found 'getDtformat'

    Hi,
    We are using a custom made function for formatting date in the XSL transformation. This jar file has been kept under the domain_name/lib folder, and it is working as expected in our Windows environment. However when I tried to deploy it in Linux environment, it is giving the error XML-22043: (Error) Extension function error: Method not found 'getDtformat' (Full stack trace attached below)
    Appreciate your help!
    Regards,
    Ebrahim Badusha.
    <Oct 21, 2011 3:04:34 PM EDT> <Error> <oracle.soa.bpel.engine.xml> <BEA-000000> <javax.xml.transform.TransformerException: oramds:/deployed-composites/default/MyProject_rev1.0/xsl/xFormValidationsBRE.xsl<Line 27, Column 252>: XML-22043: (Error) Extension function error: Method not found 'getDtformat'>
    <Oct 21, 2011 3:04:34 PM EDT> <Error> <oracle.soa.bpel.engine.xml> <BEA-000000> <
    javax.xml.xpath.XPathExpressionException: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/MyProject_rev1.0/xsl/xFormValidationsBRE.xsl<Line 27, Column 252>: XML-22043: (Error) Extension function error: Method not found 'getDtformat'
    at oracle.xml.xpath.JXPathExpression.evaluate(JXPathExpression.java:242)
    at com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate(BPELXPathUtil.java:240)
    at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalFromExpression(BPEL2FromToOperationPerformer.java:320)
    at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalFromValue(BPEL2FromToOperationPerformer.java:220)
    at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.perform(BPEL2FromToOperationPerformer.java:55)
    at com.collaxa.cube.engine.ext.bpel.v2.wmp.BPEL2AssignWMP.__executeStatements(BPEL2AssignWMP.java:69)
    at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:158)
    at com.collaxa.cube.engine.CubeEngine._performActivity(CubeEngine.java:2463)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2334)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1115)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:328)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4350)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4281)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:679)
    at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:103)
    at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:145)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean.syncCreateAndInvoke(BPELEngineBean.java:111)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
    at sun.reflect.GeneratedMethodAccessor1289.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy316.syncCreateAndInvoke(Unknown Source)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean_51369e_ICubeEngineLocalBeanImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean_51369e_ICubeEngineLocalBeanImpl.syncCreateAndInvoke(Unknown Source)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.callCreateAndInvoke(DeliveryHandler.java:790)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:528)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:487)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:162)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.request(CubeDeliveryBean.java:493)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
    at sun.reflect.GeneratedMethodAccessor1289.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy312.request(Unknown Source)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.request(Unknown Source)
    at oracle.fabric.CubeServiceEngine.request(CubeServiceEngine.java:380)
    at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
    at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
    at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy329.request(Unknown Source)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1281)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:859)
    at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1081)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:232)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
    at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:13
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    Edited by: Ebrahim Badusha on Oct 21, 2011 12:42 PM

    Any solution for the above problem?
    O.

  • Implemented OWSM -- XML-22045: (Error) Extension function error

    good day
    When I activated my OWSMAgent within ESB, I launched a null pointer Exception when running a fault, since I have reviewed the documentation WSM_DeploymentGuide and commented that it is not possible to add an error handler general, reviewing the logs I found the following error:
    XML-22045: (Error) Extension function error: Class not found '
    Missing class: com.cablemas.extensionfunctioncablemas.ExtensionFunctionCablemas
    Dependent class: oracle.xml.xpath.XSLExtFunctions
    Loader: oracle.xml: 10.1.0_2
    Code-Source: / F: / product/10.1.3.1/OracleAS_1/lib/xmlparserv2.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in F: \ product \ 10.1.3.1 \ OracleAS_1 \ j2ee \ home \ oc4j.jar
    This load was initiated at oc4j: 10.1.3 using the loadClass () method.
    The missing class is available from the following locations:
    1. Code-Source: / F: / product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/applib/ExtensionFunctionCablemas.jar (from <code-source> in / F: / product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/config / server.xml)
    This source code is available in loader global.libraries: 1.0. This shared-library can be made visible to the "oc4j" by modifying the boot loader descriptor.
    Class ExtensionFunctionCablemas use it to take the code of the error, locate it within a table in the DB and return the corresponding message, the null pointer exception only if it throws error. OWSM reviewing the request is recorded correctly, and the answer recorded as a fault but I'm not returning the message corresponding to error code.

    Greetings,
    Quoted:
    When using Oracle XSLT extensions, make sure you set the namespace of the extension class to be:
    http://www.oracle.com/XSL/Transform/java/This was excerpted from the pdf at:
    http://www.oracle.com/technology/tech/xml/xdk/collateral/OracleAS10g_10.1.2_XDK_FAQ.pdfThe namespace tells the application how to interpret your XSLT attributes\elements.
    -Michael

  • The Document Type "" will not be added because it uses a file extension that is already associated with a prior Document Type.

    I’ve removed the MMDocumentTypes.xml file from the folder Adobe Dreamweaver CC 2014 -> Configuration -> DocumentTypes and put it on the desktop. Also, I moved the Extensions.txt file the same way. After a restart, I get the same error message. I uninstalled every extension one by one in every place that I could find (Adobe Extension Manager/DMXzone Extension Manager/https://creative.adobe.com/my_addons), and I uninstalled and reinstalled Dreamweaver… I’m still getting that message. Please, tell me how I can get rid of this error message. It's driving me crazy!

    Hi Ken,
      Thanks for your reply. It all happened because of the DMXzone LESS CSS/LESS COMPILER products. When I first got CC2014 a few weeks ago, I went on a rampage downloading all the "cool" app extensions that I could find like most new CC users. That was a big mistake. Half of them don't load correctly, or they get errors. Download from the "add-ons" page at your own peril. After editing the MMDocumentTypes.xml and extensions.txt files to get rid of the original LESS definitions and redefining them, it loaded without the error, but the icons on the "Create New" section of the welcome screen were gone. I completely deleted Dreamweaver again, and this time I included all preferences. After a clean install with no preference files or extensions, I got it working properly. I have to say that the Dreamweaver cloud sync feature in CC saved a ton of time because it had my site definitions waiting for me. Stay out of the DMXzone, if you don't want to be in the damage control zone. =)

  • Space added to path when using graphics extension

    Hi,
    I'm having a strange problem.  I use the 'chart' element of BSP extension 'graphics', but this doesn't show me the generated graph in the portal.
    I've done some debugging and I've found out that this extension uses the method cl_graph_util=>publish_blob for putting the generated image in the server cache and generates a url inside the application.
    For retrieving the current application.  This method uses  
    path = request->get_header_field( '~PATH_TRANSLATED' ).
    Now after this call, the content of the variable 'path' is '/sap/bc/bsp/arinso/EAQ_BP /output/result.do'.  So a space is added after the name of my BSP application and before the subfolder that contains my controller.
    Can anyone tell me where I might have misconfigured something that causes this?
    Thanks,
    Tim

    I couldn't find what causes it, but I've solved it by putting this code, just before the chart tag.
      data l_path type string.
      l_path = request->get_header_field( '~PATH_TRANSLATED' ).
      condense l_path no-gaps.
      request->set_header_field( name = '~PATH_TRANSLATED'
      value = l_path ).

  • Adding properties to XML Registry

    I'm using WLS 6.0. I was wondering if it is possible
    to add more properties into the XML Registry on the console.
    The two properties currently there are: DocumentBuilderFactory
    and SaxParserFactory.
    I'd like to add the two system properties: javax.xml.transform.TransformerFactory
    and org.xml.sax.driver.
    I know I can set these from the command line using the
    -D option but I'd much rather have the configuration
    in the console.
    Can I do this? If so, how?
    Thanks!

    Follow-up: Even though it lists 4 missing required properties in the error, when I went back and added only the Value property, the red flags went away....
    Werry Interestink!

  • Adding users using XML

    The examples for adding users to iFS work fine, but do I have to create an XML file for every user I want to add? I tried to create an XML file with more than one <SimpleUser> definitions, but iFS reports an "unexpected end of file" error at the position where the second User definition starts.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by jsacks:
    Ralf,
    Using the standard <object_list> tag to parse a list of simpleuser tags should work:
    <HR></BLOCKQUOTE>
    Included inside <objectlist> tags, it works fine. Thank you very much.
    null

  • EJBComponents not added to config.xml

    We are in the process of upgrading our version of Weblogic Server from 6.1 to 8.1.
    In 6.1 weblogic used to add all an EJBComponent tag into config.xml for each
    ejb module in application.xml, but it no longer seems to do this in 8.1. From
    the weblogic console I can all the ejbs are listed as modules, however they have
    no target set. Do we have to manually add the EJBComponents to config.xml now?
    Below is the contents of the config.xml:
    <Domain ConfigurationVersion="8.1" Name="E7.2_jeantine_weblogic8.1">
    <FileRealm Name="wl_default_file_realm"/>
    <Security CompatibilityMode="true" Name="E7.2_jeantine_weblogic8.1"
    PasswordPolicy="wl_default_password_policy"
    Realm="wl_default_realm" RealmSetup="true"/>
    <PasswordPolicy Name="wl_default_password_policy"/>
    <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
    <JTA Name="E7.2_jeantine_weblogic8.1" TimeoutSeconds="1800"/>
    <JDBCConnectionPool CapacityIncrement="1"
    DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="1"
    LoginDelaySeconds="0" MaxCapacity="20" Name="energyPool"
    Password="{3DES}ulcBYGqUa6R1aydmAaegvQ=="
    Properties="user=energydb" RefreshMinutes="999999"
    ShrinkPeriodMinutes="720" ShrinkingEnabled="true"
    Targets="myserver" TestConnectionsOnRelease="false"
    TestConnectionsOnReserve="true" TestTableName="dual" URL="jdbc:oracle:thin:@n028.peace.co.nz:10002:lob"/>
    <JDBCDataSource JNDIName="energyDataSource" Name="energyDataSource"
    PoolName="energyPool" Targets="myserver"/>
    <SNMPAgent Name="E7.2_jeantine_weblogic8.1"/>
    <Log FileName="logs/wl-domain.log" Name="E7.2_jeantine_weblogic8.1"/>
    <ApplicationManager Name="E7.2_jeantine_weblogic8.1"/>
    <Application Deployed="false" Name="energy"
    Path="./applications/energy" TwoPhase="false">
    <WebAppComponent Name="energy" Targets="myserver" URI="energy"/>
    </Application>
    <JMSServer Name="EnergyJMSServer" Store="interfacesJMSJDBCStore" Targets="myserver">
    <JMSQueue JNDIName="InputBatch" Name="InputBatch"
    RedeliveryDelayOverride="5" RedeliveryLimit="2" StoreEnabled="true"/>
    <JMSQueue JNDIName="InterfacesAsyncCompletionQueue"
    Name="InterfacesAsyncCompletionQueue"
    RedeliveryDelayOverride="10" RedeliveryLimit="2" StoreEnabled="true"/>
    </JMSServer>
    <JMSConnectionFactory DefaultRedeliveryDelay="5"
    JNDIName="InterfacesJMSConnectionFactory" MessagesMaximum="100"
    Name="InterfacesJMSConnectionFactory" Targets="myserver"/>
    <JMSJDBCStore ConnectionPool="energyPool" Name="interfacesJMSJDBCStore"/>
    <Server ListenPort="10116" Name="myserver" NativeIOEnabled="true"
    ServerVersion="8.1.0.0" TransactionLogFilePrefix="logs/">
    <ServerDebug DebugEJB="true" DebugEJBCalls="true"
    DebugEJBDeployment="true" Name="myserver"/>
    <Log FileName="logs/weblogic.log" Name="myserver"/>
    <ServerStart Name="myserver"/>
    <ExecuteQueue Name="default" ThreadCount="15"/>
    <WebServer DefaultWebApp="energy"
    LogFileName="./logs/access.log" LoggingEnabled="true" Name="myserver"/>
    <KernelDebug Name="myserver"/>
    <SSL IdentityAndTrustLocations="FilesOrKeyStoreProviders" Name="myserver"/>
    </Server>
    <EmbeddedLDAP
    Credential="{3DES}XyvpZX5+kEplLubZ3VpJc5CJBhNoACGAnIMLDiNRnQE=" Name="E7.2_jeantine_weblogic8.1"/>
    <SecurityConfiguration
    Credential="{3DES}GnmhhG5n4eq1d2mgIQyu+x3HjLZOEg71LkqMj+RkzwBesyY/DArh2ES4hQaRRFoyyJA5VB3DStp6nM66Ag2Ek1p/o/ImDfHV"
    Name="E7.2_jeantine_weblogic8.1" RealmBootStrapVersion="1"/>
    </Domain>

    I tried removing the application tag from config.xml, but it didn't manage to automatically
    pick up my application.
    I am able to deploy my application successfully from the console and the all the
    appropriate components get added to the config.xml during that process, but for
    some reason it doesn't do this when I first deploy??
    The contents of my applications/energy directory are:
    n028 jeantine <applications/energy> ls
    AdvancedSearchSessionBean.jar MeterMgmtBean.jar
    APIAdministrationBean.jar NonTransCORBABean.jar
    App4SupSessionBean.jar ParameterStorageBean.jar
    AppServSessionBean.jar PasswordServerBean.jar
    ARCCCommonControllerBean.jar PaymentArrangementMaintenanceBean.jar
    ARCCSessionBean.jar PaymentPlanBOControllerBean.jar
    ARSessionBean.jar PaymentPlanCSRControllerBean.jar
    AsyncInterfaceControllerBean.jar PaymentPlanCSRLogicBean.jar
    AsyncMessageDrivenBean.jar PeriodicBillingLightingSessionBean.jar
    BillingMarketModelSessionBean.jar PeriodicBillingSessionBean.jar
    BillingSessionBean.jar PostalAddressMaintenanceBean.jar
    CCSessionBean.jar PremiseAddressMaintenanceBean.jar
    ComponentSessionBean.jar PremiseSearchBean.jar
    ContactSessionBean.jar PremiseSessionBean.jar
    ContractSessionBean.jar PriceSessionBean.jar
    CredControlSessionBean.jar ProcessTrackingMaintenanceBean.jar
    CreditControlMaintenanceBean.jar ProfileSessionBean.jar
    CustomerMaintenanceBean.jar ProspectInfoSessionBean.jar
    CustomerSearchBean.jar ProspectSearchSessionBean.jar
    CustomerSessionBean.jar ProspectTransSessionBean.jar
    CustomerSignUpBean.jar PRWSessionBean.jar
    DirectDebitMaintenanceBean.jar PtjSessionBean.jar
    energy QuotationSessionBean.jar
    energyapicommon.jar ReadingAdjustmentSessionBean.jar
    EnergyCommonControllerBean.jar ReadingSessionBean.jar
    energycorba.rar RegisterSessionBean.jar
    energyejbcommon.jar ReprocessSessionBean.jar
    EnergyLocaleBean.jar SalesMarketing
    EnergyPaginatorBean.jar SearchSessionBean.jar
    EnrollmentSessionBean.jar ServiceConfigSessionBean.jar
    ExternalBillingSessionBean.jar ServiceSessionBean.jar
    FIRSessionBean.jar SessionManagerBean.jar
    GenericAdminBean.jar SMInBoundProxySessionBean.jar
    interfaces_clients.jar SMOutBoundProxySessionBean.jar
    interfaces.jar StatementGenerationBean.jar
    InternalAsyncRequestBean.jar SupplySessionBean.jar
    InvoiceValidationSessionBean.jar SyncInterfaceControllerBean.jar
    JDBCOnly1Bean.jar TariffSessionBean.jar
    JDBCOnly2Bean.jar TaxExemptionSessionBean.jar
    logging.jar TaxJurisdictionSessionBean.jar
    MarketExtRefBean.jar TaxSessionBean.jar
    MenuServerBean.jar TransactionalRemoteInvokerBean.jar
    META-INF UMCSessionBean.jar
    Rob Woollen <[email protected]> wrote:
    No, you shouldn't have to manually add the EJBComponents.
    The Deployed attribute of your application appears to be false. That
    doesn't seem too good.
    <Application Deployed="false" Name="energy"
    Path="./applications/energy" TwoPhase="false">
    <WebAppComponent Name="energy" Targets="myserver" URI="energy"/>
    </Application>My recommendation would be to remove this application's entry from the
    config.xml and restart the server. Since it's in the applications
    directory, it should be picked up automatically.
    If you're still having problems, can you show me the contents of the
    applications/energy directory?
    -- Rob
    Jeantine wrote:
    We are in the process of upgrading our version of Weblogic Server from6.1 to 8.1.
    In 6.1 weblogic used to add all an EJBComponent tag into config.xmlfor each
    ejb module in application.xml, but it no longer seems to do this in8.1. From
    the weblogic console I can all the ejbs are listed as modules, howeverthey have
    no target set. Do we have to manually add the EJBComponents to config.xmlnow?
    Below is the contents of the config.xml:
    <Domain ConfigurationVersion="8.1" Name="E7.2_jeantine_weblogic8.1">
    <FileRealm Name="wl_default_file_realm"/>
    <Security CompatibilityMode="true" Name="E7.2_jeantine_weblogic8.1"
    PasswordPolicy="wl_default_password_policy"
    Realm="wl_default_realm" RealmSetup="true"/>
    <PasswordPolicy Name="wl_default_password_policy"/>
    <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
    <JTA Name="E7.2_jeantine_weblogic8.1" TimeoutSeconds="1800"/>
    <JDBCConnectionPool CapacityIncrement="1"
    DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="1"
    LoginDelaySeconds="0" MaxCapacity="20" Name="energyPool"
    Password="{3DES}ulcBYGqUa6R1aydmAaegvQ=="
    Properties="user=energydb" RefreshMinutes="999999"
    ShrinkPeriodMinutes="720" ShrinkingEnabled="true"
    Targets="myserver" TestConnectionsOnRelease="false"
    TestConnectionsOnReserve="true" TestTableName="dual" URL="jdbc:oracle:thin:@n028.peace.co.nz:10002:lob"/>
    <JDBCDataSource JNDIName="energyDataSource" Name="energyDataSource"
    PoolName="energyPool" Targets="myserver"/>
    <SNMPAgent Name="E7.2_jeantine_weblogic8.1"/>
    <Log FileName="logs/wl-domain.log" Name="E7.2_jeantine_weblogic8.1"/>
    <ApplicationManager Name="E7.2_jeantine_weblogic8.1"/>
    <Application Deployed="false" Name="energy"
    Path="./applications/energy" TwoPhase="false">
    <WebAppComponent Name="energy" Targets="myserver" URI="energy"/>
    </Application>
    <JMSServer Name="EnergyJMSServer" Store="interfacesJMSJDBCStore"Targets="myserver">
    <JMSQueue JNDIName="InputBatch" Name="InputBatch"
    RedeliveryDelayOverride="5" RedeliveryLimit="2" StoreEnabled="true"/>
    <JMSQueue JNDIName="InterfacesAsyncCompletionQueue"
    Name="InterfacesAsyncCompletionQueue"
    RedeliveryDelayOverride="10" RedeliveryLimit="2" StoreEnabled="true"/>
    </JMSServer>
    <JMSConnectionFactory DefaultRedeliveryDelay="5"
    JNDIName="InterfacesJMSConnectionFactory" MessagesMaximum="100"
    Name="InterfacesJMSConnectionFactory" Targets="myserver"/>
    <JMSJDBCStore ConnectionPool="energyPool" Name="interfacesJMSJDBCStore"/>
    <Server ListenPort="10116" Name="myserver" NativeIOEnabled="true"
    ServerVersion="8.1.0.0" TransactionLogFilePrefix="logs/">
    <ServerDebug DebugEJB="true" DebugEJBCalls="true"
    DebugEJBDeployment="true" Name="myserver"/>
    <Log FileName="logs/weblogic.log" Name="myserver"/>
    <ServerStart Name="myserver"/>
    <ExecuteQueue Name="default" ThreadCount="15"/>
    <WebServer DefaultWebApp="energy"
    LogFileName="./logs/access.log" LoggingEnabled="true" Name="myserver"/>
    <KernelDebug Name="myserver"/>
    <SSL IdentityAndTrustLocations="FilesOrKeyStoreProviders" Name="myserver"/>
    </Server>
    <EmbeddedLDAP
    Credential="{3DES}XyvpZX5+kEplLubZ3VpJc5CJBhNoACGAnIMLDiNRnQE="Name="E7.2_jeantine_weblogic8.1"/>
    <SecurityConfiguration
    Credential="{3DES}GnmhhG5n4eq1d2mgIQyu+x3HjLZOEg71LkqMj+RkzwBesyY/DArh2ES4hQaRRFoyyJA5VB3DStp6nM66Ag2Ek1p/o/ImDfHV"
    Name="E7.2_jeantine_weblogic8.1" RealmBootStrapVersion="1"/>
    </Domain>

  • ESDK - Adding support for help button in extensions

    Hi,
    I have developed a wizard extension for JDeveloper and I am trying to add support to the "help" button in the wizard.
    I used the following APIs:
    1. oracle.ide.help.HelpSystem.getHelpSystem().registerHelpSetURL(getClass().getResource("help/MyHelp.hs"));
    2. oracle.ide.help.HelpSystem.getHelpSystem().registerTopic(myComponent, "my_help_topic");
    3. oracle.ide.help.HelpSystem.getHelpSystem().showHelp(myComponent);
    When I click the "help" button in the wizard I developed, I get a error message box with title "Help Not Available" and message "Cannot find help content for help topic my_help_topic".
    I am very sure that I am using the correct topic ID from the map.xml file of the Helpset and also that the helpset and its associated files are in correct format.
    I also tried the DialogBox.jpr extension sample provided by JDeveloper and I get the same error.
    If anyone can suggest a solution to get the help working it will be very nice.
    Thanks very much.

    First a point of style, rather than having your code call registerHelpSetURL() it's preferrable to declaratively register your help sets via your extension's extension.xml file. To do that your extension manifest would add something like the following example within the <jdeveloper-hook>:
    <help>
    <item>
    <helpName>unique name here</helpName>
    <helpURL>../doc/java_doc/ohj/getting_started.jar!/getting_started.hs</helpURL>
    </item>
    </help>
    Or at least that's what I'd suggest for 10.1.3 and beyond, I'd have to look up the syntax for earlier versions and see if there's a difference. What version of jdeveloper are you using?
    The first thing I'd do is modify your code that's registering the help set to create a URL that you can debug to make sure it's the URL that you intend. If that all checks out then I'd review your MyHelp.hs to make sure it's specifying the map file correctly and that the map file contains the mapping from your help topic to the URL as expected.
    Hope this helps!

  • Adding node in navigator for new extension (with Java backing class)

    Hi,
    I want to add a node to the Navigator window that is implemented by my own Java class.
    I can already add a node with XML that executes queries against the database to get the objects that I want.
    I now want a "smarter" node that can do more than query the database.
    Regards,
    Pieter

    Hi Sue,
    I have already looked on the wiki and there is no information on how to add an own node with a Java class.
    There is an example of how to do this with XML and encoding the node and children with SQL embedded in the XML.
    This is not what I want - as I mentioned in the post I have already done this but I want to do more by adding my own Java Node object.
    Regards,
    Pieter

  • Adding EOF to XML file without using FCC

    Hello Experts,
    I have a simple File to File scenario with source and target files being XML  and simple mapping (No content conversion necessary). The issue which I face is described below:
    File is written by receiver File Adapter on the unix system, a third party Unix script tries to read the file and faces problems which they report is because the file is not ended correctly. When we try to open the files using vi editor, we also get a warning: [Last line is not complete].
    As a temporary solution the script is making sure the line is ended correctly. Can you advice me how from PI side I can make sure that the file ends properly. I was thinking to write a shell script and add it as a OS post processing command but I am not sure whether that will work and whether that is the best solution.
    Also the file name is generated dynamically using time stamps in the receiver side. Version of PI is 7.0 SP16
    Best Regards,
    Pratik

    Hi,
    When PI sends target file to file,it definely wellformed XML,anyway you are sending XML file.
    If you are nor using any mapping,,just copying file from one to other,then problem with test data,may be source data doesnot have EOF tag.
    check/test in message mapping,it gives valid xml structures in out put,then problem with your data.
    Regards,
    Raj

  • Adding namespace to XML output

    Hi,
    I have a requirement to generate a XML document for columns in the table. I am using DBMS_XMLgen.getXML inside my procedure to get the XML document.
    The output which i get after executing my procedure is:
    <?xml version="1.0"?>
    <EMP>
    <EMPLOYEE_NO>000017</EMPLOYEE_NO>
    <EMPLOYEE_STATUS>ACTIVE</EMPLOYEE_STATUS>
    <NAME_LAST>Mini</NAME_LAST>
    <NAME_FIRST/>
    </EMP>
    But I also need namespace prefix and namespace uri in this xml output. Is there a way to add namespace prefix and namespace uri to this xml output.
    So what i need is something like below one:
    <?xml version="1.0"?>
    <xs:EMP>xmlns:out="http://xmlns:out="http:/example.org/ver1.0/ThisISTest#">
    <xs:EMPLOYEE_NO>000017</xs:EMPLOYEE_NO>
    <xs:EMPLOYEE_STATUS>ACTIVE</xs:EMPLOYEE_STATUS>
    <xs:NAME_LAST>Mini</xs:NAME_LAST>
    <xs:NAME_FIRST/>
    </xs:EMP>
    Any solutions or sample code on this would be of great help.
    Thanks in Advance.

    Hi,
    IMO, the best option is to use an XSL transformation "on the fly" with DBMS_XMLGEN.
    Here's a stylesheet that should work (change namespace and prefix to yours) :
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://test">
    <xsl:template match="*">
    <xsl:element name="ns0:{local-name()}">
      <xsl:apply-templates/>
    </xsl:element>
    </xsl:template>
    </xsl:stylesheet>Right now, I only have a 10gR1 at my disposal and the transformation doesn't give expected results (there are a few known issues with XSLT on 10g).
    However, I could test it with an external processor (saxon9he) and it should work OK in 11g too.
    So, in your procedure, all you have to do is declare the XSLT document :
    xsldoc    xmltype := xmltype(
    '<?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://test">
    <xsl:template match="*">
    <xsl:element name="ns0:{local-name()}">
      <xsl:apply-templates/>
    </xsl:element>
    </xsl:template>
    </xsl:stylesheet>'
    );and bind the stylesheet to the context :
    DBMS_XMLGEN.setrowsettag (messagehandle_xml, 'EMP');
    DBMS_XMLGEN.setrowtag (messagehandle_xml, NULL);
    DBMS_XMLGEN.setmaxrows (messagehandle_xml, 2);
    DBMS_XMLGEN.setNullHandling(messagehandle_xml, DBMS_XMLGEN.EMPTY_TAG);
    DBMS_XMLGEN.setXSLT(messagehandle_xml, xsldoc); -- < here
    ...Let me know if it works :)

  • Adding namespace in XML

    Hi,
    I have created an xml by using XMLTYPE( oracle object ). Now I want to add a namespace to the existing root node. How can I achieve this?
    Currently
    <RESPONSE>
    <TAG1>jack</TAG1>
    <TAG2>mon<TAG2>
    </RESPONSE>
    Desired ouput
    <RESPONSE xmns=''http://aloha.com">
    <TAG1>jack</TAG1>
    <TAG2>mon<TAG2>
    </RESPONSE>
    Thanks,
    VJ

    SELECT insertchildxml(XMLTYPE('<RESPONSE>
    <TAG1>jack</TAG1>
    <TAG2>mon</TAG2>
    </RESPONSE>'),
                          '/RESPONSE',
                          '@xmlns',
                          'http://aloha.com')
      FROM dual;Produces
    <RESPONSE xmlns="http://aloha.com"><TAG1>jack</TAG1><TAG2>mon</TAG2></RESPONSE>

  • Adding attachments to xml dom generated documents

    Hello All,
    I am trying to add an attachment to a DOM generated XML document, does anyone have any idea as to how I amy be able to do this.

    Hi
    Happen to see your posting. Did you get any response for your question. I have a similar requirement. If you have any pointers, please let me know. Thanks for your help in advance.
    Regards
    Sri

  • Adding Encoding in XML header without mapping

    Hi Gurus,
    I am stuck in a situation where in a pass through scenario, I need to add encoding type in XML header.
    Below is example -
    Current Situation - <?xml version="1.0"?>
    Expected result -  <?xml version="1.0" encoding="UTF-8"?>
    Can anybody help me in this regard? how to achieve this?
    Regards
    Vidhi S

    Hi Vidhi
    Use it in the below way in the receiver adapter.
    Module name: AF_Modules/XMLAnonymizerBean
    Parameter name: anonymizer.encoding
    This will work. I have tested already.

Maybe you are looking for