Error: ...expected elements '[EMPTY]'

Using 2.0.1 version of xmlparserv2.jar, didn't get the
message: "Element {some element} not complete, expected
elements '[EMPTY]'.
Using version 2.0.2, getting this message...
Is this a bug, or is the field format:
<{some element} {element params}/>
no longer supported?
Robert
null

Oracle XML Team wrote:
: Robert Truitt (guest) wrote:
: : Using 2.0.1 version of xmlparserv2.jar, didn't get the
: : message: "Element {some element} not complete, expected
: : elements '[EMPTY]'.
: : Using version 2.0.2, getting this message...
: : Is this a bug, or is the field format:
: : <{some element} {element params}/>
: : no longer supported?
: : Robert
: Emtpy element syntax is of course still supported. This
message
: is the result of a validation failure against your DTD. It is
: likely a bug in 2.0.1 instead of 2.0.2.
: If you are not able to resolve it please post a test
case, .xml
: and .dtd).
: Oracle XML Team
: http://technet.oracle.com
: Oracle Technology Network
OK: I have simplified the .dtd and .xml, where it complains of
the '[EMPTY]' error under 2.0.2, and not under 2.0.1
:sample.dtd:
<!-- -->
<!ENTITY % DateField "
Month (01|02|03|04|05|06|07|08|09|10|11|12) #REQUIRED
Day
(01|02|03|04|05|06|07|08|09|10|11|12|13|14|15|16|17|18|19|20|21|2
2|23|24|25|26|27|28|29|30|31) #REQUIRED
Year
(1998|1999|2000|2001|2002|2003|2004|2005|2006|2007|2008|2009|2010
) #REQUIRED
Hour
(00|01|02|03|04|05|06|07|08|09|10|11|12|13|14|15|16|17|18|19|20|2
1|22|23) #REQUIRED
Minute
(00|01|02|03|04|05|06|07|08|09|10|11|12|13|14|15|16|17|18|19|20|2
1|22|23|24|25|26|27|28|29|30|
31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|55
|53|54|55|56|57|58|59) #REQUIRED
Second
(00|01|02|03|04|05|06|07|08|09|10|11|12|13|14|15|16|17|18|19|20|2
1|22|23|24|25|26|27|28|29|30|
31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|55
|53|54|55|56|57|58|59) #REQUIRED
">
<!ELEMENT BASE (DateTimestamp) >
<!ELEMENT DateTimestamp (EMPTY)>
<!ATTLIST DateTimestamp %DateField;>
:sample.xml:
<?xml version="1.0" ?>
<!DOCTYPE BASE SYSTEM "sample.dtd">
<BASE>
<DateTimestamp Month="09" Day="01" Year="1999" Hour="12"
Minute="00" Second="00"/>
</BASE>
null

Similar Messages

  • Error "expected element is missing: SMOKER_DT" running Get method

    Hello,
    We have PT 8.49 and we managed publish the WSDL for the CI-based Web Services for the PERSONAL_DATA component.
    Using JDeveloper, we managed to build a Web Service Proxy in Java to retrieves one or more record keys (EMPLID and NAME) using the Find method/operation.
    But when we try to use the Get operation to fetch the remaining properties of the Employee (such as Birth Date, etc) it gives us the above error, exactly when it is executing the following method:
    sRPersonalData = myPort.CI_RCUH_PERSONAL_DATA_G(sPersonalData);
    What are we doing wrong? We tried Peoplesoft support, but they say it is not their problem (third party).
    Here is the full code and the error:
    // Version = Oracle WebServices (10.1.3.3.0, build 070610.1800.23513)
    package model.proxy;
    import oracle.webservices.transport.ClientTransport;
    import oracle.webservices.OracleStub;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.Stub;
    import model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m355439.Get__CompIntfc__RCUH_PERSONAL_DATAResponseTypeShape;
    import model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m754285.EMPLIDTypeShape;
    import model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m754285.Get__CompIntfc__RCUH_PERSONAL_DATATypeShape;
    public class CI_RCUH_PERSONAL_DATA_PortClient {
    private model.proxy.CI_RCUH_PERSONAL_DATA_PortType _port;
    public CI_RCUH_PERSONAL_DATA_PortClient() throws Exception {
    ServiceFactory factory = ServiceFactory.newInstance();
    port = ((model.proxy.CIRCUH_PERSONAL_DATA)factory.loadService(model.proxy.CI_RCUH_PERSONAL_DATA.class)).getCI_RCUH_PERSONAL_DATA_Port();
    * @param args
    public static void main(String[] args) {
    try {
    model.proxy.CI_RCUH_PERSONAL_DATA_PortClient myPort = new model.proxy.CI_RCUH_PERSONAL_DATA_PortClient();
    System.out.println("calling " + myPort.getEndpoint());
    // Add your own code here
    myPort.setUsername("PS");
    myPort.setPassword("xxxxx");
    Get__CompIntfc__RCUH_PERSONAL_DATATypeShape sPersonalData = new Get__CompIntfc__RCUH_PERSONAL_DATATypeShape();
    Get__CompIntfc__RCUH_PERSONAL_DATAResponseTypeShape sRPersonalData;// = new Get__CompIntfc__RCUH_PERSONAL_DATAResponseTypeShape();
    EMPLIDTypeShape sEmplId = new EMPLIDTypeShape();
    sEmplId.set_value("12345");
    sPersonalData.setEMPLID(sEmplId);
    sRPersonalData = myPort.CI_RCUH_PERSONAL_DATA_G(sPersonalData);
    } catch (Exception ex) {
    ex.printStackTrace();
    * delegate all operations to the underlying implementation class.
    CI_RCUH_PERSONAL_DATA_G
    public model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m355439.Get__CompIntfc__RCUH_PERSONAL_DATAResponseTypeShape CI_RCUH_PERSONAL_DATA_G(model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m754285.Get__CompIntfc__RCUH_PERSONAL_DATATypeShape parameter) throws java.rmi.RemoteException, model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m724133.ErrorTypeShape {
    return port.CIRCUH_PERSONAL_DATA_G(parameter);
    * used to access the JAX-RPC level APIs
    * returns the interface of the port instance
    public model.proxy.CI_RCUH_PERSONAL_DATA_PortType getPort() {
    return _port;
    public String getEndpoint() {
    return (String) ((Stub) port).getProperty(Stub.ENDPOINT_ADDRESS_PROPERTY);
    public void setEndpoint(String endpoint) {
    ((Stub) port).setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, endpoint);
    public String getPassword() {
    return (String) ((Stub) port).getProperty(Stub.PASSWORD_PROPERTY);
    public void setPassword(String password) {
    ((Stub) port).setProperty(Stub.PASSWORD_PROPERTY, password);
    public String getUsername() {
    return (String) ((Stub) port).getProperty(Stub.USERNAME_PROPERTY);
    public void setUsername(String username) {
    ((Stub) port).setProperty(Stub.USERNAME_PROPERTY, username);
    public void setMaintainSession(boolean maintainSession) {
    ((Stub) port).setProperty(Stub.SESSION_MAINTAIN_PROPERTY, Boolean.valueOf(maintainSession));
    public boolean getMaintainSession() {
    return ((Boolean) ((Stub) port).getProperty(Stub.SESSION_MAINTAIN_PROPERTY)).booleanValue();
    * returns the transport context
    public ClientTransport getClientTransport() {
    return ((OracleStub) _port).getClientTransport();
    C:\jdeveloper\jdk\bin\javaw.exe -client -classpath C:\jdeveloper\jdev\mywork\PersonalDataG2\Model\classes;C:\jdeveloper\lib\xmlparserv2.jar;C:\jdeveloper\lib\xml.jar;C:\jdeveloper\j2ee\home\lib\activation.jar;C:\jdeveloper\j2ee\home\lib\ejb.jar;C:\jdeveloper\j2ee\home\lib\jms.jar;C:\jdeveloper\j2ee\home\lib\jta.jar;C:\jdeveloper\j2ee\home\lib\mail.jar;C:\jdeveloper\j2ee\home\lib\servlet.jar;C:\jdeveloper\webservices\lib\jaxrpc-api.jar;C:\jdeveloper\webservices\lib\wsclient.jar;C:\jdeveloper\webservices\lib\wsserver.jar;C:\jdeveloper\webservices\lib\wssecurity.jar;C:\jdeveloper\webservices\lib\wsdl.jar;C:\jdeveloper\webservices\lib\orasaaj.jar;C:\jdeveloper\webservices\lib\saaj-api.jar;C:\jdeveloper\webservices\lib\orawsdl.jar;C:\jdeveloper\webservices\lib\orawsrm.jar;C:\jdeveloper\webservices\lib\jaxr_api.jar;C:\jdeveloper\webservices\lib\orajaxr.jar;C:\jdeveloper\webservices\lib\relaxngDatatype.jar;C:\jdeveloper\webservices\lib\jaxb-impl.jar;C:\jdeveloper\webservices\lib\jaxb-libs.jar;C:\jdeveloper\webservices\lib\xsdlib.jar;C:\jdeveloper\webservices\lib\mdds.jar;C:\jdeveloper\jlib\jaxen.jar;C:\jdeveloper\jlib\oraclepki.jar;C:\jdeveloper\jlib\ojpse.jar;C:\jdeveloper\jlib\osdt_core.jar;C:\jdeveloper\jlib\osdt_cert.jar;C:\jdeveloper\jlib\osdt_xmlsec.jar;C:\jdeveloper\jlib\osdt_wss.jar;C:\jdeveloper\jlib\osdt_saml.jar;C:\jdeveloper\jlib\repository.jar;C:\jdeveloper\jlib\ojmisc.jar;C:\jdeveloper\j2ee\home\lib\http_client.jar;C:\jdeveloper\j2ee\home\jazncore.jar;C:\jdeveloper\j2ee\home\oc4jclient.jar;C:\jdeveloper\rdbms\jlib\xdb.jar;C:\jdeveloper\diagnostics\lib\ojdl2.jar;C:\jdeveloper\jakarta-taglibs\commons-logging-1.0.3\commons-logging-api.jar;C:\jdeveloper\jakarta-taglibs\commons-logging-1.0.3\commons-logging.jar;C:\jdeveloper\BC4J\lib\adfshare.jar;C:\jdeveloper\BC4J\lib\adfm.jar;C:\jdeveloper\BC4J\lib\collections.jar;C:\jdeveloper\BC4J\jlib\adfui.jar;C:\jdeveloper\BC4J\lib\adfbinding.jar;C:\jdeveloper\BC4J\jlib\adfmtl.jar model.proxy.CI_RCUH_PERSONAL_DATA_PortClient
    calling http://webapp/PSIGW/PeopleSoftServiceListeningConnector
    expected element is missing: SMOKER_DT
         at model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m355439.runtime.PERS_SMOKERTypeShape_LiteralSerializer.doDeserialize(PERS_SMOKERTypeShape_LiteralSerializer.java:86)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
         at model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m355439.runtime.Get__CompIntfc__RCUH_PERSONAL_DATAResponseTypeShape_LiteralSerializer.doDeserialize(Get__CompIntfc__RCUH_PERSONAL_DATAResponseTypeShape_LiteralSerializer.java:1105)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
         at model.proxy.runtime.CI_RCUH_PERSONAL_DATA_Binding_Stub._deserialize_CI_RCUH_PERSONAL_DATA_G(CI_RCUH_PERSONAL_DATA_Binding_Stub.java:133)
         at model.proxy.runtime.CI_RCUH_PERSONAL_DATA_Binding_Stub._readFirstBodyElement(CI_RCUH_PERSONAL_DATA_Binding_Stub.java:119)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:333)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
         at model.proxy.runtime.CI_RCUH_PERSONAL_DATA_Binding_Stub.CI_RCUH_PERSONAL_DATA_G(CI_RCUH_PERSONAL_DATA_Binding_Stub.java:76)
         at model.proxy.CI_RCUH_PERSONAL_DATA_PortClient.CI_RCUH_PERSONAL_DATA_G(CI_RCUH_PERSONAL_DATA_PortClient.java:65)
         at model.proxy.CI_RCUH_PERSONAL_DATA_PortClient.main(CI_RCUH_PERSONAL_DATA_PortClient.java:47)
    Process exited with exit code 0.
    Appreciate the help
    Mohamed

    Hi Pete, the fact that IE cant display it is nither here nor there, thast just a test I suppose to see if
    the XML file is valid. After I put the file through
    the method of wipping the bad chars, IE can display it
    no problem. Since you haven't posted any bad chars, we can't know whether or not that is a problem. If no encoding is given, IE may well assume Cp1252 rather than UTF-8. Alternatively, your bad chars may actually be bad chars-ie you are not producing valid UTF-8. Either way you end up with no capability to parse the stream.
    But ,even still that IE can display the XML file with no complaint, my java app still
    complains that the root element is missing. Then there's probably something else wrong.
    Do my parser always and only read in encoding="UTF-8", or can they swap between styles depening on how the XML
    file is delcared in the very first tag.All XML processors MUST accept the UTF-8 and UTF-16 encodings of Unicode 3.1. If nothing is present, then it should assume UTF-8, otherwise if the stated encoding is supported then it uses that.
    Even if it doesnt start with BOM would you sudgest I take out the first line and replace it with what you
    said "<?xml version="1.0" encoding="UTF-8">". The clients know they should be making there doc with
    UTF-8, and if its anything else then its tuff titty. It should eliminate one possible bug- that the parser is not treating the charactier data as UTF-8, even though it should (assuming there are no mime-headers that give a different character encoding).
    Post a hex dump with the bad chars and with the first few lines of your file, so we can actually see what the data is.
    Pete

  • Error: Invalid element 'servlet' in content of 'web-app'

    Hi,
    I m working on a project that includes JSPs, whenever I wanna add JSP to my project it shows following compilation error:
    Invalid element 'servlet' in content of 'web-app', expected elements '[error-page, taglib, resource-env-ref, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref, ejb-local-ref]'
    I have thoroughly checked the web.xml. It is perfectly alright. It is as follows:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    <servlet>
    <servlet-name>myServlet</servlet-name>
    <servlet-class>com.project.MainServlet</servlet-class>
    <init-param>
    Long postings are being truncated to ~1 kB at this time.

    The Complete web.xml is as follows:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    <servlet>
    <servlet-name>montana</servlet-name>
    <servlet-class>com.masstech.montana.boundary.uii.MainServlet</servlet-class>
    <init-param>
    <param-name>db</param-name>
    <param-value>MontanaDS</param-value>
    </init-param>
    <init-param>
    <param-name>user</param-name>
    <param-value>MS</param-value>
    </init-param>
    <init-param>
    <param-name>password</param-name>
    <param-value>MS</param-value>
    </init-param>
    </servlet>
    <servlet>
    <servlet-n[i]Long postings are being truncated to ~1 kB at this time.

  • XML Parsing Error: no element found Location:Line Number 1, Column 1:

    Hi,
    i have a servlet code in which i am using bouncy castle encryption algorithm , if i tried to run that servlet on embeded weblogic server than my servlet works fine without error.
    but if i deploy same Servlet code on SOA domain console than i get following error.
    XML Parsing Error: no element found
    Location: http://localhost:7001/Encryption-PGPEncrypt-context-root/pgpservlet
    Line Number 1, Column 1:
    Please help me friends...

    Hi Chandra,
    Based on my research, the error message is only generated by FireFox when the render page is blank in Internet. For some reason, .NET generates a response type of "application/xml" when it creates an empty page. Firefox parses the file as XML and finding
    no root element, spits out the error message.
    Also, based on your description, the other sites are opened correctly, the issue only happened in Central Administration(CA). This means the SharePoint services are working fine.
    Since this issue only occurred in the CA, it might be due the application pool for the CA is corrupted. Please try to restart the application pool for the CA to resove the issue:
    1. Open Internet Information Service(IIS)
    2. List the application pools
    3. Select the application pool used for the CA
    4. Stop it, and then start it again.
    Note, if the application pool is running in Classic mode, please change it to be Integrated mode.
    Additionally, I found a similar thread, which may help you too:
    http://social.msdn.microsoft.com/Forums/en/sharepoint2010general/thread/824d7dda-db03-452b-99c4-531c5c576396
    If you have any more questions, please feel free to ask.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

  • Version 4 Error: Expected Container, found Object Reference

    We're in the process of upgrading our sequences from 3.5 to
    4.0 and for the most part, everything is seamless.  However, there is one situation I’ve found
    that throws a RTE in 4.0 but works fine in 3.5. 
    When calling SetPropertyObject on an object reference, the following
    error is thrown:
    Parameter 'newValue': Expected Container, found Object Reference.
    -17308; Specified value does not have the expected type.
    Attached is a sequence snippet illustrating this
    behavior.  The last step should assign
    the variable in Parameters with the name in TempStr (“Fred” in this example) to
    the first element in the TraceObjRefs array (an array of object references).  
    What is really confounding is that this works as expected in
    3.5.  Any insight as to what changed or
    what’s the best way to work around this?
    Attachments:
    AliasBreak35.seq ‏46 KB

    We are seeing something similar in TS 4.1.
    We have a container with subproperties which are also containers (of the same type actually). Technically, this is an array, we are using the container to be able to address by name. When I extract one of the sub-properties either by GetPropertyObject or by GetNthSubproperty and then try to assign it to a container of the same type, I get the error "Expected container, found object reference".
    I attached a sequence with some experiments, using the NI_Limits type  and found a solution: the Evaluate method seems to actually copy the values from the source container to the target; but only when it is not called as "PropertyObject.Evaluate()" but stand alone.
    But I did not quite understand the mechanics of the aliases. In the sequence, I create an alias, as indicated in the previous posts. Then I can apparently not change that alias again. I used the "Data" member in the NI_Limits container to differentiate between the individual containers.
    After the second SetPropertyObject, the value stays the same as before. But when I then change the value in one of the source objects, the other changes with it.
    So I am not quite clear what an alias actually is and what its effects are.
    Regards
    Peter
    Attachments:
    TestObjRef.seq ‏6 KB

  • [Application Update Error] - The element 'Field' in namespace 'urn:deployment-manifest-schema' cannot contain text.

    Hello,
    I developed a custom SharePoint 2013 Application (SharePoint hosted) and everything works fine. If I tried to update the application and I ran into the following error:
    The element 'Field' in namespace 'urn:deployment-manifest-schema' cannot contain text. List
    of possible elements expected: any element in namespace '##any'.
    If I redeploy the application (without update, just a new instance) everything works fine. Only the update scenario throws the exception above. 
    I tried different things to solve that issue:
    I recreated the feature
    I checked all the custom field definitions, content types and lists inside the app. 
    I tried different O365 tenants and a SharePoint 2013 On Premise Development Server (Same problem on all systems)
    Can anybody give me a tip to solve that problem?
    Thanks in advance

    Hi,
    According to your description, when you try to update your SharePoint Hosted App, an error occurs.
    To narrow down the issue, I would suggest you create a simple app without other components in it, deploy it and then update it to see if this error will still occur.
    Once you get a workable app without the update issue, then you can add other customizations one after one in this app and perform the update. By doing this, it would
    be easier to find out the root cause.
    Anyway, you can take a look at the link below about updating app for more information:
    http://msdn.microsoft.com/en-us/library/office/dn265910(v=office.15).aspx
    Feel free to reply if there any progress.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • Invalid element 'servlet' in content of 'web-app', expected elements [.....

    I'm receiving the following error when I build a web app.
    Invalid element 'servlet' in content of 'web-app', expected elements [.....
    I have been trying to configure cactus struts testing as described here:
    http://jakarta.apache.org/cactus/integration/howto_config.html.
    I've a feeling it's a problem with my web.xml file (perhaps the order I have defined the elements) can anyone help?
    My web.xml is as follows
    <web-app>
    <description>web.xml file for Scorecards Application</description>
    <filter>
    <filter-name>FilterRedirector</filter-name>
    <filter-class>org.apache.cactus.server.FilterTestRedirector</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>FilterRedirector</filter-name>
    <url-pattern>/FilterRedirector</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>ServletRedirector</servlet-name>
    <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>JspRedirector</servlet-name>
    <jsp-file>/jspRedirector.jsp</jsp-file>
    </servlet>
    <servlet-mapping>
    <servlet-name>ServletRedirector</servlet-name>
    <url-pattern>/ServletRedirector</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>JspRedirector</servlet-name>
    <url-pattern>/JspRedirector</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/config/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>debug</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>validate</param-name>
    <param-value>true</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <taglib>
    <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
    </taglib>
    <resource-ref>
    <description>SCR Production Data Connection</description>
    <res-ref-name>jdbc/SCRproductionDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    ------------------------------------------------------------------------------

    I don't think you are allowed to mix the servlet mapping entries in among the servlet entries. You should do all the servlet entries and then all the servlet mapping entries.

  • In xsd error " expected name insted of "

    I am new to xsd ... i got some sxd from My frd
    while am copying that xsd in j dev am getting error "expected name insted of "
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <xs:schemaxmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.raj.com/e1/rajcenterbom"
    targetNamespace="http://www.raj.com/e1/rajcenterbom"
    elementFormDefault="qualified">
    <xs:element name="DATA">
    </xs:schema>
    Please help me

    Hay ...
    I got this ... its very silly prob
    thanks and regards
    rky

  • "No Disk" Error (premiere elements 11)

    I have successfully installed Adobe Premiere Elements 11 on my PC:
         Dell XPS 8300 
         Intel Core i7-2600 Quad Core (3.4 GHz, 8MB Cache)
         • 1GB Radeon HD 6450 Graphics
         • 16GB DDR3 1333 RAM
         • 1TB 7,200RPM Hard Drive (2 x 500GB RAID 0)
         • Windows 7 Home Premium 64-Bit
    When I open the application and click "New Project" I get the following error message:
    AdobePremiereElements.exe - No Disk
    There is no disk in the drive.  Please insert a disk into drive
         \Devices\harddisk2\DR3
    I can "cancel", "try again", or "continue".  The only thing that works is to hit "cancel"  (several times).  Premiere Elements will then open, but the error message will keep recurring.   Adobe Support (Chat) has not been much help.
    Anyone else come across this?  This seems to be a common error in earlier versions (version 9), but I can't seem to find any good solution to it.   HELP!!!!
    UPDATE:   Just as an FYI..while it's possible (but doubtful) there is preloaded software interfering, there is no other software (or viruses) installed on this computer.
    Message was edited by: [email protected]

    Boomps, I installed from here and it worked fine:     http://helpx.adobe.com/premiere-elements/kb/installing-smartsound.html There are even step-by-step instructions.  Good luck.
    Date: Mon, 7 Jan 2013 04:46:21 -0700
    From: [email protected]
    To: [email protected]
    Subject: "No Disk" Error (premiere elements 11)
        Re: "No Disk" Error (premiere elements 11)
        created by BoompsXXX in Premiere Elements - View the full discussion
    Not an answer!! I am new to this. I get the same error message and from what I can gather reading the traffic, I have to reinstall Smart sound. Can anyone help a simpleton. I searched the DVD for all files referencing Smart sount, there is plenty. I don't really understand how I reinstall and what??Any help would be great!!ThanksTara
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4973936#4973936
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4973936#4973936
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4973936#4973936. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Premiere Elements by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How to fix Syntax Error: Expected end of line, etc. but found end of script. in applescript?

    I am making an applescript for my modding tool for Minecraft. It used to use multiple apps and I am now trying to make one app for all the tasks.
    Here is the code:
    say "You are running iCraft version one point one for minecraft version 1.2.5"
    display dialog "Which tool do you want to use?" buttons {"Mod Installer", "Backup", "Restore"} default button 3
    set the button_pressed to the button returned of the result
    if the button_pressed is "Mod Installer" then
    do shell script "~/desktop/iCraft/iCraft.app/contents/re…
    display dialog "Insert all mod files into the Mods folder."
    display dialog "Have you inserted all Mod files into the Mods folder?" buttons {"Yes", "No"} default button 2
    if the button_pressed is "Yes" then
    do shell script "~/desktop/iCraft/iCraft.app/contents/re…
    display dialog "Finished"
    else
    display dialog "Insert mod files into the Mods folder and restart iCraft.app."
    end if
    if the button_pressed is "Backup" then
    display dialog "Are you sure you want to backup your Minecraft.jar in it's current state?" buttons {"Yes", "No"} default button 2
    if the button_pressed is "Yes" then
    do shell script "~/desktop/iCraft/iCraft.app/contents/re…
    display dialog "Finished, find it in your Backups directory in the iCraft folder"
    else
    display dialog "Backup aborted"
    end if
    if the button_pressed is "Restore" then
    display dialog "Are you sure you want to restore your Minecraft.jar with your backup?" buttons {"Yes", "No"} default button 2
    if the button_pressed is "Yes" then
    do shell script "~/desktop/iCraft/iCraft.app/resources/s…
    else
    display dialog "Restore aborted"
    end if
    end
    When I try to compile/run it gives me Syntax Error: Expected end of line, etc. but found end of script.

    Your script got mangled when pasting it into your message, but the main problem looks like you are missing a bunch of end if statements.  Unless your if statements are contained on one line, you need to terminate them with a matching end if statement - for example, the following are equivalent:
    if someString is "whatever" then display dialog "foo"
    if someString is "whatever" then
      display dialog "foo"
    end if

  • XML Parsing Error: no element found Line Number 1, Column 1:

    Hi All,
    I have deployed EAR on my standalone server using JDEV 11.1.1.6.0. I am able to get the WSRP portlet producer page on
    http://<server>:7001/contextRoot. But when i try to click on any of the WSDL URL it gives me "XML Parsing Error: no element found Line Number 1, Column 1:"
    and from IE it gives me: XML document must have a top level element. Error processing resource
    there can be a issue with the WSRPContainer.jar file. So i have remove it from my deployment profile, EAR and lib/classpath files.
    Can you please suggest a workaround.
    Regards,
    ND
    Edited by: ND on Dec 4, 2012 9:57 PM

    Hi All,
    this error normally comes when the WLS domain is not not properly created. if you get some exception for ./provesecurity.sh file while creating the domain, then the XML error comes.
    I did not went into the depth but figured out a workaround: restart the VM/hosted box and then create the domain, remember to use diff port name while creating it from the domain creation script.
    Regards,
    ND

  • XML Parsing Error: no element found In BI Publisher

    Hi Gurus,
    I tried to get XML output for a Data Model which was based on SQL queries.
    But I got the following error in Firefox
    XML Parsing Error: no element found
    Location: http://localhost:9704/xmlpserver/servlet/xdo
    Line Number 4, Column 1:
    In IE I got an other error:
    There is no end tag for DATA_SET
    Any ideas?
    Many thanks
    Laszlo

    Hi,
    I use 11g.
    I tried to create element link when I got this error.
    Now I am using groupink.
    Without using bind variable I got result (Cartesian product)
    However if i created and used bind variable I got the same error
    this is a dept data set:
    select     "DEPARTMENTS"."DEPARTMENT_ID" as DEPTNO,
         "DEPARTMENTS"."DEPARTMENT_NAME" as "DEPARTMENT_NAME",
         "DEPARTMENTS"."LOCATION_ID" as "LOCATION_ID",
         "DEPARTMENTS"."MANAGER_ID" as "MANAGER_ID"
    from     "HR"."DEPARTMENTS" "DEPARTMENTS"
    this is the emp data set:
    select     "EMPLOYEES"."COMMISSION_PCT" as "COMMISSION_PCT",
         "EMPLOYEES"."DEPARTMENT_ID" as "DEPARTMENT_ID",
         "EMPLOYEES"."EMAIL" as "EMAIL",
         "EMPLOYEES"."EMPLOYEE_ID" as "EMPLOYEE_ID",
         "EMPLOYEES"."FIRST_NAME" as "FIRST_NAME",
         "EMPLOYEES"."HIRE_DATE" as "HIRE_DATE",
         "EMPLOYEES"."JOB_ID" as "JOB_ID",
         "EMPLOYEES"."LAST_NAME" as "LAST_NAME",
         "EMPLOYEES"."MANAGER_ID" as "MANAGER_ID"
    from     "HR"."EMPLOYEES" "EMPLOYEES"
    WHERE "EMPLOYEES"."DEPARTMENT_ID" =:DEPTNO
    Thanks for any tip!
    Laszlo

  • Error rendering element. Exception: ORA-00942: table or view does not exist

    Guru,
    We are maintaining 10 internal Database through OEM 10g and using seesded reports.
    When we try to create simple custom reports against one of the Target database , its failing with following error message ,
    Query : select * from v$database
    Error rendering element.
    Exception: ORA-00942: table or view does not exist
    select * from dual & v$session working ( But query execution happeniing from Reposistory Database not from Target instance  )
    Note:
    I have reviewed thred "getting ORA-00942 while running report in GC"
    Please give some light .
    Regards,
    Raju

    This is an EM related question so I would suggest you post in the appropriate space "Enterprise Manager" -- https://forums.oracle.com/community/developer/english/enterprise_management/enterprise_manager/enterprise_manager_6
    You may also review (In Grid Control 10.2, Creating a Report to Query 'V$SESSION 'Fails: 'Error Rendering Element. Exception: ORA-00942 Table Or View Does Not Exist' (Doc ID 356755.1)) and implement the solution for v$database
    Thanks,
    Hussein

  • AppleScript -  Syntax Error: Expected end of line found """.

    The following AppleScript code works on Tiger and Snow Leopard but not on Leopard (10.5 > 10.5.8).
    tell application "FileMaker Pro"
    tell database "SomeDB.fp5"
    -- some code to execute
    end tell
    end tell
    In Leopard, the code won't compile and is complaining of a Syntax Error: Expected end of line found """. I click OK and then the quote symbol ( " ) to the left of SomeDB.fp5 is highlighted.
    Has anyone else experienced this and have resolved this in Leopard?
    Thanks

    If you copy/pasted the script from somewhere, the line endings in the source may not be translating. Try replacing the line endings (the return) on the lines around the one that is being highlighted.

  • Error "Expected end of color space" when opening converted OTF - PDF.

    Hi experts,
    I need help. I'm converting from otf to pdf and it works fine. However when i tried putting a bitmap 256 color to the smartform and generate pdf with CONVERT_OTF FM the pdf result in an error "Expected end of color space" when opening the document and it goes blank.
    Can anyone tell why ?
    Thanks,
    Felix

    Hi Peter,
    I can open it with another acrobat version. However, the image is not displayed. Do you know why?
    Thanks

Maybe you are looking for

  • Slow Browsing and Streaming

    Since last Monday ive had extremely sluggish browsing speeds and buffering video even on low settings, my speed tests come back around 44mb (My ip profile was 63mb and is now lowered 47mb) and on applications like Steam I am getting those speeds, but

  • Installing and Upgrading Mac OS X 10.6 with Boot Camp

    Hi I have the iMac 2.4 GHz (Mid 2007). The Operating System was 10.5 but used to run Windows via Boot Camp with a 50:50 Hard Drive partition for Mac OS and Windows. Yesterday I purchased Snow Leopard, went to install it, after the installation it sai

  • Web AS 6.4 installation (Oracle 9.2)

    Hi all, Is it ok to install Java Central Instance(first and third step of Web AS 6.4 installation) on Windows2k3, and install Java DataBase(second step of Web AS 6.4 installation) on IBM AIX 5, Oracle 9.2 also installed on AIX? What things I need to

  • I have an iMac and a MacBook. Do I have to pay twice for Pages?

    I have an iMac running Lion, and a MacBook running Snow Leopard. I want to buy Pages. Do I have to buy it twice, or can I download it to the iMac and copy it to the laptop? Thanks for any help.

  • ...And I Thought it Would Never Happe

    I've had my black zen micro for six months now and I've been reading about the well known headphone jack problem, although I just brushed you all off as being careless :P!!!!!!!! But nope, boy was wrong ! Just walking to work one day I started to get