DTD for jaxrpc-ri.xml
Hi,
Where can I find the document type defination for
jaxrpc-ri.xml ?
Thanks in advance.
The jaxrpc-ri.xml file is not part of the JAXRPC (JSR-101 and/or JSR-109) specifications. It is implementation-specific.
Hence, the jaxrpc-ri.xml file actually does not contain any DTD to follow. And the http://java.sun.com/xml/ns/jax-rpc/ri/dd is an XML namespace and it is used to give it a unique identifier scope.
Hope this helps.
Thanks,
Rakesh.
Similar Messages
-
XSDs/DTDs for BI reports xml
In Oracle BI Answers, in the Advanced tab, it’ possible to see / define the XML (saw:criteria, saw:columns, saw:views etc).
The saw:report root node defines two Siebel XML namespace :
xmlns:saw=”com.siebel.analytics.web/report/v1″
xmlns:sawx=”com.siebel.analytics.web/expression/v1″
Do you, by any chance, have a clue where those schemas are documented or where can one find the XSDs/DTDs?
Thx
SuneeshPlease post the details of the application release, database version and OS.
I am having a situation where the XML Publisher is producing XML output vs. PDF output for a particular report. It is generating PDF output just fine for other reports. Can you please shed some light as to the possible cause(s) for this? I would really appreciate it!What is the difference between this report and other reports?
Please see old threads for similar discussion -- https://forums.oracle.com/forums/search.jspa?threadID=&q=XML+ANd+Publisher+AND+PDF+AND+Output&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
DTD for config.xml is this accurate.
Where is the current DTD for the config.xml. The one I copied from the bea web site
seems inconsistent with the config.xml generated when I did the installation. I
tried using it with XEmacs and psgml. It didn't like the attributes in the Domain
tag. Perhaps I am doing something wrong, it's been known to happen. Before I start
trying to debug this on my side, I'd like to know if I have the correct DTD. Can
some one clarify this for me?
STHDeepak Vohra <[email protected]> wrote:
Steven,
The config.xml DTD :
http://edocs.bea.com/wls/docs70/config_xml/configdtd.html#111643
Deepak
Thanks Deepak,
That generates errors when I open it in Tibco's Schema Editor. For one it didn't
like the '(Deprecated)' strings. There were a few values assigned as default, which
were not in the list of constraints, and, perhaps a couple of other reported errors.
Also, once I fixed up the few error I encountered in the DTD, I found errors in
the config.xml generated by WL 7.0. For example there are attributes in the xml
file which are not in the DTD. One of these is "Deployed" in the "Application" Element.
Methinks something is amiss here.
STH -
Location of dtd for weblogic 92 for weblogic.xml
Hi:
Can anybody gives me the location of the dtd for the weblogic.xml file for weblogic 92.
I can't seem to find it on google.
Yours,
Frustrate
Edited by jadeite100 at 03/23/2007 6:59 AMIn 9.x there are no DTDs as everything is now schema based. You can find the schemas here:http://www.bea.com/ns/weblogic/90/**.xsd
So for your weblogic.xml for your weblogic-web-app you can find the xsd at:
http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd
Hope this helps!
-Jesus -
How does Weblogic 7 check for well-formed xmls
Hello,
I am having trouble deploying my applications with WLS 7.0. The error I am getting
is that my web.xml is not well-formed, but I have double-checked everything and
I think it is correct.
I have read that weblogic 7.00 does not deploy an application which xmls are not
well-formed (whereas earlier versions of weblogic would do so).
My question is: against what dtds does WLS 7 check the web.xml, the weblogic.xml
, etc.? I would think that it would check it against the dtd in the head of the
xnl file, i.e., http://java.sun.com/dtd/web-app_2_3.dtd for the web.xml, is this
correct?
If this was true, what about intranet applications that are not connected to the
Internet? could this be the reason?
TIA Cristina CeballosDocument doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new InputSource(new StringReader(xmlString)));try/catch this ugly line, if no parse exception and a non -null doc exists then your XML is well-formed.
of course if your XML contains namespaces, you would have to setup correctly the document builder. -
When running a scenario from Unix ( $ prompt)it cant found the DTD for xml
Dear All,
I have created an interface that extracts xml messages from JMS queue ( OC4J) successfully. After extracting the message from JMS queue, the interface parse the message and put into an oracle database.
After when I have created a scenario from the above Interface and tried to run the scenario from $ promt in unix using startscen.sh, it is giving following error message.
# call the configuration setup file--- Mandatory for running ODI scenario
. $ODI_HOME/bin/odiparams.sh;
# Call the scenario for getting Message from JMS queue
. $ODI_HOME/bin/startscen.sh PKG_JMS_XML 001 GLOBAL "-v=5" | tee out_$$.txt;
The error I am getting as below
03/09/2009 05:09:40 PM(main): SnpExpTxt.getObjectLst : :
[FirstDate:2009-03-09 17:09:40.0
FirstUser:SUNOPSIS AGENT
IndChange:null
IntVersion:null
ITxt:5194100
LastDate:2009-03-09 17:09:40.0
LastUser:SUNOPSIS AGENT
Txt:0 : 08001 : java.sql.SQLException: Cannot load connection class because of underlying exception: 'java.sql.SQLException: No DTD found and no XML file provided: the XML schema cannot be created'.
java.sql.SQLException: Cannot load connection class bec
TxtOrd:0, FirstDate:2009-03-09 17:09:40.0
FirstUser:SUNOPSIS AGENT
IndChange:null
IntVersion:null
ITxt:5194100
LastDate:2009-03-09 17:09:40.0
LastUser:SUNOPSIS AGENT
Txt:ause of underlying exception: 'java.sql.SQLException: No DTD found and no XML file provided: the XML schema cannot be created'.
at com.sunopsis.jdbc.driver.JMSXMLDriver.connect(JMSXMLDriver.java)
at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.
TxtOrd:1, FirstDate:2009-03-09 17:09:40.0
FirstUser:SUNOPSIS AGENT
IndChange:null
IntVersion:null
ITxt:5194100
LastDate:2009-03-09 17:09:40.0
LastUser:SUNOPSIS AGENT
Txt:java)
at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
at com.sunopsis.sql.i.run(i.java)
TxtOrd:2]
Anybody please help ?
regards
UmapadaHello,
Try to remove and recreate your package and scenario, I had the same issue and solved doing it.
It seems for me that the package cannot update its contents, for example, if you change something in your interface, you must recreate your package and scenario to update the changes.
What ODI version do you use? If you use an old version, try to update to ODI 10.1.3.5
Regards,
Wallace Galvão
São Paulo - Brazil -
DTD for deployment xml file for providers
Hi all,
where can I find the DTD for the deployment file that is to be used in .par file for the custom providers for Portal Server 6.0 and 6.2. ?
Thanks,
Klarain case you mean portlets then it is:
portlet.xsd contains reference to http://www.w3.org/2001/xml.xsd.
in case you mean providers, e.g. smpleMailservice:
/ps-base/SUNWam/dtd/sms.dtd
or
/ps-base/SUNWam/dtd
with all the named dtd's
cheers,
Ulf -
Where to find dtd file name/schema for a certain XML Gateway interface
Hi folks,
For a certain XML Gateway interface, in which DB table can I find the dtd file name and dtd schema that this interface use?
Now I can find its map name.
Thanks.Hello!
I found the answer myself now.
The XLST files are part of the static web content of the MI project Visiprise.
In the SAP MII workbench go to the project Visiprise
Then under the tab Web the static contecnt can be found under the folder WEB/XSLT/.. -
I am using JWSDP 2.0 with JDK 1.5. I have developed an ant script for building my web service files. When the script runs, the command line arguments are passed to the wscompile:
wscompile -d C:\WorkSpaceForMyEclipse\WebService\WebContent\WEB-INF\classes "-features:rpcliteral, wsi" -g -import -keep -nd C:\WorkSpaceForMyEclipse\WebService\descriptors -s C:\WorkSpaceForMyEclipse\WebService\JavaSource -verbose -Xprintstacktrace -Xserializable C:\WorkSpaceForMyEclipse\WebService\WebContent\WEB-INF\wsdl\webservice-config.xml -classpath <all the jar files from jwsdp project> <project jars>This all works well and good.
My problem is I am not seeing a jaxrpc-mapping.xml file being created.
When I add the mapping=${path}/jaxrpc-mapping.xml to the ant task, the builds break saying -mapping is not an option for wscompile....
Am I doing something wrong? Can some guide me in the right direction for creating the mapping file? When I try axis, the mapping file is created, but it is not populated with any mappings. All I want for Christ is my jaxrpc-mapping.xml file. :-)
Thanks in advance for reading my post. Any suggestions would be greatly appreciated.
RussIf you are using rpc/literal and jdk 1.5, you would be better off using JAX-WS which does not require a mapping file. JAX-WS is the next generation Web services API that replaces JAX-RPC. Check out http://jax-ws.dev.java.net.
-
DTD + Schema reference in xml file to be inserted
Hi,
I am pasting sample code where I want to have schema + DTD reference. Schema file is used for validating the file and DTD is needed for entity resolution.
<?xml version="1.0" ?>
<!DOCTYPE html [
<!ENTITY reg "®">
]>
<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.xsd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
</head>
<!-- class="header" -->
<body>
Hi all. Register symbol should be displayed now ®
</body>
</html>I have already registered http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.xsd schema with the DB. But, when I try to insert this xml data in the DB, I'm getting the following error.
SQL Error: ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00104: Warning: element "html" is not declared in the DTD
Error at line 5
ORA-06512: at "SYS.XMLTYPE", line 296
ORA-06512: at line 1
31011. 00000 - "XML parsing failed"
*Cause: XML parser returned an error while trying to parse the document.
*Action: Check if the document to be parsed is valid.Anyone please help me in resolving this issue..
Thanks in advance,
Divya.
Edited by: user11853430 on Nov 28, 2010 8:45 PMThanks for the information. I assume you are intending using Schema Based Binary XML storage. Attempting to use Object Realtional storage for XHTML is not something we would recommend. I am checking with development to see if we have a way of using the DTD just for entity resolution. In the mean time the only other solution I can think of it to include the full or partial DTD for XHTML in addition to the entity defintion..
I tried this, but it doesn't seem to work
SQL> select XMLTYPE(
2 '<?xml version="1.0" ?>
3 <!DOCTYPE html [
4 <!ENTITY reg "r">
5 <!ELEMENT html ANY>
6 ]>
7 <html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.xsd">
8 <head>
9 <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
10 <meta http-equiv="Content-Style-Type" content="text/css" />
11 <meta http-equiv="Content-Script-Type" content="text/javascript" />
12 </head>
13
14 <!-- class="header" -->
15 <body>
16 Hi all. Register symbol should be displayed now ®
17 </body>
18 </html>') from dual
19 /
ERROR:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00106: Warning: attribute "xmlns:xsi" of element "html" is undefined
Error at line 6
ORA-06512: at "SYS.XMLTYPE", line 310
ORA-06512: at line 1
no rows selectedWhat you want is the DTD equivilant of
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="html" type="xs:anyType">
<xs:annotation>
<xs:documentation>Comment describing your root element</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>I also tried making the xhtml-strict DTD available... but that did not appear to work
First load the DTD and ENT files into the repository.
C:\xdb\examples\DTD>sqlplus /nolog @loadDTD %CD%
SQL*Plus: Release 11.2.0.2.0 Production on Sat Nov 27 10:55:32 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> spool loadDTD.log
SQL> --
SQL> connect system/oracle
Connected.
SQL> --
SQL> create or replace directory XMLDIR as '&1'
2 /
old 1: create or replace directory XMLDIR as '&1'
new 1: create or replace directory XMLDIR as 'C:\xdb\examples\DTD'
Directory created.
SQL> --
SQL> declare
2 V_RESULT BOOLEAN;
3 V_DTD_FOLDER VARCHAR2(700) := '/sys/DTD';
4 V_DTD_TRANSITIONAL VARCHAR2(700) := '/sys/DTD/xhtml1-transitional.dtd';
5 V_DTD_STRICT VARCHAR2(700) := '/sys/DTD/xhtml1-strict.dtd';
6 V_DTD_STRICT_REG VARCHAR2(700) := '/sys/DTD/xhtml1-strict+reg.dtd';
7 V_ENT_LAT1 VARCHAR2(700) := '/sys/DTD/xhtml-lat1.ent';
8 V_ENT_SYMBOL VARCHAR2(700) := '/sys/DTD/xhtml-symbol.ent';
9 V_ENT_SPECIAL VARCHAR2(700) := '/sys/DTD/xhtml-special.ent';
10 begin
11 if (not DBMS_XDB.existsResource(V_DTD_FOLDER)) then
12 V_RESULT := DBMS_XDB.createFolder(V_DTD_FOLDER);
13 end if;
14 if (not DBMS_XDB.existsResource(V_DTD_TRANSITIONAL)) then
15 V_RESULT := DBMS_XDB.createResource(V_DTD_TRANSITIONAL,bfilename('XMLDI
R','xhtml1-transitional.dtd'));
16 end if;
17 if (not DBMS_XDB.existsResource(V_DTD_STRICT)) then
18 V_RESULT := DBMS_XDB.createResource(V_DTD_STRICT,bfilename('XMLDIR','xh
tml1-strict.dtd'));
19 end if;
20 if (not DBMS_XDB.existsResource(V_DTD_STRICT_REG)) then
21 V_RESULT := DBMS_XDB.createResource(V_DTD_STRICT_REG,bfilename('XMLDIR'
,'xhtml1-strict+reg.dtd'));
22 end if;
23 if (not DBMS_XDB.existsResource(V_ENT_LAT1)) then
24 V_RESULT := DBMS_XDB.createResource(V_ENT_LAT1,bfilename('XMLDIR','xhtm
l-lat1.ent'));
25 end if;
26 if (not DBMS_XDB.existsResource(V_ENT_SYMBOL)) then
27 V_RESULT := DBMS_XDB.createResource(V_ENT_SYMBOL,bfilename('XMLDIR','xh
tml-symbol.ent'));
28 end if;
29 if (not DBMS_XDB.existsResource(V_ENT_SPECIAL)) then
30 V_RESULT := DBMS_XDB.createResource(V_ENT_SPECIAL,bfilename('XMLDIR','x
html-special.ent'));
31 end if;
32 commit;
33 end;
34 /
PL/SQL procedure successfully completed.
SQL> select ANY_PATH
2 from RESOURCE_VIEW
3 where under_path(RES,'/sys/DTD') = 1
4 /
ANY_PATH
/sys/DTD/xhtml-lat1.ent
/sys/DTD/xhtml-special.ent
/sys/DTD/xhtml-symbol.ent
/sys/DTD/xhtml1-special.ent
/sys/DTD/xhtml1-strict+reg.dtd
/sys/DTD/xhtml1-strict.dtd
/sys/DTD/xhtml1-symbol.ent
/sys/DTD/xhtml1-transitional.dtd
8 rows selected.
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64
bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:\xdb\examples\DTD>However even after adding the references to the XML document
SQL> select XMLTYPE(
2 '<?xml version="1.0" ?>
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4 "/sys/DTD/xhtml1-strict+reg.dtd">
5 <html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.xsd">
6 <head>
7 <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
8 <meta http-equiv="Content-Style-Type" content="text/css" />
9 <meta http-equiv="Content-Script-Type" content="text/javascript" />
10 </head>
11
12 <!-- class="header" -->
13 <body>
14 Hi all. Register symbol should be displayed now ®
15 </body>
16 </html>') from dual
17 /
ERROR:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00217: invalid character 402 (U+0192)
Error at line 3
Error at line 34
Error at line 25
ORA-06512: at "SYS.XMLTYPE", line 310
ORA-06512: at line 1
no rows selected
SQL> -
How to build DTD for this element
How to write DTD for an element which has character data and child element?
I am trying to write DTD for "paycode" element:
<paycode lookup="name" source="RT">OT
<rate type="BASERATE">1.0</rate>
</paycode>So i have written this so far:
<!ELEMENT paycode (rate)>
<!ATTLIST paycode
lookup (name|code) "code"
source CDATA #REQUIRED>Where I am going to specify that paycode has character data as well (in my xml its "OT")?
ThanksBut when i define my xml as :
<rules>
</rules>
and open it in IE 6.0, the Internet Explorer doesnot
give me any error message. Any reason?Is the InternetExplorer supposed to validate your XML
? I doubt that.
The XML in itself is valid as long as it matches the
basic XML syntax rules ("well-formed"). The structure
matters only when it gets validated against a
DTD.On http://www.w3schools.com/dtd/dtd_validation.asp webiste it said that "Internet Explorer 5.0 can validate your XML against a DTD." -
Can anyone help me to upload the Order.dtd for lab7 of CAP-0501?
Hi,
Can anyone do me a favor to upload or copy and paste the content of the Order.dtd for lab7 of CAP-0501? That will be a great help so that I could continue my lab.
I am reading the student workbook, but without the file.
Thanks,This is the Order.dtd:
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT begSeg (#PCDATA)>
<!ELEMENT billAddress1 (#PCDATA)>
<!ELEMENT billAddress2 (#PCDATA)>
<!ELEMENT billCity (#PCDATA)>
<!ELEMENT billCompany (#PCDATA)>
<!ELEMENT billCountry (#PCDATA)>
<!ELEMENT billEmail (#PCDATA)>
<!ELEMENT billName (#PCDATA)>
<!ELEMENT billPhone (#PCDATA)>
<!ELEMENT billState (#PCDATA)>
<!ELEMENT billZip (#PCDATA)>
<!ELEMENT endSeg (#PCDATA)>
<!ELEMENT item (itemNumber, itemDesc, itemQuantity, itemUnitPrice, itemPromoCode, itemTotal, itemCurrency)>
<!ELEMENT itemCurrency (#PCDATA)>
<!ELEMENT itemDesc (#PCDATA)>
<!ELEMENT itemNumber (#PCDATA)>
<!ELEMENT itemPromoCode (#PCDATA)>
<!ELEMENT itemQuantity (#PCDATA)>
<!ELEMENT itemTotal (#PCDATA)>
<!ELEMENT itemUnitPrice (#PCDATA)>
<!ELEMENT orderTotal (subTotal, taxRate, taxTotal, total)>
<!ELEMENT order (begSeg, poNumber, poDate, poStatus, poShipCode, poShipTo, poBillTo, item+, orderTotal, endSeg)>
<!ELEMENT poBillTo (billName, billCompany, billAddress1, billAddress2, billCity, billState, billZip, billCountry, billPhone, billEmail)>
<!ELEMENT poDate (#PCDATA)>
<!ELEMENT poNumber (#PCDATA)>
<!ELEMENT poShipCode (#PCDATA)>
<!ELEMENT poShipTo (shipName, shipCompany, shipAddress1, shipAddress2, shipCity, shipState, shipZip, shipCountry, shipPhone, shipEmail)>
<!ELEMENT poStatus (#PCDATA)>
<!ELEMENT shipAddress1 (#PCDATA)>
<!ELEMENT shipAddress2 (#PCDATA)>
<!ELEMENT shipCity (#PCDATA)>
<!ELEMENT shipCompany (#PCDATA)>
<!ELEMENT shipCountry (#PCDATA)>
<!ELEMENT shipEmail (#PCDATA)>
<!ELEMENT shipName (#PCDATA)>
<!ELEMENT shipPhone (#PCDATA)>
<!ELEMENT shipState (#PCDATA)>
<!ELEMENT shipZip (#PCDATA)>
<!ELEMENT subTotal (#PCDATA)>
<!ELEMENT taxRate (#PCDATA)>
<!ELEMENT taxTotal (#PCDATA)>
<!ELEMENT total (#PCDATA)> -
How to write a DTD for this scenario?
hi,
consider the following xml
<set after = "A">
<item name="A" ></item>
<item name="B" ></item>
</set>
The DTD for the "item" element is
<!ATTLIST item name (A | B| C| D| E ) #REQUIRED >
The attribute "after" of "set" can hold a single valid name like
<set after = "A">
or
a collection of valid names seperated by coma like <set after = "A,B,C">
how to write DTD for the "after" attibute such that it will contain a single valid name or collection of names?
Regards,
Ajay.I could be wrong, but I'm pretty sure that DTD doesn't support that. You're probably better off declaring the name attribute to be of type PCDATA and tokenizing the value manually in code.
-
Where to find the DTDs for 10.1.2.0.0
Hi,
where can I find the DTDs for the oc4j config files?
In the default server.xml I found "http://xmlns.oracle.com/ias/dtds/application-server-9_04.dtd" but in the same xml file I found the following element which I cannont find in the 9_04.dtd.
<j2ee-logging-config path="./j2ee-logging.xml" />
Thanks for your help
GüntherHere's the j2ee-logging elements from the 10.1.2 DTD
<!-- j2ee-logging config -->
<!ELEMENT j2ee-logging-config (#PCDATA)>
<!ATTLIST j2ee-logging-config path CDATA #IMPLIED
<!ELEMENT application-server (library*, rmi-config?, sep-config?, jms-config?, javacache-config?, j2ee-logging-config?, principals?, log?, java-compiler?, transaction-config?, global-application, application*, global-web-app-config?, max-http-connections?, web-site*, global-thread-pool?, compiler?, metric-collector?, cluster? )>
The j2ee-logging.xml file doesn't appear to have a DTD or XSD defined for it.
cheers
-steve- -
DTD for an "unknown" document-structure
Is it possible to write a DTD for a XML-Document, whose structure I don't know exactly. In the example below, I don't know the content of the tag c, but I would like to write a DTD for the rest of the document. Are there any possibilities to do this?
Thanks in advance
Chris
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE a SYSTEM "test.dtd">
<a>
<b>hello world</b>
<c>
<!-- here there are any childs I don't know-->
</c>
</a>
<!ELEMENT a (b, c)>
<!ELEMENT b (#PCDATA)>
<!ELEMENT c ( ??WHAT DO I WRITE HERE?? )>when u r mentioning ur own dtd in the xml doc, ensure that it is in the dir
relative to the xml doc.
That is why , when u moved to webserver's opt dir., which u specified in the
xml doc.,it worked.
please refer to the xml basic documents for details.
SP
"Kiran P" <[email protected]> wrote in message
news:3e1eb180$[email protected]..
>
Hi All
I have written a simple application to parse an XML file.
Need to validate the XML file against a DTD. The DTD will be packaged withthe
'ear' file, WL 7.0.
Am using xerces parser for XML parsing (xerces is packaged with the ear).
Following the guidelines under the 'Programming Weblogic XML' guide.
I am not able to refer to the local DTD within the ear file.
I get the following exception:
org.xml.sax.SAXParseException: File "/opt/car.dtd" not found. atorg.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1219)
atorg.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntit
y(DefaultEntityHandler.java:780)
atorg.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubse
t(DefaultEntityHandler.java:571)
at
My ear structure:
test.ear
-lib-
-lib-xerces.jar
-lib-xml-registry-dtds
-lib-xml-registry-dtds-car.dtd
-META-INF-
-META-INF-weblogic-application.xml
-webapp-
-webapp-META-INF-
-webapp-META-INF-MANIFEST.MF
weblogic-application.xml contents:
<entity-mapping>
<entity-mapping-name>car_definition</entity-mapping-name>
<system-id>/opt/car.dtd</system-id>
<entity-uri>dtds/car.dtd</entity-uri>
</entity-mapping>
MyCar.xml contents:
<?xml version="1.0"?>
<!DOCTYPE chart_definition SYSTEM "/opt/car.dtd">
<car_definition>
<car>
I can get this to work if i change the SYSTEM ID in the MyCar.xml to"file:///opt/car.dtd"
and place the DTD on the server under /opt folder.
Am I missing something? Is there any additional setup required, i failedto find
any in the Weblogic XML Programming guide.
Thanks.
-Kiran.
Maybe you are looking for
-
My old laptop crashed. I bought a new one, but when I loaded itunes and plugged in my ipad 2, it only added the songs that were purchased in the itunes store. I upgraded my os to 5.0 and it deleted all of my songs, a lot of my apps, and all of my p
-
I am unable to play games on my 4S. I keep getting this Apple ID has not yet been used in Game Center, I can't even create a new account....nothing I try seems to work.
-
No more data to read from socket only in 2nd and 3rd database
Hi, I'm developing an application for a client with three independent login modes, each one with an independent database. I'm using the following products: Oracle 9i database (9.2.0.6.0) Oracle Content Management SDK 10g (9.0.4.0.0) Oracle Workflow (
-
Sending order data to an external system using scp sftp (osm 631.221)
Hello There, I need to come up with a means of sending some order data to an external system via SCP or SFTP. I was looking at an automated task that would fire off some Java to package the data, create the file and send it. I then have to write anot
-
Changing JPG background to none/transparent.
I just switched from Quark 7 to Indesign CS5. In quark,the background color of black and white jpg could be changed to "none." This made the white background transparent. When 'none" is selected in Indesgn the white background remains white. Can