Document is invalid.No grammar found.
Hi
I am getting the following error while creating Document object as follows:
Document is invalid.No grammar found.
Java code:
String DEFAULT_SAX_DRIVER_CLASS = "org.apache.xerces.parsers.SAXParser";
org.jdom.input.SAXBuilder builder = new SAXBuilder(DEFAULT_SAX_DRIVER_CLASS, true);
Document doc = builder.build("test.xml");XML code:
<?xml version = '1.0'?>
<ROWSET xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="test1.xsd">First few lines XSD :
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="ROWSET">
<xs:complexType>
<xs:sequence>
<xs:element name="ROW" minOccurs="1" maxOccurs="unbounded">Both the XML and XSD are in the same folder.The wierd thing is that it is working in my local system.But it throws the above error in another system.
Any inputs?
Thanks
Hi
I am not able to validate a xml file using SAX parser.Here is the code:
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
import java.io.FileReader;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
public class PatientDriver
public static void main(String[] args) {
try{
SAXParserFactory spf = SAXParserFactory.newInstance();
spf.setFeature("http://apache.org/xml/features/validation/schema", true);
spf.setFeature("http://xml.org/sax/features/validation", true);
spf.setValidating(true);
spf.setNamespaceAware(true);
SAXParser parser = spf.newSAXParser();
//SETTING THE FOLLOWING PROPERTIES RESULTS IN ERROR
//parser.setProperty("http://java.sun.com/xml/properties/jaxp/schemaLanguage",
//"http://www.w3.org/2001/XMLSchema");
//parser.setProperty("http://java.sun.com/xml/properties/jaxp/schemaSource",
//"patient.xsd") ;
InputSource source = new InputSource(new FileReader("sms_xml_sls.xml"));
PatientHandler handler = new PatientHandler();
parser.parse(source,(DefaultHandler)handler);
handler.handlePatients();
} catch (Exception e){
System.out.println("Error while parsing" + e.getMessage());
xsd
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
XML
<?xml version = '1.0'?>
<ROWSET xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="patient.xsd">
Any inputs?I tried using Xerces instead of JAXP but of no use.......
Similar Messages
-
"Document is invalid" errors in amSession devug log on J2EE Polciy Agent 2.
Hi,
I am seeing the following errors in our amSession debug log for our WebLogic Policy Agent 2.1 and am not sure why we would see these and if they should be of concern:
06/13/2006 02:39:38:412 PM EDT: Thread[ExecuteThread: '21' for queue: 'weblogic.kernel.Default',5,Thread Gr
oup for Queue: 'weblogic.kernel.Default']
WARNING: Document root element "SessionResponse", must match DOCTYPE root "null".
06/13/2006 02:39:38:412 PM EDT: Thread[ExecuteThread: '21' for queue: 'weblogic.kernel.Default',5,Thread Gr
oup for Queue: 'weblogic.kernel.Default']
WARNING: Document is invalid: no grammar found.
06/13/2006 02:41:14:583 PM EDT: Thread[ExecuteThread: '21' for queue: 'weblogic.kernel.Default',5,Thread Gr
oup for Queue: 'weblogic.kernel.Default']
WARNING: Document root element "SessionResponse", must match DOCTYPE root "null".
06/13/2006 02:41:14:584 PM EDT: Thread[ExecuteThread: '21' for queue: 'weblogic.kernel.Default',5,Thread Gr
oup for Queue: 'weblogic.kernel.Default']
WARNING: Document is invalid: no grammar found.
06/13/2006 02:41:14:599 PM EDT: Thread[ExecuteThread: '21' for queue: 'weblogic.kernel.Default',5,Thread Gr
oup for Queue: 'weblogic.kernel.Default']
Does anyone know what could be causing these errors in the AMAgent?
Thanks!Hello
I got the same error with Policy Agent 2.1 for Tomcat 4.1.27.
AM version is 2004Q2.
Did you solve your issue?
regards,
Y. -
An error occurred while parsing DA Hierarchy : Document is invalid: no gram
When logging in to Portal Administration, I am seeing the following error. Please help me resolve this problem. Many thanks.
An exception has been thrown while trying to render this page.
Exception Message:
An error occurred while parsing DA Hierarchy : Document is invalid: no grammar found.
---Begin Stack Trace---
com.bea.p13n.delegation.common.DelegationSystemException: An error occurred while parsing DA Hierarchy : Document is invalid: no grammar found. at com.bea.p13n.delegation.management.internal.DelegationHierarchyAbstractPersistenceManager.parseData(DelegationHierarchyAbstractPersistenceManager.java:209) at com.bea.p13n.delegation.management.internal.DelegationHierarchyAbstractPersistenceManager.get(DelegationHierarchyAbstractPersistenceManager.java:189) at com.bea.p13n.delegation.management.internal.DelegationHierarchyDelegate.getHierarchyRoot(DelegationHierarchyDelegate.java:123) at com.bea.p13n.delegation.management.DelegationRoleManager.getHierarchyRoot(DelegationRoleManager.java:63) at com.bea.jsptools.delegation.Pruner.isRootDARole(Pruner.java:145) at com.bea.jsptools.delegation.PortalNodePruner.isEnabled(PortalNodePruner.java:96) at com.bea.treeutils.PrunableTreeNode.checkEnabled(PrunableTreeNode.java:161) at com.bea.jsptools.portal.PortalHierarchyServlet.generateLibraryNodes(PortalHierarchyServlet.java:856) at com.bea.jsptools.portal.PortalHierarchyServlet.generateTopLevelNodes(PortalHierarchyServlet.java:231) at com.bea.jsptools.portal.PortalHierarchyServlet.generateTree(PortalHierarchyServlet.java:104) at jsp_servlet._portaltools.__portalmgmttree._jspService(__portalmgmttree.java:5784) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:644) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423) at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:533) at com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:495) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:542) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:105) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:356) at com.bea.netuix.nf.UIControl.render(UIControl.java:536) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:58) at jsp_servlet._framework._skeletons._beatools.__gridlayout_two_column._jspService(__gridlayout_two_column.java:423) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:638) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423) at com.bea.netuix.servlets.controls.JspRenderer.renderAlt(JspRenderer.java:194) at com.bea.netuix.servlets.controls.JspRenderer.beginRender(JspRenderer.java:96) at com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:491) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:542) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:105) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:356) at com.bea.netuix.nf.UIControl.render(UIControl.java:536) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:58) at jsp_servlet._framework._skeletons._beatools.__gridlayout._jspService(__gridlayout.java:193) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:638) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423) at com.bea.netuix.servlets.controls.JspRenderer.renderAlt(JspRenderer.java:194) at com.bea.netuix.servlets.controls.JspRenderer.beginRender(JspRenderer.java:96) at com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:491) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:542) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:105) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:356) at com.bea.netuix.nf.UIControl.render(UIControl.java:536) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:58) at jsp_servlet._framework._skeletons._beatools.__gridlayout_outermost._jspService(__gridlayout_outermost.java:285) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:638) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423) at com.bea.netuix.servlets.controls.JspRenderer.renderAlt(JspRenderer.java:194) at com.bea.netuix.servlets.controls.JspRenderer.beginRender(JspRenderer.java:96) at com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:491) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:542) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247) at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:204) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:153) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:333) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:196) at com.bea.netuix.servlets.manager.PortalServlet.doPost(PortalServlet.java:772) at com.bea.netuix.servlets.manager.PortalServlet.doGet(PortalServlet.java:671) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:147) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at com.bea.servlet.PortalSystemAdministratorFilter.doFilter(PortalSystemAdministratorFilter.java:83) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) Caused by: org.xml.sax.SAXParseException: Document is invalid: no grammar found. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at com.bea.p13n.delegation.management.internal.DelegationHierarchyParser.getDelegationHierarchy(DelegationHierarchyParser.java:102) at com.bea.p13n.delegation.management.internal.DelegationHierarchyAbstractPersistenceManager.parseData(DelegationHierarchyAbstractPersistenceManager.java:206) ... 129 more
---End Stack Trace---I have the same problem with Weblogic 8.1 SP5 running on Itanium (the same appl. running on Xeon runs OK).
-
Validate xml with DOM - no grammar found
Validation with XmlSpy is OK!
Please help me. My problem is...
==========================================================
// Schema...
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:complexType name="ParentType">
<xs:sequence>
<xs:element name="parent1" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ChildType">
<xs:complexContent>
<xs:extension base="ParentType">
<xs:sequence>
<xs:element name="child1" type="xs:string"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element name="element" type="ParentType" maxOccurs="2"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
==========================================================
// Xml-file:
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://pctoiv/etktoiv/Extending.xsd">
<element xsi:type="ChildType">
<parent1/>
<child1/>
</element>
<element xsi:type="ParentType">
<parent1/>
</element>
</root>
=================================================================
//java code...
String W3C_XML_SCHEMA = "http://www.w3c.org/2001/XMLSchema";
String JAXP_SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
String schemaSource = "http://pctoiv/etktoiv/Extending.xsd";
javax.xml.parsers.DocumentBuilder documentBuilder = null;
org.w3c.dom.Document xmlDoc = null;
javax.xml.parsers.DocumentBuilderFactory docBuildFactory =
javax.xml.parsers.DocumentBuilderFactory.newInstance();
docBuildFactory.setNamespaceAware(true);
docBuildFactory.setValidating(true);
docBuildFactory.setAttribute(JAXP_SCHEMA_SOURCE, W3C_XML_SCHEMA);
docBuildFactory.setAttribute( JAXP_SCHEMA_SOURCE, schemaSource);
documentBuilder = docBuildFactory.newDocumentBuilder();
documentBuilder.setErrorHandler(new MyErrorHandler(System.out));
xmlDoc = documentBuilder.parse(new java.io.File("Extending.xml"));
================================================
// And errors...
org.xml.sax.SAXParseException: Document is invalid: no grammar found.
org.xml.sax.SAXParseException: Document root element "root", must match DOCTYPE root "null".Validation with XmlSpy is OK!
Please help me. My problem is...
=======================================================
==
// Schema...
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:complexType name="ParentType">
<xs:sequence>
<xs:element name="parent1" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ChildType">
<xs:complexContent>
<xs:extension base="ParentType">
<xs:sequence>
<xs:element name="child1" type="xs:string"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element name="element" type="ParentType"
maxOccurs="2"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
=======================================================
==
// Xml-file:
<?xml version="1.0" encoding="UTF-8"?>
<root
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://pctoiv/etktoiv/Ex
ending.xsd">
<element xsi:type="ChildType">
<parent1/>
<child1/>
</element>
<element xsi:type="ParentType">
<parent1/>
</element>
</root>
=======================================================
=========
//java code...
String W3C_XML_SCHEMA =
"http://www.w3c.org/2001/XMLSchema";
String JAXP_SCHEMA_SOURCE =
"http://java.sun.com/xml/jaxp/properties/schemaSource";
String schemaSource =
"http://pctoiv/etktoiv/Extending.xsd";
javax.xml.parsers.DocumentBuilder documentBuilder =
null;
org.w3c.dom.Document xmlDoc = null;
javax.xml.parsers.DocumentBuilderFactory
docBuildFactory =
javax.xml.parsers.DocumentBuilderFactory.newInstance();
docBuildFactory.setNamespaceAware(true);
docBuildFactory.setValidating(true);
docBuildFactory.setAttribute(JAXP_SCHEMA_SOURCE,
W3C_XML_SCHEMA);
docBuildFactory.setAttribute( JAXP_SCHEMA_SOURCE,
schemaSource);
documentBuilder =
docBuildFactory.newDocumentBuilder();
documentBuilder.setErrorHandler(new
MyErrorHandler(System.out));
xmlDoc = documentBuilder.parse(new
java.io.File("Extending.xml"));
================================================
// And errors...
org.xml.sax.SAXParseException: Document is invalid: no
grammar found.
org.xml.sax.SAXParseException: Document root element
"root", must match DOCTYPE root "null".
Try this:
private static final String JAXP_SCHEMA_SOURCE
= "http://java.sun.com/xml/jaxp/properties/schemaSource";
private static final String JAXP_SCHEMA_LANGUAGE
= "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
private static final String W3C_XML_SCHEMA
= "http://www.w3.org/2001/XMLSchema";
docBuildFactory.setNamespaceAware(true);
docBuildFactory.setValidating(true);
docBuildFactory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA); // use LANGUAGE here instead of SOURCE
docBuildFactory.setAttribute( JAXP_SCHEMA_SOURCE, schemaSource);
documentBuilder = docBuildFactory.newDocumentBuilder();
Good luck!
Paul Niedenzu -
JDBC Receiver: FATAL ERROR document format: invalid level 4
Hi,
I am creating an IDOC -JDBC scenario .
The XML created has action as delete.
but in the comminication channel i am getting an error which is
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'T_SAP_WBS' (structure 'statement1'): java.sql.SQLException: FATAL ERROR document format: invalid level 4' found (structure 'statement1')
does any one have any idea on this?
Regards,
Tarun BahalHi,
The JDBC format which you are using is incorrect.....please maintain the format as mentioned in this document...there seems to be some mismatch
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
By maintaining the format i mean:
1) maintain the hierarchy as mentioned in the link
2) maintain the case (upper/ lower) for the standard elements (you seem to be using statement1 instead of Statement)
3) If there are no multiple stattements then have the name as Statement
If still facing the problem....provide your structure in sdn
Regards,
Abhishek. -
JDBC Adapter Invalid level 4' found
Hi all,
I have the following XML messages send to a JDBC adapter and I get an Invalid Level 4' found:
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:ATL_JDBC_SQL_MAT_BOM_IN_MT xmlns:ns0="http://atlantis.com/material.bom">
- <Statement1>
- <dbTableName action="UPDATE_INSERT">
<table>SAP_MATERIAL_BOM</table>
- <access>
<IDOC hasQuot="YES">0000000000003670</IDOC>
<CODE hasQuot="YES">0183654</CODE>
<ROWMATCODE hasQuot="YES">0183685</ROWMATCODE>
<ROWMATQTY hasQuot="YES">8.000</ROWMATQTY>
<CH_OK hasQuot="YES">0</CH_OK>
</access>
</dbTableName>
- <key>
<CODE hasQuot="YES">0183654</CODE>
</key>
</Statement1>
</ns0:ATL_JDBC_SQL_MAT_BOM_IN_MT>
Does anybody have an idea what might by wrong? Thanks.
....Socrates>>We are using XI3.0 sp18. The communication channel (JDBC RECEIVER) has the following error when receive the above XML message:
11/9/06 3:21:49 PM 4c54613a06b71c409b86d27d7df80ce3 Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAP_MATERIAL_BOM' (structure 'Statement1'): java.sql.SQLException: FATAL ERROR document format: invalid level 4' found (structure 'Statement1')
11/9/06 3:21:49 PM 4c54613a06b71c409b86d27d7df80ce3 Processing started
That's all the Info I have... -
HI
I'm writing an application that gathers xml documents into batches, sends these batches to translation, receives them from translation and unpacks them.
My documents are ads. I have a schema (x1.xsd) describing them. This schema imports another schema (x2.xsd). None of these are controlled by me (I need a very good reason to change them).
I have created a new schema (x.xsd) for my batches. This schma imports the ad schema (x1.xsd).
When I validate an example ad (x1.xml) using the ad schema (x1.xsd), validation is OK. This is the same for XML Spy, oracle.xml.schemavalidator.XSDValidator and org.dom4j.io.SAXReader
When I validate an example batch (x.xml) with the same ad data in the batch,
XML Spy says: Unexpected element 'AD' in element 'ADS'. Expected: AD
oracle.xml.schemavalidator.XSDValidator says: XML-24521: (Error) Element not completed: 'ADS'org.dom4j.io.SAXReader says: cvc-complex-type.2.4.a: Invalid content was found starting with element 'AD'. One of '{"x/translation":AD}' is expected.
By changing my batch xml by removing xmlns="x/ad" from the AD tag and prefix all "x/ad"-owned tags with ad:, I can make all validators validate.
But I don't see the reason for this, and thus have some problems telling the supplier that we need to change the schema and xml...
Notice that I do not have the corresponding problem in the x1.xsd / x2.xsd relationship !!??
Any suggestions will be appreciated.
/Jornsen
I enclose a copy of the files mentioned above:
x.xml:
<TRANSLATION_BATCH batchId="8" xmlns="x/translation" xmlns:ad="x/ad" xmlns:gp="x/groups"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tl="x/translation" xsi:schemaLocation="x/translation
C:\tmp\t.xsd">
<LANGUAGES anattr="monoLanguageXmlAd">
<LANG LangId="3"/>
<LANG LangId="4"/>
</LANGUAGES>
<ADS>
<AD adattr="hest" xmlns="x/ad" xmlns:gp="x/groups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<LANGLIST>
<LANG LangId="17"/>
</LANGLIST>
<ITEMLIST>
<ITEM xmlns="x/groups" anattr="hund">
<ITEM_INFO name="hest"/>
</ITEM>
</ITEMLIST>
</AD>
</ADS>
</TRANSLATION_BATCH>x1.xml:
<AD adattr="hest" xmlns="x/ad" xmlns:gp="x/groups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="x/ad C:\tmp\t1.xsd">
<LANGLIST>
<LANG LangId="17"/>
</LANGLIST>
<ITEMLIST>
<ITEM xmlns="x/groups" anattr="hund">
<ITEM_INFO name="hest"/>
</ITEM>
</ITEMLIST>
</AD>x.xsd:
<xs:schema targetNamespace="x/translation" attributeFormDefault="unqualified" elementFormDefault="qualified"
xmlns="x/translation" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tl="x/translation" xmlns:ad="x/ad">
<xs:import namespace="x/ad" schemaLocation="t1.xsd"/>
<xs:element name="TRANSLATION_BATCH">
<xs:complexType>
<xs:sequence>
<xs:element name="LANGUAGES">
<xs:complexType>
<xs:sequence>
<xs:element name="LANG" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="LangId" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="anattr" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="ADS">
<xs:complexType>
<xs:sequence>
<xs:element name="AD" type="ad:ADType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="batchId" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>x1.xsd:
<xs:schema targetNamespace="x/ad" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns="x/ad"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ad="x/ad" xmlns:gp="x/groups">
<xs:import namespace="x/groups" schemaLocation="t2.xsd"/>
<xs:element name="AD" type="ad:ADType">
</xs:element>
<xs:complexType name="ADType">
<xs:sequence>
<xs:element name="LANGLIST" type="ad:LANGLISTType">
</xs:element>
<xs:element name="ITEMLIST" type="gp:ITEMLISTType">
</xs:element>
</xs:sequence>
<xs:attribute name="adattr" type="xs:string" use="optional"/>
</xs:complexType>
<xs:complexType name="LANGType">
<xs:attribute name="LangId" type="xs:int" use="required"/>
</xs:complexType>
<xs:complexType name="LANGLISTType">
<xs:sequence>
<xs:element name="LANG" type="ad:LANGType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:schema>x2.xsd:
<xs:schema xmlns="x/groups" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="x/groups"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:complexType name="ITEMLISTType">
<xs:sequence>
<xs:element name="ITEM" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ITEM_INFO" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="anattr" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>Message was edited by:
Jornsen - formatting
Message was edited by:
JornsenHi Linyin,
Please refer to: http://middlewaremagic.com/weblogic/?p=2034
The Problem is missing element <web-resource-name> in your "web.xml" file..... which must be a Unique name of your Resource set which u want to make secure.....
<security-constraint>
<web-resource-collection>
*<web-resource-name>MySecureResources</web-resource-name>*
<description>Some Description</description>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>admin</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
<security-role>
<role-name>admin</role-name>
</security-role>
Thanks
Jay SenSharma
http://middlewaremagic.com/weblogic (Middleware Magic Is Here) -
Invalid content was found starting with element
Hi,
I am getting an error while parsing(unmarshallling) the xml using JAXB thru XSD validation.
Here is the xsd, that I am using for the validation followed by the xml sample and exception that I am getting.
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="process_variable_type">
<xs:sequence>
<xs:element name="variable_name" type="xs:string"/>
<xs:element name="label" type="xs:string"/>
<xs:element name="value" type="xs:string"/>
<xs:element name="previous_value" type="xs:string"/>
<xs:element name="format" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="text_field_type">
<xs:complexContent>
<xs:extension base="process_variable_type">
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="part_type">
<xs:sequence>
<xs:choice>
<xs:element name="textFieldElement" type="text_field_type" />
</xs:choice>
</xs:sequence>
<xs:attribute name="name" type="xs:string" />
</xs:complexType>
<xs:element name="variable">
<xs:complexType>
<xs:sequence>
<xs:element name="part" type="part_type" minOccurs="1" maxOccurs="1" />
</xs:sequence>
<xs:attribute name="dataIncluded" type="xs:string" />
<xs:attribute name="hasData" type="xs:string" />
<xs:attribute name="name" type="xs:string" />
<xs:attribute name="version" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:schema>
Sample XML:
<variable dataIncluded="yes" hasData="true" name="V1" version="25">
<part name="textFieldElement">
<textFieldElement xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:abx="http://www.activebpel.org/bpel/extension" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ext="http://www.activebpel.org/2.0/bpel/extension" xmlns:ns1="urn:ValueDisplayer" xmlns:ns2="urn:ValueProvider" xmlns:ns3="Invalid Document" xmlns:ns4="http://temp" xmlns:ns5="http://active-endpoints.com/services/order" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<variable_name>Variable1</variable_name>
<label>Label2</label>
<value>Value1</value>
<previous_value>prevValue1</previous_value>
<format>format1</format>
<form_element_type>formElement1</form_element_type>
</textFieldElement>
</part>
</variable>
Error that I am getting is:
javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'textFieldElement'. One of '{"":textFieldElement}' is expected.]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:476)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:204)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:173)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:194)
at com.enfs.bpel.client.BpelClientUtility.unMarshal(BpelClientUtility.java:158)
at com.enfs.bpel.client.BpelClientUtility.main(BpelClientUtility.java:140)
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'textFieldElement'. One of '{"":textFieldElement}' is expected.
at com.sun.org.apache.xerces.internal.jaxp.validation.Util.toSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.validation.ErrorHandlerAdaptor.error(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(Unknown Source)
at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:67)
at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:117)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:200)
... 5 moreIf I remove the following attribute in the textFieldElement from the sample, then I am able to unmarshal it successfully.
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" But at the runtime, I cannot avoid this attribute in the XML message which I should unmarshal it.
Need help to resolve this.
..Thiruppathy.RHi,
So, the error is because of the validation failure due to the xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/". And because of some data is missing in the textFieldElement, which is required by xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/".
Pls correct me if I am wrong?
But, as you understood, the textFieldElement has simple data. In that case, Is there any way to by pass the validation for xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/", without removing it from the XML sample? Also please note, but the validation should happen for the xsd, that I have.
Thanks
Thiruppathy.R -
XML Publisher Report - Invalid character was found in text content
Hi Techies,
Version Background
Oracle apps : 11.5.10
Oracle 9i Database
Oracle Reports 6i
I created a XML output type concurrent program and attached a data definition & template to it.
My program completed with status "Warning".
The Error is : An invalid character was found in text content.
Then i downloaded the XML and opened it in notepad++. I found there are 2 weird characters like this ( , )
FYI, It is a non-Ascii character so not able to paste it in this forum text field. the characters looks like double sided arrow and a forward arrow.
I also tried loading the XML locally from RTF Template. Again it throws me same error
Error No: -1072896760: An invalid character was found in text content.
Additional Information:
Data is coming from table "gl_alloc_batches.description"
Encoding Type: UTF-8
Please Help me how to handle such a non-ascii characters
Edited by: 868779 on Feb 22, 2012 10:48 PMHi,
Please find below sql which will find the special characters in column of table,
SET serveroutput ON size 1000000
DECLARE
PROCEDURE gooey (v_table VARCHAR2, v_column VARCHAR2)
IS
TYPE t_id IS TABLE OF NUMBER;
TYPE t_dump IS TABLE OF VARCHAR2 (20000);
TYPE t_data IS TABLE OF VARCHAR2 (20000);
l_id t_id;
l_data t_data;
l_dump t_dump;
CURSOR a
IS
SELECT DISTINCT column_name
FROM dba_tab_columns
WHERE table_name = v_table
AND data_type = 'VARCHAR2'
AND column_name NOT IN ('CUSTOMER_KEY', 'ADDRESS_KEY');
BEGIN
FOR x IN a
LOOP
l_id := NULL;
l_data := NULL;
l_dump := NULL;
EXECUTE IMMEDIATE 'SELECT '
|| v_column
|| ', '
|| x.column_name
|| ', '
|| 'dump('
|| x.column_name
|| ')'
|| ' FROM '
|| v_table
|| ' WHERE RTRIM((LTRIM(REPLACE(TRANSLATE('
|| x.column_name
|| ',''ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@#$%^&*()_+
-=,!\`~{}./?:";''''[ ]'',''A''), ''A'', '''')))) IS NOT NULL'
BULK COLLECT INTO l_id, l_data, l_dump;
IF l_id IS NOT NULL
THEN
FOR k IN 1 .. l_id.COUNT
LOOP
DBMS_OUTPUT.put_line ( v_table
|| ' - '
|| x.column_name
|| ' - '
|| TO_CHAR (l_id (k), '999999999999')
DBMS_OUTPUT.put_line (l_data (k));
DBMS_OUTPUT.put_line (l_dump (k));
DBMS_OUTPUT.put_line ('*********************');
END LOOP;
END IF;
END LOOP;
END gooey;
BEGIN
gooey ('GL_ALLOC_BATCHES', 'DESCRIPTION');
END;
Thanks,
Amogh -
Another "there was an error opening this document. this file cannot be found"-question
Hello people, as the title suggests, i have another question regarding the "there was an error opening this document. this file cannot be found" error. I have searched on Google and on these forums but i havent found an answer to my particular case (sorry if i overlooked it).
I work at a supportdesk for a company that uses Windows XP with Adobe Reader version 8.1.3.
Users are getting this error when they access a PDF file placed on a (mapped) networkdrive. Contrary to some other cases i have found on this forum, spaces are handled without a problem. But a comma in the name of one of the folders that contain the PDF file are what causes this error.
i.e.:
Opening the following path results in the error:
L:\X, Y & Z\adobe.pdf
Removing the comma so the path becomes:
L:\X Y & Z\adobe.pdf
works just fine.
So far our workaround has always been to simply remove the comma and move on, but I've been wondering why this comma is such a problem for Adobe Reader. As far as i know Adobe Reader is the only program we use that has this issue, M$ Word works just fine with it to name an example.
To sum my questions up:
- Why is comma (,) a problem for Adobe Reader?
- Have i missed any patches/new versions where this issue has been addressed?
- What is Adobe's stance on this, and are there any plans to "fix" this?Ok, nevermind, we just found the problem
It's not Adobe Reader that is causing this, but another program the company uses to manage/distribute/authorise programs that users are allowed to access (Scense). I had never even considered another problem could have caused this for Reader. -
Message'there was an error opening this document.The file cannot be found'
Using xp home and when I click to download the pdf file, it will give 3 options been 'open'/'save'/?. When I choose the 'open' option, it will give me the above message "there was an error opening this document.The file cannot be found"
owever if I choose to "save" and I will be able to open the file and read it. In this pc its using Adobe Reader 8.1.2 with a patch. It was working fine prior to this sudden occurance of the error.
Strangely I have another pc with the same specification, I was able to choose "open" and be able to read the file. Can anyone help to resolve the issue by using the "open' option instead of "save, then open". Greateful for your prompt response.Fyi, in addition to my earlier post, the other pc is using Adobe 8.1.1 and no other patch. I was trying to find 8.1.1 version but could not find a trust worthy site to load from. Do you think the error caused by using the 8.1.2 version? Thanks
-
Windows XP Professional sp2 machine
512 memory
ie sp2
when opening two pdfs from a website links receive the error, "there was an error opening this document. this file cannot be found"
If you save the file to the pc, then open the .pdf it opens ok
other pdfs open ok from browser from same website and different websites
had customer try on another's machine; the two pdfs opened ok
tried Adobe Reader 8.1, 9.0, and Adobe Professional 8.0
uninstalled reader and professional; deleted directories; reinstalled reader and professional(placed into a separate directory); same error
On the machine tried admin accounts, under customer's profile made admin account, renamed the customer's account so that another account was freshly generated, all generated the same error.
Ran ccleaner to clean up files in the registry and temporary internet files, then repaired adobe - same error
repaired internet explorer - same error
scoured web for same error but most were applications trying to open the pdfs, a few errors were for programming php, a lot of questions but few answers in context of current issue. the ccleaner and repairing ie were resolutions i found on the web.
nothing was listed in msoft's ie knowledgebased searched.
any help would be appreciated.I get the same message when I try to open a pdf attachment in my free AOL e-mail account. This problem just started today for some unknown reason. I have Adobe Reader 9 and never had a problem before. If I forward e-mails with a pdf attachment to my Road Runner account, I can open it with no problem. I can't seem to find any answers to this problem. Frustrating! HELP!!!
-
When certain files are saved using Excel 2010 to the My Documents folder, they cannot be found by using the Open button within Excel 2010. But the file is always found using My Computer and following the path to My Documents. What is
even odder is that if I do a "Save As" within Excel and rename the file to the same name but with a "!" at the beginning of the name, it will then show up in the Excel Open window. There doesn't seem to be a distinct pattern as to
when the file can or cannot be displayed by the Excel Open button.
I am using Windows 7 64bit along with Office 2010 64bit. Windows has current service packs and updates. There are perhaps 200 - 400 Excel files in the My documents folder. Some of them are .XLS and some are .XLSX.
William FearnHi,
Do you mean that you can't find the Excel file when you click Excel->Open->My Documents folder?
Do you use the other folder path to test?
Dose the issue occur in other Office suits (Word, Power Point)?
Do you get some error message, like "Windows cannot find 'FilePath\FileName', Make sure you typed the name correctly, and then try again."?
Please try the following methods:
Method1:
1. Go to the registry. Click START, and in the RUN command line type REGEDIT and hit ENTER or click OK.
2. Navigate to the following key: HKEY_CLASSES_ROOT\Excel.Sheet.8\Shell\Open\Command
3. Double click on the (Default) instance over to the right. Right now this probably says something like:
C:\Program Files\Microsoft Office\Office14\EXCEL.EXE /dde
Change this value to:
C:\Program Files\Microsoft Office\Office14\EXCEL.EXE /e "%1"
4. Navigate to the following key: HKEY_CLASSES_ROOT\Excel.Sheet.12\Shell\Open\Command
Again, double click the (Default) entry to the right and change
C:\Program Files\Microsoft Office\Office14\EXCEL.EXE /dde
to
C:\Program Files\Microsoft Office\Office14\EXCEL.EXE /e "%1"
Note : Please backup the registry key before you modify.
Method2:
Click the File tab, and then click Options.
Click Advanced, scroll down to the General
section, and then clear the Ignore other applications that use Dynamic Data Exchange (DDE) check box in the
General area.
Thanks
George Zhao
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click "[email protected]" -
Hi guys,
I am new of iBooks Author and I am not HTML code savvy (expect the very basics). I have to send an iBooks for an University exam and I can't open my file anymore.
I was working on it since Saturday, I saved many times and I have quit the iBooks Author and rebooted my iMac few moments ago. There were no crashes.
The project is a iBook with pictures, videos and some Tumult Hype animations. It is 248Mb.
Now I can't open the file (but I can see it in quick view). The error message is in the subject, but here it is again:
"Progetto iBooks" couldn't be opened. Error parsing document index: invalid character in attribute value.
Now, I have to send the project today (here in Italy it is now 7:10 am) and so I am kind of desperate.
Any suggestion?
I am already working on making a new ibook, but if someone could give me a workaround to fix it and open it on iBooks I would be extremely grateful.
Best regards,
SebastianoHi Sebastiano,
Did you ever get any answer? I have the same problem and now have to work from an old version again (good thing I had backup one manually!)
Thx
JP. -
Why does numbers tell me document is invalid and it won't open a spreadsheet?
Tell us what you have done to your system lately. I'll bet something is different in the last few months that might be involved here.
Jerry
Maybe you are looking for
-
Multiclip - mutliple audio tracks
This question has been asked before, but I'll reiterate it. If the support doesn't exist, hopefully apple dev will take it into consideration. I shoot a lot of weddings and events. FCP's 5.0.x multiclip feature has been a lifesaver. I know the short
-
Iphoto's emptied in trash by accident...how to retrieve?
Hello, I emptied my trash and some how it emptied all 3000 pics in my iphoto library. These pics are very important to me of my kids. I dragged the iphoto library out of the trash like it told me to but it will not import into the library...it says
-
Problem in Translating the language in SMARTFORMS to English to Chinese
Hi ALL, I have requirement to Change / Translate the language in SMARTFORMS to English to Chinese. kindly tell the procedure to do that. In SE63 , i tried to translate it. but it is throwing an error " INCORRECT CODEPAGE". What does that mean? How to
-
Filter image files in finder against txt/xls file
I'm looking for a solution to the following scenario: I have a folder that contains over 15,000 images (jpgs). I receive a request from a customer for 200 of those images. (This list exists in txt/xls format only.) Is there a way to filter the images
-
How to open pages when it has a gray box for the app with a ? in it