XSDException

I'm sending custom XML documents over AS2. I'm able to send my test xml messages when validation is disabled but once validation is enabled it fails throwing the following error:
An unexpected error occurred during validation
StackTrace:
Error -: AIP-51505: General Validation Error: oracle.xml.parser.schema.XSDException: Invalid attribute 'mixed' in element 'complexType'
     at oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin.processXMLDocument(CustomDocumentPlugin.java:815)
     at oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin.processOutgoingDocument(CustomDocumentPlugin.java:539)
     at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1541)
     at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
     at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
     at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:697)
     at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:373)
     at java.lang.Thread.run(Thread.java:534)
Caused by: oracle.xml.parser.schema.XSDException: Invalid attribute 'mixed' in element 'complexType'
     at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:751)
     at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:457)
     at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:361)
     at oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin.processXMLDocument(CustomDocumentPlugin.java:772)
     ... 7 more
If I remove the mixed attribute declaration (ie change <xs:complexContent mixed="false"> to <xs:complexContent>) all is fine. However the schema and xml file are valid so I don't understand why Oracle's engine is complaining. I verified in XMLSpy and Oxygen.
Any ideas?

Hello,
I am terribly sorry for what I have done. By mistake I pressed next thread thinking it is next page and thought you posted in thread I started.
Thanks
Venkat

Similar Messages

  • LifeCycle Manager: The kind 'Note' does not exist in the CMS

    Hi there,
    I'm trying to promote a Crystal Report from one relatively fresh XI 3.1 environment to another fresh XI 3.1 environment (TEST to PROD) using LifeCycle Manager, and for this report, which has no dependencies, I get the following error when I do a Test Promote or actual Promote:
    Commit Status=Commit attempted and failed, Promotion Status=Failure : com.businessobjects.lcm.utilities.LCMException: com.businessobjects.sdk.biar.exception.XSDException$UnknownKindException: The kind 'Note' does not exist in the CMS. (FWM 04030)
    Has anyone encountered anything similar to this? I can't find any InfoObject that logically relates to the type/kind 'Note'. Perhaps it has to do with discussions?
    Thanks,
    Allan

    Hi,
    Can you try promoting it with the security option enabled.
    Based on the error condition it seems that the discussion plugin does not exist in the destination system.

  • How to change the defaut xmlparser on OC4J Standalone 10.1.3.4 for Spring 3

    Hi All
    I am trying to use OC4J 10.1.3.4 standalone with Spring 3.0 but I keep getting the error
    nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'It worked fine when I was using Spring 2.5.6
    I have tried to change the parser as described here (http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-swapxmlparser/doc/readme.html). This is not quite ideal as I want to change the parser for the whole server and not just one application and besides, If I cant start the server, I will not be able to change the parser for an application anyway. I say this because the default xml parser (xmlparserV2.jar) throws an exeception if you try to use it with Spring 3.0 i.e.
    nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'I have had a look on them Oracle Forums(How can I use a 3rd party XML parser such as xerces with OC4J ? and Spring forums and appararently you have to change the XML parser (because the oracle xml parser is buggy!!) by puting the Xerces parser(or any other parser for that matter) on the classpath and then using the following switch
    java -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Xbootclasspath/a:C:\Miscellaneous\xercesImpl.jar -jar oc4j.jarHowever, when I try and start OC4J, I get the following error and I have no idea how to solve this. I have been at this for a couple of weeks but I still not getting any joy.
    [Fatal Error] :-1:-1: Premature end of file.
    2010-01-07 10:29:06.881 ERROR J2EE JCA-01006 Error initializing an ApplicationConnectionManager - ConnectorArchive and Application cannot be null
    2010-01-07 10:29:06.881 ERROR J2EE JCA-01004 {0}
    2010-01-07 10:29:06.881 WARNING J2EE JCA-01013 Error (Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException) while setting up RA for MCF (oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl) for standalone resource adapter 'Oracle JDBC Resource Adapter'
    2010-01-07 10:29:06.881 ERROR J2EE OJR-00105 Exception creating Managed DataSource ConnectorPropertySet.  Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    10/01/07 10:29:06 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors.  Exception is: Exception creating Managed DataSource ConnectorPropertySet.  Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    10/01/07 10:29:06 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating Managed DataSource ConnectorPropertySet.  Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
         at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1623)
         at com.evermind.server.ApplicationStateRunning.initManagedDataSource(ApplicationStateRunning.java:1573)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:2042)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1287)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:362)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:220)
         at com.evermind.server.Application.setConfig(Application.java:454)
         at com.evermind.server.Application.setConfig(Application.java:355)
         at com.evermind.server.ApplicationServer.initializeDefaultApplication(ApplicationServer.java:1603)
         at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1586)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1018)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
         at com.evermind.server.connector.ApplicationConnectionManager.initOutbound(ApplicationConnectionManager.java:909)
         at com.evermind.server.connector.ApplicationConnectionManager.init(ApplicationConnectionManager.java:314)
         at com.evermind.server.connector.deployment.ConnectorArchive.createConnectionManager(ConnectorArchive.java:1178)
         at com.evermind.server.connector.deployment.ConnectorArchive.addConnectionFactory(ConnectorArchive.java:662)
         at com.evermind.server.ApplicationStateRunning.addConnectionFactory(ApplicationStateRunning.java:1616)
         ... 12 more
    10/01/07 10:29:06 WARNING: Application.setConfig Application: default is in failed state as initialization failed.
    java.lang.InstantiationException: Error occurred initializing connectors.  Exception is: Exception creating Managed DataSource ConnectorPropertySet.  Exception: Error setting up resource adapter for standalone resource adapter 'Oracle JDBC Resource Adapter'. ManagedConnectionFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML' for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl for standalone resource adapter 'Oracle JDBC Resource Adapter'. Exception is: java.lang.reflect.InvocationTargetException
    10/01/07 10:29:06 Error initializing server: Application: default is in failed state as initialization failed
    10/01/07 10:29:07 Fatal error: server exitingCan anyone help or show me how to change the xml parser please ?
    Thanks in advance!!

    Hi All,
    I have found a way to change the xml parser for my application and NOT the xml parser for the server. I followed the instructions here http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-swapxmlparser/doc/readme.html. In the end, I had to settle for changing the xml parser of my application(i.e. It uses its a custom parser e.g. xerces not the default OC4J parser i.e. xmlparserV2) and not the xml parser for OC4J because it was near impossible to change the xml parser for OC4J and besides, as the OC4J default parser(xmlparserV2) works well with the server and not my application, it made more sense to change the parser for my application (changed to Xerces) and not OC4J. Hope this helps someone else who may come across a similar problem.

  • BI4.1 SP02 Installation Stuck on "Adding Web Intelligence Sample"

    Hi,
    I am in Panic, I am upgrading my BO4.0 SP04 to BI4.1 SP02. My existing BI4.0  system is clustered. Two clustered CMS running in Machine1 and machine2.
    I am running the 64 bit BI4.1 SP02 installer in Machine1.. Almost 80% of the installation is done. But for last 7 hrs, the installation is stuck on "Adding Web Intelligence Server". I have checked the log file in D:\BusinessObjects4\InstallData\logs\2014.05.03.10.36.01. Following is the last few lines from the log. Please help me.
    16:04:08.974   Action id:         RunCommand
    16:04:08.974   Source name:       InstallFramework.dll
    16:04:08.974   Source type:       sharedlib
    16:04:08.974   Source entry pt:   RunCommand
    16:04:08.974   Action source dir: D:\BusinessObjects4\InstallData\InstallCache\setup.core-4.0-core-64\14.1.2.1121\
    16:04:08.974   Action model:      64
    16:04:08.974 ExecuteAction: calling actionExecutor->ExecuteAction()
    16:04:08.974 NativeActionExecutor calling action out-of-proc.
    16:04:08.974 Path to action agent executable: C:\Users\dast\AppData\Local\Temp\RarSFX1\setup.engine\plat64\actionagentproc.exe
    16:04:08.974 Action connection attempt 1
    16:04:08.974 Found free listening port for action agent server: 4520
    16:04:08.974 AgentServer listening on port socket:4520 for remote action process
    16:04:08.974 Main thread is waiting for listening socket to be ready...
    16:04:08.989 Server accepted actionagentproc connection
    16:04:08.989 AgentServer connected to: 127.0.0.1:4520
    16:04:08.989 Current working dir: D:\BusinessObjects4\InstallData\logs\2014.05.03.10.36.01\
    16:04:08.989 NativeActionExecutor: temporarily updating path. Adding to path: D:\BusinessObjects4\InstallData\InstallCache\setup.core-4.0-core-64\14.1.2.1121\actions\
    16:04:08.989 Set environment variable 'Path': 'D:\BusinessObjects4\InstallData\InstallCache\setup.core-4.0-core-64\14.1.2.1121\actions\'.
    16:04:08.989 Prepend to environment variable 'Path': 'D:\BusinessObjects4\InstallData\InstallCache\setup.core-4.0-core-64\14.1.2.1121\actions\;D:\app1\product\11.2.0\client_1\bin;E:\app\product\11.2.0\client_1\bin;C:\Program Files\HP\NCU;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\idmu\common;C:\Program Files\OmniBack\bin\;d:\Program Files\HP\HP BTO Software\lib;d:\Program Files\HP\HP BTO Software\bin;d:\Program Files\HP\HP BTO Software\bin\win64;d:\Program Files\HP\HP BTO Software\bin\win64\OpC;'.
    16:04:08.989 NativeActionExecutor: calling action entry point.
    16:04:09.005 RunCommand: Get CmdLine: "D:\BusinessObjects4\SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\bin\javaw.exe" -Dtracelog.logdir="D:\BusinessObjects4\SAP BusinessObjects Enterprise XI 4.0\Logging\ " -Dtracelog.process=biarengine -jar "D:\BusinessObjects4\\SAP BusinessObjects Enterprise XI 4.0\java\lib\biarengine.jar" "D:\BusinessObjects4\\SAP BusinessObjects Enterprise XI 4.0\java\lib\biarengine_webisamples.properties" "password=********"
    16:04:09.005 RunCommand: Get Hide:    1
    16:04:09.005 RunCommand: Get DisableWOW64Redirection: 0
    16:04:09.005 RunCommand: Get ProductObjectModel: 32
    16:04:09.005 RunCommand: Get noWaiting: 0
    16:04:09.005 RunCommand: WOW64 redirection is enabled
    16:04:09.005 RunCommand: UseShellExecute:    false
    16:04:46.132 Could not reach CMS 'XXXXXX:6400'. Specify the correct host and port and check for network issues. (FWM 20030)
    Could not reach CMS 'XXXXXX:6400'. Specify the correct host and port and check for network issues. (FWM 20030)
      at com.crystaldecisions.sdk.occa.security.internal.LogonService.ensureServiceStub(LogonService.java:695)
      at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:838)
      at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:815)
      at com.crystaldecisions.sdk.occa.security.internal.LogonService.userLogon(LogonService.java:211)
      at com.crystaldecisions.sdk.occa.security.internal.SecurityMgr.userLogon(SecurityMgr.java:177)
      at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody0(SessionMgr.java:454)
      at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody1$advice(SessionMgr.java:512)
      at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon(SessionMgr.java:1
    16:04:46.132 )
      at com.businessobjects.sdk.biar.utility.XSDUtility.initializeSDK(XSDUtility.java:544)
      at com.businessobjects.sdk.biar.utility.XSDUtility.main(XSDUtility.java:979)
    Caused by: com.crystaldecisions.sdk.exception.SDKException$OCAFramework: Communication error occurred when trying to connect to server TANAYCOMP:6400 (FWM 01009)
    cause:com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$CommunicationError: Communication error occurred when trying to connect to server XXXXXX:6400 (FWM 01009)
    cause:com.crystaldecisions.thirdparty.org.omg.CORBA.TRANSIENT: attempt to establish connection failed: java.net.ConnectException: Connection refused: connect  minor code: 0x4f4f0001  completed: No
    detail:Communication error occurred when trying to connect to server XXXXXX:6400 (FWM 01009) attempt to establish connection failed: java.net.ConnectException: Connection refused: connect
    detail:Communication error occurred when trying to connect to server XXXXXX:6400 (FWM 01009) attempt to establi
    16:04:46.132 sh connection failed: java.net.ConnectException: Connection refused: connect
      at com.crystaldecisions.sdk.exception.SDKException.map(SDKException.java:140)
      at com.crystaldecisions.sdk.occa.security.internal.LogonService.ensureServiceStub(LogonService.java:694)
      ... 9 more
    Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$CommunicationError: Communication error occurred when trying to connect to server XXXXXX:6400 (FWM 01009)
    cause:com.crystaldecisions.thirdparty.org.omg.CORBA.TRANSIENT: attempt to establish connection failed: java.net.ConnectException: Connection refused: connect  minor code: 0x4f4f0001  completed: No
    detail:Communication error occurred when trying to connect to server XXXXXX:6400 (FWM 01009) attempt to establish connection failed: java.net.ConnectException: Connection refused: connect
      at com.crystaldecisions.enterprise.ocaframework.RawAPSDirectory.find(RawAPSDirectory.java:256)
      at com.crystaldecisions.enterprise.ocaframework.APSServerHandler.bui
    16:04:46.132 ldAPSClusterInfo(APSServerHandler.java:581)
      at com.crystaldecisions.enterprise.ocaframework.APSServerHandler.buildServerInfo(APSServerHandler.java:192)
      at com.crystaldecisions.enterprise.ocaframework.ServerController.redirectServer(ServerController.java:534)
      at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.redirectServer(ServiceMgr.java:959)
      at com.crystaldecisions.enterprise.ocaframework.ManagedSessions.get(ManagedSessions.java:258)
      at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService_aroundBody4(ServiceMgr.java:520)
      at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(ServiceMgr.java:1)
      at com.crystaldecisions.sdk.occa.security.internal.LogonService.ensureServiceStub(LogonService.java:651)
      ... 9 more
    Caused by: com.crystaldecisions.thirdparty.org.omg.CORBA.TRANSIENT: attempt to establish connection failed: java.net.ConnectException: Connection refused: connect  minor code: 0x4f4f0001  completed: No
      at com.crystaldecisions.thirdpart
    16:04:46.132 y.com.ooc.OCI.IIOP.Connector_impl.connect(Connector_impl.java:167)
      at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClient.createTransport(GIOPClient.java:233)
      at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkersPool.next(GIOPClientWorkersPool.java:122)
      at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClient.getWorker(GIOPClient.java:105)
      at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClient.startDowncall(GIOPClient.java:409)
      at com.crystaldecisions.thirdparty.com.ooc.OB.Downcall.preMarshalBase(Downcall.java:181)
      at com.crystaldecisions.thirdparty.com.ooc.OB.Downcall.preMarshal(Downcall.java:298)
      at com.crystaldecisions.thirdparty.com.ooc.OB.PIDowncall.preMarshal(PIDowncall.java:198)
      at com.crystaldecisions.thirdparty.com.ooc.OB.DowncallStub.preMarshal(DowncallStub.java:265)
      at com.crystaldecisions.thirdparty.com.ooc.OB.DowncallStub.setupRequest(DowncallStub.java:545)
      at com.crystaldecisions.thirdparty.com.ooc.CORBA.Delegate.request(Delegate.java:556)
      at com.crystaldecisi
    16:04:46.132 ons.thirdparty.com.ooc.CORBA.Delegate.is_a(Delegate.java:373)
      at com.crystaldecisions.thirdparty.org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:88)
      at com.crystaldecisions.enterprise.ocaframework.idl.ImplServ.OSCAFactoryExHelper.narrow(OSCAFactoryExHelper.java:100)
      at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getOSCAFactory_aroundBody8(ServiceMgr.java:552)
      at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getOSCAFactory(ServiceMgr.java:1)
      at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getUnmanagedService_aroundBody16(ServiceMgr.java:721)
      at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getUnmanagedService(ServiceMgr.java:1)
      at com.crystaldecisions.enterprise.ocaframework.RawAPSDirectory.find(RawAPSDirectory.java:155)
      ... 17 more
    16:04:46.350 2014/05/03, 04:04:46: RunRedistProgram: return value -4
    16:04:46.350 RunCommand: Command returned result [-4]. Retried [0] times. Will retry up to [9] times. Waiting for [30] seconds...
    16:05:25.755 Import file parsing exception occurred : 'XSD file parsing exception occurred : 'Could not find type meta-data with name 'io:ApplicationsWithDiscussion' for element 'io:ApplicationsWithDiscussion'' (FWM 04011)' (FWM 04009)
    com.businessobjects.sdk.biar.om.OMException$ExceptionWrapper: Import file parsing exception occurred : 'XSD file parsing exception occurred : 'Could not find type meta-data with name 'io:ApplicationsWithDiscussion' for element 'io:ApplicationsWithDiscussion'' (FWM 04011)' (FWM 04009)
      at com.businessobjects.sdk.biar.om.internal.ThrowableSink.rethrowExceptions(ThrowableSink.java:88)
      at com.businessobjects.sdk.biar.om.internal.importer.OMImporter.importObjects(OMImporter.java:262)
      at com.businessobjects.sdk.biar.om.internal.ObjectManager.doImport(ObjectManager.java:671)
      at com.businessobjects.sdk.biar.om.internal.ObjectManager.access$500(ObjectManager.java:62)
      at com.businessobjects.sdk.biar.om.internal.ObjectManager$1.run(ObjectManager.java:423)
      at com.businessobjects.sdk.biar.om
    16:05:25.755 .internal.ObjectManager$1.run(ObjectManager.java:389)
      at com.businessobjects.sdk.biar.om.internal.ObjectManager$AbstractImport.run(ObjectManager.java:913)
      at com.businessobjects.sdk.biar.om.internal.ObjectManager.importArchive(ObjectManager.java:378)
      at com.businessobjects.sdk.biar.utility.XSDUtility.importXMLOM(XSDUtility.java:662)
      at com.businessobjects.sdk.biar.utility.XSDUtility.importXML(XSDUtility.java:610)
      at com.businessobjects.sdk.biar.utility.XSDUtility.performAction(XSDUtility.java:588)
      at com.businessobjects.sdk.biar.utility.XSDUtility.main(XSDUtility.java:980)
    Caused by: com.businessobjects.sdk.biar.exception.XSDException$ImportParsingException: Import file parsing exception occurred : 'XSD file parsing exception occurred : 'Could not find type meta-data with name 'io:ApplicationsWithDiscussion' for element 'io:ApplicationsWithDiscussion'' (FWM 04011)' (FWM 04009)
    cause:com.businessobjects.sdk.biar.exception.XSDException$XSDParsingException: XSD file parsing exception occurred : 'Co
    16:05:25.755 uld not find type meta-data with name 'io:ApplicationsWithDiscussion' for element 'io:ApplicationsWithDiscussion'' (FWM 04011)
    detail:Import file parsing exception occurred : 'XSD file parsing exception occurred : 'Could not find type meta-data with name 'io:ApplicationsWithDiscussion' for element 'io:ApplicationsWithDiscussion'' (FWM 04011)' (FWM 04009) XSD file parsing exception occurred : 'Could not find type meta-data with name 'io:ApplicationsWithDiscussion' for element 'io:ApplicationsWithDiscussion'' (FWM 04011)
      at com.businessobjects.sdk.biar.internal.ArchiveParser.parse(ArchiveParser.java:74)
      at com.businessobjects.sdk.biar.om.internal.importer.ParserThread.runSafely(ParserThread.java:55)
      at com.businessobjects.sdk.biar.om.internal.concurrent.AbstractThread.run(AbstractThread.java:19)
    Caused by: com.businessobjects.sdk.biar.exception.XSDException$XSDParsingException: XSD file parsing exception occurred : 'Could not find type meta-data with name 'io:ApplicationsWithDiscussion' for element 'io:
    16:05:25.755 ApplicationsWithDiscussion'' (FWM 04011)
      at com.businessobjects.sdk.biar.internal.ArchiveParser$SAXHandler.startPrefixMapping(ArchiveParser.java:515)
      at org.apache.xerces.parsers.AbstractSAXParser.startNamespaceMapping(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at javax.xml.parsers.SAXParser.par
    16:05:25.755 se(SAXParser.java:395)
      at com.businessobjects.sdk.biar.internal.ArchiveParser.parse(ArchiveParser.java:66)
      ... 2 more
    Caused by: com.businessobjects.sdk.biar.exception.XSDException$XSDParsingException: XSD file parsing exception occurred : 'Could not find type meta-data with name 'io:ApplicationsWithDiscussion' for element 'io:ApplicationsWithDiscussion'' (FWM 04011)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.HandleElement(XSDDOMParser.java:569)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.ParseXSDNode(XSDDOMParser.java:335)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.ParseChildren(XSDDOMParser.java:350)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.HandleSequence(XSDDOMParser.java:530)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.ParseXSDNode(XSDDOMParser.java:333)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.ParseChildren(XSDDOMParser.java:350)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.HandleExtension(XSDDOMParser.java:59
    16:05:25.755 8)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.ParseXSDNode(XSDDOMParser.java:337)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.ParseChildren(XSDDOMParser.java:350)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.HandleComplexContent(XSDDOMParser.java:523)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.ParseXSDNode(XSDDOMParser.java:329)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.ParseChildren(XSDDOMParser.java:350)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.HandleType(XSDDOMParser.java:510)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.ParseXSDNode(XSDDOMParser.java:325)
      at com.businessobjects.sdk.biar.internal.XSDDOMParser.parseXSD(XSDDOMParser.java:256)
      at com.businessobjects.sdk.biar.internal.XSDManager$AbstractPluginXSD.getXSD(XSDManager.java:200)
      at com.businessobjects.sdk.biar.internal.XSDManager.getPluginXSD(XSDManager.java:82)
      at com.businessobjects.sdk.biar.internal.DefinitionSpace.addPluginXSD(DefinitionSpace.java:2
    16:05:25.755 10)
      at com.businessobjects.sdk.biar.internal.DefinitionSpace.addPluginXSD(DefinitionSpace.java:196)
      at com.businessobjects.sdk.biar.internal.ArchiveParser$SAXHandler.startPrefixMapping(ArchiveParser.java:496)
      ... 14 more
    16:05:26.520 2014/05/03, 04:05:26: RunRedistProgram: return value -5
    16:05:26.520 RunCommand: Command returned result [-5]. Retried [1] times. Will retry up to [9] times. Waiting for [30] seconds...
    16:06:07.890 Import file parsing exception occurred : 'XSD file parsing exception occurred : 'Could not find type meta-data with name 'io:ApplicationsWithDiscussion' for element 'io:ApplicationsWithDiscussion'' (FWM 04011)' (FWM 04009)
    com.businessobjects.sdk.biar.om.OMException$ExceptionWrapper: Import file parsing exception occurred : 'XSD file parsing exception occurred : 'Could not find type meta-data with name 'io:ApplicationsWithDiscussion' for element 'io:ApplicationsWithDiscussion'' (FWM 04011)' (FWM 04009)
      at com.businessobjects.sdk.biar.om.internal.ThrowableSink.rethrowExceptions(ThrowableSink.java:88)
      at com.businessobjects.sdk.biar.om.internal.importer.OMImporter.importObjects(OMImporter.java:262)
      at com.businessobjects.sdk.biar.om.internal.ObjectManager.doImport(ObjectManager.java:671)
      at com.businessobjects.sdk.biar.om.internal.ObjectManager.access$500(ObjectManager.java:62)
      at com.businessobjects.sdk.biar.om.internal.ObjectManager$1.run(ObjectManager.java:423)

    Looks like the CMS has not fully started, or not started at all.  There is a point before this that it attempts to logon to the CMS, did that succeed?
    If not, is the cms database local to one or both cms hosts?
    If the cms database is hosted on a separate server check the response time, for oracle this is done with tnsping.  If over 5ms response time this slows things down.  Over 10ms gets into problems.
    If the database is on the other side of a firewall this can also contribute.

  • Error While validating OAGIS Document

    Hi All,
    My requirement is that i need to send a OAGIS 9.0 file from the Host Trading partner to the Remote trading partner.
    So, i have defined the OAGIS document in the Custom Document protocol over Generic Busines Protocol.I does not get any error when i turn the validation off and the file is generated. But, when i turn the validation on i get an error as follows
    Error Code-AIP-51505
    Error Text- General Validation Error
    Error Description :
    Machine Info: (mdpemer143119)
    Description: An unexpected error occurred during validation
    StackTrace:
    Error -: AIP-51505: General Validation Error: oracle.xml.parser.schema.XSDException: Start of root element expected.
         at oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin.processXMLDocument(CustomDocumentPlugin.java:815)
         at oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin.processOutgoingDocument(CustomDocumentPlugin.java:539)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1541)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:126)
         at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:797)
         at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:293)
    Caused by: oracle.xml.parser.schema.XSDException: Start of root element expected.
         at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:350)
         at oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin.processXMLDocument(CustomDocumentPlugin.java:772)
         ... 7 more
    Please help.
    Thanks in advance.
    Thanks and Regards,
    Kaavya

    Hi,
    Thanks for your reply.As OAGIS 9.0 xsd is not a single xsd it is the main xsd in which it imports multiple other xsd's.
    So,firstly I have defined only the Root xsd so it gave an error for the other xsd which were imported into that xsd ,then I have zipped all these xsd's and uploaded it and i have also mentioned the starting XSD File path as ProcessPurchaseOrder while defining the Document Definition.
    Thanks and Regards,
    Kaavya.

  • Can't create a JAXB binding for ejb-jar.xml using xjc

    Hi all,
    I have been trying to build a JAXB binding for EJB deployment descriptors, mainly because I have to update a hand-cranked ejb-jar.xml file on the fly with some additions that have come from a code generator.
    I have tried to use
    xjc ejb-jar_2_1.xsd j2ee_1_4.xsd ejb-jar_2_1.xsd
    xjc on the schema definitions I found at http://java.sun.com/xml/ns/j2ee/ but I can't get it to work. It produces reams of errors, see below for a short extract.
    Of course, someone could put me out of my misery and tell me where to find a binding that someone else has done. I can't be the first chimp on the planet that has wanted to do this!
    Any help much appreciated.
    errors:
    [WARNING] warning: "blockDefault" attribute of <schema> is not supported
    line 3 of xml.xsd
    [WARNING] warning: "finalDefault" attribute of <schema> is not supported
    line 3 of xml.xsd
    [WARNING] warning: <key> identity constraint will be ignored by JAXB validation
    line 117 of j2ee_web_services_client_1_1.xsd
    [WARNING] warning: <key> identity constraint will be ignored by JAXB validation
    line 115 of ejb-jar_2_1.xsd
    [WARNING] warning: <keyref> identity constraint will be ignored by JAXB validation
    line 129 of ejb-jar_2_1.xsd
    [WARNING] warning: <key> identity constraint will be ignored by JAXB validation
    line 145 of ejb-jar_2_1.xsd
    [WARNING] warning: <keyref> identity constraint will be ignored by JAXB validation
    line 159 of ejb-jar_2_1.xsd

    Exception initializing 'oracle.dbtools.raptor.MonitorJDBCAddin' in extension 'Oracle SQL Developer': oracle.classloader.
    util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.jdbc.OracleDriverThe Oracle driver is not on the classpath.

  • Problem in XSLT mapping

    Hello,
    I am working on XSLT mapping, where i am trying to add similar values but when i upload the .xsl file i get a Java Null pointer Error, this is the error :-
    *Cause: Unable to recognize the loaded document as valid XSD*
    *Error when parsing XSD document com.sap.aii.utilxi.xsd.api.XsdException: A schema must start with the tag <schema> that belongs to "http://www.w3.org/2001/XMLSchema" namespace*
    This is the complete XSLT file that m trying to upload.
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
         <!-- Build a key to group item by itemDescription -->
         <xsl:key name="itemDescription" match="salesOrder/item" use="itemDescription"/>
         <xsl:template match="/">
              <salesOrder>
                   <!-- iterate on each group -->
                   <xsl:for-each select="salesOrder/item[generate-id(.) = generate-id(key('itemDescription', itemDescription)[1]) ]">
                        <xsl:variable name="group" select="key('itemDescription', itemDescription)"/>
                        <xsl:variable name="itemDescription">
                             <xsl:value-of select="itemDescription"/>
                        </xsl:variable>
                        <xsl:variable name="itemRetailPrice">
                             <xsl:value-of select="sum($group/itemRetailPrice)"/>
                        </xsl:variable>
                        <xsl:variable name="itemSalePrice">
                             <xsl:value-of select="sum($group/itemSalePrice)"/>
                        </xsl:variable>
                        <!-- Generate the final XML file -->
                        <item>
                             <itemDescription>
                                  <xsl:value-of select="$itemDescription"/>
                             </itemDescription>
                             <itemRetailPrice>
                                  <xsl:value-of select="$itemRetailPrice"/>
                             </itemRetailPrice>
                             <itemSalePrice>
                                  <xsl:value-of select="$itemSalePrice"/>
                             </itemSalePrice>
                        </item>
                   </xsl:for-each>
              </salesOrder>
         </xsl:template>
    </xsl:stylesheet>
    Thanks !!
    Harpreet

    The message was 1 related to some errors at External definition. That y i asked that question.
    Are u getting any other error now?
    This looks distorted after posting
    Now for ur xsl file
    Instead of
    <xsl:for-each select="salesOrder/item[generate-id(.) = generate-id(key('itemDescription', itemDescription)1])">
    Use
    <xsl:for-each select="salesOrder/item[generate-id(.) = generate-id(key('itemDescription', itemDescription)[1]) ]">Regards,
    Prateek

  • BPM Composite Not Available Error

    Hi,
    Sometimes, after restarting the servers, I get the following error when I try to expand the BPM composite from soa_infra menu in Entreprise Manager:
    "The composite QuoteProcessLab (1.0) is not available. This could happen because either the composite has been undeployed or soa-infra has not yet loaded this composite..."
    This error indicates the non availability of the composite while the application, with its deployed version, appears in the soa-infra menu (left menu in EM).
    For my tests, I'm working on Oracle Enterprise Linux 5 and using Firefox 3.6.2 (also Google Chrome) as browser.
    Thanks for any help.
    Hanin
    Bellow is the server log.
    ####<Apr 12, 2010 3:07:05 PM CEST> <Error> <oracle.soa.services.rules> <caprica2.cec.eu.int> <soa_server1> <weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@254e8a> <<anonymous>> <> <cde56d80898fec18:-399ce2c1:127f2207b63:-7ffd-000000000000000e> <1271077625327> <BEA-000000> <<.> Duplicated definition for: 'ReviewObjectType'
    oracle.xml.parser.schema.XSDException: Duplicated definition for: 'ReviewObjectType'
         at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:765)
         at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:418)
         at oracle.bpel.services.rules.rpi.RuleEngineUtil.matchSchemaLocation(RuleEngineUtil.java:331)
         at oracle.bpel.services.rules.fabric.FabricUtil.querySchemaLocationFromMDS(FabricUtil.java:193)
         at oracle.bpel.services.rules.fabric.xml.RuleDictionarySchemaUsage.addToResultSet(RuleDictionarySchemaUsage.java:189)
         at oracle.bpel.services.rules.fabric.xml.RuleDictionarySchemaUsage.addToResultSet(RuleDictionarySchemaUsage.java:145)
         at oracle.bpel.services.rules.fabric.xml.RuleDictionarySchemaUsage.getComponentSchemaQNames(RuleDictionarySchemaUsage.java:113)
         at oracle.bpel.services.rules.fabric.xml.XmlSchemaCache.onInit(XmlSchemaCache.java:119)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.init(BusinessRulesServiceEngine.java:1265)
         at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.init(BusinessRulesServiceEngine.java:235)
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.activateComponents(CompositeDeploymentConnection.java:362)
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.commit(CompositeDeploymentConnection.java:269)
         at oracle.integration.platform.blocks.deploy.DeploymentTransactionManager.doCommit(DeploymentTransactionManager.java:108)
         at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:732)
         at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:701)
         at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:321)
         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy247.deploy(Unknown Source)
         at oracle.integration.platform.kernel.WLSFabricKernelInitializer$2.run(WLSFabricKernelInitializer.java:389)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    >
    ####<Apr 12, 2010 3:07:06 PM CEST> <Warning> <oracle.bpm.common> <caprica2.cec.eu.int> <soa_server1> <weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@254e8a> <<anonymous>> <BEA1-006C1DF8BBEFB27D1B7A> <cde56d80898fec18:-399ce2c1:127f2207b63:-7ffd-000000000000000e> <1271077626404> <BEA-000000> <cannot decide whether operation is two-way or not>
    ####<Apr 12, 2010 3:07:06 PM CEST> <Error> <oracle.soa.bpmn.engine.deployment> <caprica2.cec.eu.int> <soa_server1> <weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@254e8a> <<anonymous>> <BEA1-006C1DF8BBEFB27D1B7A> <cde56d80898fec18:-399ce2c1:127f2207b63:-7ffd-000000000000000e> <1271077626416> <BEA-000000> <<CubeProcessLoader::create>
    java.lang.NullPointerException
         at oracle.bpm.project.ActivityImpl$ParticipantReferenceAdapter.getId(ActivityImpl.java:2506)
         at oracle.bpm.bpmn.engine.map.builder.visitors.impl.ServiceTaskVisitorImpl.createMIVisitor(ServiceTaskVisitorImpl.java:37)
         at oracle.bpm.bpmn.engine.map.builder.visitors.impl.ServiceTaskVisitorImpl.createMIVisitor(ServiceTaskVisitorImpl.java:26)
         at oracle.bpm.bpmn.engine.map.builder.visitors.impl.MIAbstractBPMNActivityVisitor.visitActivity(MIAbstractBPMNActivityVisitor.java:34)
         at oracle.bpm.bpmn.engine.map.builder.visitors.impl.AbstractBPMNActivityVisitor.doVisit(AbstractBPMNActivityVisitor.java:33)
         at oracle.bpm.bpmn.engine.map.builder.visitors.impl.EventsVisitorHelper.visitElement(EventsVisitorHelper.java:88)
         at oracle.bpm.bpmn.engine.map.builder.visitors.impl.AbstractBPMNActivityVisitor.visitElement(AbstractBPMNActivityVisitor.java:43)
         at oracle.bpm.bpmn.engine.map.builder.visitors.impl.AbstractBPMNActivityVisitor.visitElement(AbstractBPMNActivityVisitor.java:22)
         at oracle.bpm.bpmn.engine.map.builder.visitors.impl.AbstractBPMNElementVisitor.visit(AbstractBPMNElementVisitor.java:36)
         at oracle.bpm.bpmn.engine.map.builder.visitors.impl.AbstractBPMNElementVisitor.visit(AbstractBPMNElementVisitor.java:27)
         at oracle.bpm.bpmn.engine.map.builder.visitors.ModelVisitor.compileActivitiesAux(ModelVisitor.java:226)
         at oracle.bpm.bpmn.engine.map.builder.visitors.ModelVisitor.compileActivities(ModelVisitor.java:190)
         at oracle.bpm.bpmn.engine.map.builder.visitors.ModelVisitor.visit(ModelVisitor.java:95)
         at oracle.bpm.bpmn.engine.map.builder.BPMNCubeMapBuilder.buildProcessBlock(BPMNCubeMapBuilder.java:145)
         at oracle.bpm.bpmn.engine.map.builder.BPMNCubeMapBuilder.build(BPMNCubeMapBuilder.java:80)
         at oracle.bpm.bpmn.engine.map.builder.BPMNCubeMapBuilder.buildMaps(BPMNCubeMapBuilder.java:64)
         at oracle.bpm.bpmn.engine.map.builder.BPMNCubeMap.load(BPMNCubeMap.java:94)
         at oracle.bpm.bpmn.engine.map.builder.BPMNCubeMapFactory.create(BPMNCubeMapFactory.java:50)
         at oracle.bpm.bpmn.engine.model.BPMNProcess.buildMaps(BPMNProcess.java:196)
         at com.collaxa.cube.engine.core.BaseCubeProcess.load(BaseCubeProcess.java:247)
         at oracle.bpm.bpmn.engine.model.BPMNCubeProcessor.createCubeProcess(BPMNCubeProcessor.java:98)
         at com.collaxa.cube.engine.deployment.CubeProcessFactory.create(CubeProcessFactory.java:61)
         at com.collaxa.cube.engine.deployment.CubeProcessLoader.create(CubeProcessLoader.java:112)
         at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:238)
         at com.collaxa.cube.engine.deployment.DeploymentManager.deployComponent(DeploymentManager.java:182)
         at com.collaxa.cube.ejb.impl.CubeServerManagerBean._deployOrLoadComponent(CubeServerManagerBean.java:726)
         at com.collaxa.cube.ejb.impl.CubeServerManagerBean.deployComponent(CubeServerManagerBean.java:114)
         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.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 $Proxy205.deployComponent(Unknown Source)
         at oracle.bpm.bpmn.engine.ejb.impl.BPMNServerManagerBean_6gbx7k_ICubeServerManagerLocalBeanImpl.deployComponent(BPMNServerManagerBean_6gbx7k_ICubeServerManagerLocalBeanImpl.java:736)
         at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:852)
         at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.load(BPMNServiceEngine.java:486)
         at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.load(BPMNServiceEngine.java:123)
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:239)
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:94)
         at oracle.integration.platform.blocks.deploy.CompositeDeployerImpl.deploy(CompositeDeployerImpl.java:149)
         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.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:69)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy247.deploy(Unknown Source)
         at oracle.integration.platform.kernel.WLSFabricKernelInitializer$2.run(WLSFabricKernelInitializer.java:389)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)

    Hi Hanin,
    I haven't seen this error before. Which version are you using? The original from early february or the update from mid-march?
    Is ReviewObjectType something you defined in your project?
    Heidi.

  • Bug report: Oracle schema parser/regex compiler failing valid xs:patterns

    Hello,
    The Oracle schema regex compiler does not allow valid patterns with more than a certain number of branches. An XSDException is thrown, namely 'invalid facet 'pattern' in element 'simpleType'.
    I have also tried using multiple <xs:pattern> elements, which also conforms to the official schema specification, but no luck there either.
    Here are my sample regexs which validate correctly against all branch examples in XML Spy 4.0:
    <!-- as single multi branchpattern-->
    <xs:pattern value="aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|purple|red|silver|teal|white|yellow|[A-Za-z]{1,2}[0-9]{2,4}|rgb\([0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1}\)"/>
    <!-- as multiple patterns-->
    <xs:pattern value="aqua|black|blue|fuchsia|gray|green|lime|maroon"/>
    <xs:pattern value="navy|olive|purple|red|silver|teal|white|yellow"/>
    <xs:pattern value="[A-Za-z]{1,2}[0-9]{2,4}"/>
    <xs:pattern value="rgb\([0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1}\)"/>
    (Note that the Oracle regex compiler will allow any one of these patterns, it is only when the compiler concatenates them as per the spec that the exception is thrown.)
    Here are the W3 specifications for patterns/schema regex, which impose no limit on pattern branches whether they are part of one or multiple xs:pattern 'value' attributes:
    (http://www.w3.org/TR/xmlschema-2/#regexs)
    [Definition:] A regular expression is composed from zero or more ·branch·es, separated by | characters.
    [Definition:] A branch consists of zero or more ·piece·s, concatenated together.
    (http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#rf-pattern)
    Schema Representation Constraint: Multiple patterns
    If multiple <pattern> element information items appear as [children] of a <simpleType>, the [value]s should be combined as if they appeared in a single ·regular expression· as separate ·branch·es.
    NOTE: It is a consequence of the schema representation constraint Multiple patterns (§4.3.4.3) and of the rules for ·restriction· that ·pattern· facets specified on the same step in a type derivation are ORed together, while ·pattern· facets specified on different steps of a type derivation are ANDed together.
    Thus, to impose two ·pattern· constraints simultaneously, schema authors may either write a single ·pattern· which expresses the intersection of the two ·pattern·s they wish to impose, or define each ·pattern· on a separate type derivation step.
    Many thanks
    Kevin Smith

    Hello,
    The Oracle schema regex compiler does not allow valid patterns with more than a certain number of branches. An XSDException is thrown, namely 'invalid facet 'pattern' in element 'simpleType'.
    I have also tried using multiple <xs:pattern> elements, which also conforms to the official schema specification, but no luck there either.
    Here are my sample regexs which validate correctly against all branch examples in XML Spy 4.0:
    <!-- as single multi branchpattern-->
    <xs:pattern value="aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|purple|red|silver|teal|white|yellow|[A-Za-z]{1,2}[0-9]{2,4}|rgb\([0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1}\)"/>
    <!-- as multiple patterns-->
    <xs:pattern value="aqua|black|blue|fuchsia|gray|green|lime|maroon"/>
    <xs:pattern value="navy|olive|purple|red|silver|teal|white|yellow"/>
    <xs:pattern value="[A-Za-z]{1,2}[0-9]{2,4}"/>
    <xs:pattern value="rgb\([0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1},[0-9]{1,3}%{0,1}\)"/>
    (Note that the Oracle regex compiler will allow any one of these patterns, it is only when the compiler concatenates them as per the spec that the exception is thrown.)
    Here are the W3 specifications for patterns/schema regex, which impose no limit on pattern branches whether they are part of one or multiple xs:pattern 'value' attributes:
    (http://www.w3.org/TR/xmlschema-2/#regexs)
    [Definition:] A regular expression is composed from zero or more ·branch·es, separated by | characters.
    [Definition:] A branch consists of zero or more ·piece·s, concatenated together.
    (http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes.html#rf-pattern)
    Schema Representation Constraint: Multiple patterns
    If multiple <pattern> element information items appear as [children] of a <simpleType>, the [value]s should be combined as if they appeared in a single ·regular expression· as separate ·branch·es.
    NOTE: It is a consequence of the schema representation constraint Multiple patterns (§4.3.4.3) and of the rules for ·restriction· that ·pattern· facets specified on the same step in a type derivation are ORed together, while ·pattern· facets specified on different steps of a type derivation are ANDed together.
    Thus, to impose two ·pattern· constraints simultaneously, schema authors may either write a single ·pattern· which expresses the intersection of the two ·pattern·s they wish to impose, or define each ·pattern· on a separate type derivation step.
    Many thanks
    Kevin Smith

  • XI3.0 SP13 doesn't like BuiltInType tag in OAGIS 9.0 QualifiedDataTypes.xsd

    I am on XI 3.0 SP13.
    I am not able to activate the OAGIS 9.0 QualifiedDataTypes.xsd after I imported it into integration builder.  Integration builder is poping up Internal Problem -java.lang.NullPointerException.
    The processing log reads:
    Activation of the change list canceled Check result for External Definition QualifiedDataTypes | http://xyz.com/xi/OAG/90/: Document check found errors  Cause: Unable to recognize the loaded document as valid XSD  Error when parsing XSD document com.sap.aii.utilxi.xsd.api.XsdException: Document is not valid xsd since it contains the <BuiltInType> tag
    The steps to recreated this problems:
    1. download OAGIS 9.0 schemas from http://www.openapplications.org/. It is in a zip file.  Unzip it somewhere in your PC.
    2. Find <your folder>\9.0\Resources\Components\CoreComponents\QualifiedDataTypes.xsd.
    3. Import this QualifiedDataTypes.xsd into Integration Builder as an External Defininition.
    4. Try to activate it. You will get the error.
    Tips appreciated. I have downloaded the exception log and can post it here if needed.
    Eddy
    [email protected]

    I found answer from Yahoo Group oagis-users.  I should reward myself some points.  lol.
    Here's the link. You may need to join the group first in order to see more.
    <a href="http://tech.groups.yahoo.com/group/oagis-users/message/1918">http://tech.groups.yahoo.com/group/oagis-users/message/1918</a>
    Here's part of the message:
    RE: [oagis-users] Re: OAG 8.0 is not valid as far as XmlSpy 2006 is c oncerned.
    This message is for OAGIS 9.
    I did some investigation and the problem Spy 2006 has turns out to be an issue
    with the original (UNCEFACT) QualifiedDataTypes.xsd and UnQualifiedDataTypes.xsd
    Schemas which, according to the OAG namespace declarations are based on Version
    1.1 and therefore I assume based on "XML Naming and Design Rules Draft 1.1, 14
    January 2005".
    First off the problem is only in the annotations/documentation and not with the
    content model. The NDR uses ccts:BuiltInType within the body of the document,
    but the Appendices (Schema Modules) use xsd:BuiltInType and xsd:BuiltinType. I
    changed these to be ccst:BuiltInType in the OAG Schemas and Spy 2006 is happy. I
    downloaded an eval version to check this out.
    Attached are the updated Schemas, unofficial of course. Note that I copied the
    Architecture Team.
    Regards,
    Kurt Kanaskie
    IT Application Architecture
    Lucent Technologies
    work: (908) 582-5883
    cell: (484) 695-1106
    Original Message-----
    From: [email protected] [mailto:[email protected]] On Behalf
    Of thom_at_work
    Sent: Sunday, October 30, 2005 8:21 PM

  • Error promoting reports using LCM: The kind 'Note' does not exist

    Hi,
    We are using BOXI3.1 with FixPack1.3 installed on a Windows 2003 Enterprise environment. We have installed Life Cycle Management for version management and content promotion. Our environment coneist of three server installations (Development, Test and Production).
    Our problem is that we are not able to promote reports from one environment to another. Wee are getting two different kind of errors, depending on the scenario:
    Error 1: For actual promotion
    Commit Status=Commit attempted and failed, Promotion Status=Failure : com.businessobjects.lcm.utilities.LCMException: com.businessobjects.sdk.biar.exception.XSDException$UnknownKindException: The kind 'Note' does not exist in the CMS. (FWM 04030)
    Error 2: For test promotion
    Commit Status=Commit attempted and failed, Promotion Status=Failure : com.businessobjects.lcm.utilities.LCMException: com.businessobjects.sdk.biar.exception.XSDException$ImportParsingException: Import file parsing exception occurred : 'Item 'ALLOW_DISCUSSION_THREADS' does not exist in enumeration 'Note_RightEnum'. (FWM 04016)' (FWM 04009) cause:com.businessobjects.sdk.biar.exception.XSDException$InvalidEnumItemException: Item 'ALLOW_DISCUSSION_THREADS' does not exist in enumeration 'Note_RightEnum'. (FWM 04016) detail:Import file parsing exception occurred : 'Item 'ALLOW_DISCUSSION_THREADS' does not exist in enumeration 'Note_RightEnum'. (FWM 04016)' (FWM 04009) Item 'ALLOW_DISCUSSION_THREADS' does not exist in enumeration 'Note_RightEnum'. (FWM 04016)
    This error happens for borth the Administrator user, and a user who are a member of the Administrator user group.
    We have tested following:
    1. Verify the user has at least view right for Custom Access Levels in CMC
    2. Verify the user has the 'Allow discussion thread' on the Note content on Top Level security in 'Folder' in CMC.
    3. We are getting the same error when exporting to BIAR
    4. The user have Full control of the LCM folder
    5. We have tested promotion with security option enabled
    We have also a test report where we have set Full Control and allow discussion thread explicit on the user.
    Have anyone experienced the same error and a suggestion for what can be wrong?
    Jøran
    Edited by: Jøran Kleiven on Feb 24, 2010 3:22 PM

    Hi,
    Could you tell me which table this object are in? I tried ci_infoobjects and ci_systemobjects, but it returned null.
    Jøran

  • FileReader message schema not found on deployment

    Hello,
    I'm developing a composite where I have a file reader adapter, and I'm specifying an existing schema (in my project) as the message schema.
    When I click on "browse for schema files", it correctly shows me the schema in my another project in the same application and correctly sets the schema element accordingly in jdeveloper.
    What happens though, is that the URL it sets is the absolute path on my development machine (file:/C:/JDeveloper/mywork/...../SampleAddress.xsd)
    When I go to deploy the composite on my development server weblogic, I get the following error:
    <Schema load failed due to: Error loading schema from oramds:/deployed-composites/default/ACSLegacyInterfaces_rev40001.0/ACSAddressFileReader.wsdl [Cause=Error in getting XML input stream: file:/C:/JDeveloper/mywork/SurveySpecificApplications/ACS/ACSXMLSchemas/SampleAddress.xsd: /C:/JDeveloper/mywork/SurveySpecificApplications/ACS/ACSXMLSchemas/SampleAddress.xsd (No such file or directory)]>
    oracle.fabric.common.wsdl.XSDException: Error loading schema from oramds:/deployed-composites/default/ACSLegacyInterfaces_rev40001.0/ACSAddressFileReader.wsdl [Cause=Error in getting XML input stream: file:/C:/JDeveloper/mywork/SurveySpecificApplications/ACS/ACSXMLSchemas/SampleAddress.xsd: /C:/JDeveloper/mywork/SurveySpecificApplications/ACS/ACSXMLSchemas/SampleAddress.xsd (No such file or directory)]
            at oracle.fabric.common.wsdl.SchemaBuilder.loadEmbeddedSchemas(SchemaBuilder.java:584)
            at oracle.fabric.common.wsdl.SchemaBuilder.loadSchemasFromWSDL(SchemaBuilder.java:456)
            at oracle.fabric.common.wsdl.SchemaBuilder.loadAllSchemas(SchemaBuilder.java:247)
            at oracle.fabric.common.wsdl.SchemaManager.loadAllXSD(SchemaManager.java:305)
            at oracle.fabric.common.wsdl.SchemaManager.getXSDEntityResolver(SchemaManager.java:528)
            at oracle.fabric.composite.model.CompositeModel.loadImports(CompositeModel.java:468)
            at oracle.fabric.composite.model.CompositeModel.getWSDLManager(CompositeModel.java:205)
            at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.load(WebServiceExternalBindingComponent.java:2039)
            at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.load(WebServiceExternalBindingComponent.java:132)
            at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployReferences(CompositeDeploymentConnection.java:201)
            at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:93)
            at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:185)
            at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.load(CompositeDeploymentManagerImpl.java:63)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Why is the built SAR contain the absolute path of the schema as was specified on my developer machine?  WHen I look in the project's SCA-INF/classes, I find the SampleAddress.xsd in there, shouldn't the built sar composite reference the SampleAddress from it's classpath or some other relative path within the SAR?  How do I fix this issue?
    Thanks!
    Ale

    Open the project in Jdev and modify the absolue path by a relative path.
    It should work fine after this.
    If the "artefact" comes from a external project then you have two choice :
    - either "import" the artefact inside your project and you will be able to use a relative path (check the box "copy into project")
    - either use "mds" to store the artefact in a unique point and target it
    regards,
    mathieu

  • XML Schema validation in JDeveloper 10.1.3.2.0 - is it namespace-aware?

    Hi everybody
    Look at the following simple xml schema:
    <?xml version="1.0" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="num" type="xsd:string"/>
    <xsd:element name="amount" type="xsd:integer"/>
    <xsd:element name="invoice">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="num"/>
    <xsd:element ref="amount"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="invoices">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="xsd:invoice" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    When I open it in JDeveloper 10.1.3.2.0 and choose "Validate XML", validation executes without errors.
    In spite of bad namespace declaration in <xsd:element ref="xsd:invoice" ...
    For example, in XML Spy validation of this schema ends with error: "'xsd:invoice' must refer to an existing element".
    If there any option on JDeveloper to turn on namespace-aware validation to prevent the above situation?

    hi
    Indeed, the "Validate XML" menu option only shows "Validate XML: 0 errors, 0 warnings.".
    But, if you look at the "Design" tab for your schema, the "invoices" element node contains an "xsd:invoice" sequence shown in red. If you change "xsd:invoice" to "invoice" this becomes white and the node can be expanded.
    One other thing, registering an XML Schema in JDeveloper like the one you posted, isn't possible without an "oracle.xml.parser.schema.XSDException" (without further details).
    regards
    Jan Vervecken

  • Errors generating Java classes from XML schema

    I received the following errors when generating Java classes from the schema located at: http://imsproject.org/xsd/ims_qti_rootv1p1.xsd and http://imsproject.org/xsd/ims_xml.xsd
    XML Spy v4 claims that the schema is well-formed and valid. Could this be a problem with the class generators, or is XML Spy not telling the truth?
    Thanks.
    D:\IMS_QTI\Java>java -classpath .;lib/xmlparserv2.jar;lib/xschema.jar;lib/classgen.jar oracle.xml.classgen.oracg -schema ims_qti_rootv1p1.xs
    d -outputDir src\com\icld\qti -package com.icld.qti -comment
    file:/D:/IMS_QTI/Java/ims_qti_rootv1p1.xsd<Line 235, Column 21>: XSD-2209: (Error) Duplicated definition for: 'attr.view'
    file:/D:/IMS_QTI/Java/ims_qti_rootv1p1.xsd<Line 303, Column 21>: XSD-2209: (Error) Duplicated definition for: 'grp.labels'
    file:/D:/IMS_QTI/Java/ims_qti_rootv1p1.xsd<Line 1834, Column -12236>: XSD-2209: (Error) Duplicated definition for: 'qtimetadatafield'
    file:/D:/IMS_QTI/Java/ims_qti_rootv1p1.xsd<Line 1834, Column -9642>: XSD-2209: (Error) Duplicated definition for: 'typeofsolutionType'
    file:/D:/IMS_QTI/Java/ims_qti_rootv1p1.xsd<Line 2252, Column -3019>: XSD-2026: (Error) Invalid attribute 'use' in element 'attribute'
    Error: Schema Class Generator failed to generate classes. oracle.xml.parser.schema.XSDException: Duplicated definition for: 'attr.view'

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jinyu Wang ([email protected]):
    Which version are you using? I can't reproduce the error with 9.0.2B version.<HR></BLOCKQUOTE>
    Thanks for having a look at the problem. I am using the 9.0.2.0B version with Java 2 Standard Edition Build 1.3.1-b24. The classgen -version option returns 9.0.2.0b-beta - and xmlparserv2.jar and xschema.jar are from the same distribution. Running the corresponding DTD from the same source work fine - I'm just havinf this problem with the XSD. Anything else I should look at?

  • Problem to validate XML document if the type of root element is abstract

    I have the following XML document:
    <?xml version="1.0" encoding="UTF-8"?>
    <ct013/>
    It corresponds to the following XSD Schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="ct013" type="foo"/>
         <xs:complexType abstract="true" name="foo"/>
         <xs:complexType name="fixedType">
              <xs:complexContent>
                   <xs:restriction base="foo"/>
              </xs:complexContent>
         </xs:complexType>
    </xs:schema>
    Please take attention to the fact that the type of root element of that BDD is abstract.
    XML Schema provides a mechanism to force substitution for a particular element or type. When an element or type is declared to be "abstract", it cannot be used in an instance document. When an element is declared to be abstract, a member of that element's substitution group must appear in the instance document. When an element's corresponding type definition is declared as abstract, all instances of that element must use xsi:type to indicate a derived type that is not abstract.
    Declaring an element as abstract requires the use of a substitution group. Declaring a type as abstract simply requires the use of a type derived from it (and identified by the xsi:type attribute) in the instance document.
    For more information of using abstract types please see chapter 4.7 Abstract Elements and Types of XML Schema Part 0: Primer Second (http://www.w3.org/TR/xmlschema-0/#abstract).
    In this case there is Oracle bug when I try to validate this XML document using Oracle XDK:
    String validate(String xml, String schema)
    throws XSDException, XMLParseException, SAXException, IOException
    System.setPropert("oracle.xml.parser.debugmode", "true");
    XSDValidator xsdValidator = new XSDValidator();
    XMLError xmlError = new XMLError();
    xmlError.setErrorHandler(new DocErrorHandler());
    XMLDocument xmlDocument = parseXMLDocument(xml);
    XMLDocument schemaXMLDocument = parseXMLDocument(schema);
    XMLSchema xmlSchema = (XMLSchema) new XSDBuilder().build(schemaXMLDocument, null);
    xsdValidator.setError(xmlError);
    xsdValidator.setSchema(xmlSchema);
    xsdValidator.validate(xmlDocument);
    return getValidationError(xsdValidator);
    I get the following error:
    Can't find resource for bundle oracle.xml.mesg.XMLResourceBundle, key XSD-2046.
    I tried to validate this XML document using two other libraries - XSD Schema Validator (http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx) and xsdvalid-29 (http://www.w3.org/XML/Schema#XSDValid). Both libraries pointed me on the error that the type of root element is abstract and it cannot be used for doing validation.
    I think that Oracle should return me explaining message but not to throw exception.
    Am I right? Is there really Oracle bug or I miss something?
    Any help, hits, advices would be gratfully apriciated.

    Define Element1 as follows:
    <xs:element name="Element1">
    <xs:complexType>
    <xs:complexContent>
    <xs:restriction base="xs:string"/>
    </xs:complexContent>
    </xs:complexType>
    </xs:element>
    Does the XML document get validated if the element is specified as
    <Element1></Element1>

Maybe you are looking for