XML validation in pl/sql without installing java?
Hi!
Is it possible to validate xml documents in pl/sql without installing java in Oracle 10.2?
What do you mean?
We can manuplate [url http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements001.htm#i160550]XML Datatype in SQL, additionaly we can use some packages such as [url http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_xmlgen.htm#sthref11099]DBMS_XMLGEN, [url http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_xmlpar.htm#sthref11213]DBMS_XMLPARSER etc in PL/SQL.
Similar Messages
-
Oracle 8i XML Parser for PL/SQL
Hi,
Using "Building Oracle XML Applications" by O'reilly, I am
trying to get XML working on an Oracle 8i database. I have done the following steps:
1) verify oracle.xml.parser.v2.DOMParser class is running;
select substr(dbms_java.longname(object_name),1,30) as class, status
from all_objects
where object_type = 'JAVA CLASS'
and object_name = dbms_java.shortname('oracle/xml/parser/v2/DOMParser');
CLASS STATUS
oracle/xml/parser/v2/DOMParser VALID
OK
2) Check for Oracle XML Parser for PL/SQL is installed:
DESCRIBE xmlparser
ERROR:
ORA-04043: object xmlparser does not exist
So apparently i need to download the Oracle XML Parser for PL/SQL.
I cannot locate this download on the oracle site for version 8i (8.1.7.4 specifically).
Any helpers out there?You can use the latest version.
-
Run swing applet without installed plug-in
Is any possible way to run swing applet without installed java plug-in? Does exist way how to load swing classes from server?
Is any possible way to run swing applet without
installed java plug-in? Does exist way how to load
swing classes from server?It is impossible to run a swing applet without the plug-in.
There may be a solution : include the swing library in your applet,
so you don't need the plugin anymore (personnaly i prefer having
the plugin downloaded once and the use it as needed).
For the load from a server you will need to be more specific, but
don't forget : the applet don't run on the server, so it won't request
Swing classes from the server. -
XML Validation using java for SQL Injection and script validation
I have an input coming from xml file.
I have to read that input and validate the input against sql injections and scripts.
I require help now how to read this xml data and validate against the above two options.
I am a java developer.
in this context what is marshelling?http://www.ibm.com/developerworks/library/x-javaxmlvalidapi.html?ca=dgr-lnxw07Java-XML-Val
http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/validation/package-summary.html
The following code validates the xml against a xml schema
// define the type of schema - we use W3C:
String schemaLang = "http://www.w3.org/2001/XMLSchema";
SchemaFactory factory = SchemaFactory.newInstance(schemaLang);
Schema schema = factory.newSchema(new StreamSource("sample.xsd"));
Validator validator = schema.newValidator();
// at last perform validation:
validator.validate(new StreamSource("sample.xml"));Message was edited by:
haishai -
Validation XML documnet with XML Schema in PL/SQL
Hello,
can someone please explain
How to validate an XML document with XML schema using PL/SQL code (with out writing Java code).
Thanks for your Help in Advance
Surendra.see the posting: Schema validation routine?
regards, Bart -
Is XML-SQL Utility for Java run on Client Side?
A question about the XML-SQL Utility for Java
When a client program connect to a Oracle database (the clinet program and Oracle DB is run on two different machine. Oracle 8i is used) and use the oracle.xml.sql.query.OracleXMLQuery Class (form the XSU) to generate XML by given a SQL query. I want to know the transforation process is execute in the Clinet side or the database?
Is there any method that i can retrieve the XML directly from the database rather then doing the transformation form the Client side?Set JDK_HOME to the directory where you install your JDK (Java Development Kit).
So instance, I've install JDK1.1.8 on my
C drive so
set JDK_HOME=c:\jdk1.1.8;c:\jdk1.1.8\bin -
Errors installing XML Parser for PL/SQL
I tried to install the parser and get the following errors :
D:\xml\lib\java>loadjava -user user/pwd -r -v xmlparserv2.jar
initialization complete
loading : oracle/xml/parser/v2/XSLResultElement
creating : oracle/xml/parser/v2/XSLResultElement
Error while retrieving errors for oracle/xml/parser/v2/XSLResultElement
ORA-00904: invalid column name
loading : oracle/xml/parser/v2/XSLCopy
creating : oracle/xml/parser/v2/XSLCopy
Error while retrieving errors for oracle/xml/parser/v2/XSLCopy
ORA-00904: invalid column name
loading : oracle/xml/parser/v2/XMLByteReader
creating : oracle/xml/parser/v2/XMLByteReader
Error while retrieving errors for oracle/xml/parser/v2/XMLByteReader
ORA-00904: invalid column name
We have Oracle 8.1.5.0.0 running with JRE 1.1.8 installed.
I updated loadjava.bat to call JRE 1.1.8 instead of JRE 1.1.7.
Can't afford an upgrade to 8.1.6
Any help appreciatedGeoff Hicks (guest) wrote:
: Problems being experienced trying to install the XML parser for
: PL/SQL (zip file plxmlparser_v1_0_0_1_tar.gz).
: We are on Oracle8i (8.1.5.0.0) (with JServer).
: On installing the Oracle XML parser for PL/SQL the following
: errors appear having run the loadjava command line tool for
: xmlparser.jar:-
: loading : META-INF/MANIFEST.MF
: creating : META-INF/MANIFEST.MF
: Error while creating resource META-INF/MANIFEST.MF
: ORA-29547: Java system class not available:
: oracle/aurora/rdbms/Compiler
: loading : xmlparser_1.0.1.4_production
: creating : xmlparser_1.0.1.4_production
: Error while creating resource xmlparser_1.0.1.4_production
: ORA-29547: Java system class not available:
: oracle/aurora/rdbms/Compiler
: Lots of the following resolver errors are returned:-
: resolver :
: Error while resolving class org/w3c/dom/html/HTMLDivElement
: ORA-00904: invalid column name
It looks like you have not initialized JServer in your 8.1.5
database. This needs to be done first.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null -
How to install JAVA , XML on 10.2.0.4.0 (AIX).
Hi All,
How to install JAVA , XML on 10.2.0.4.0 (AIX).
Any document/link/ metalink doc would be highly appreciated
Thanks In advance
ivwThanks for reply.
I dont have dbca .. only ssh access, no gui
sqlplus '/ as sysdba'
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Aug 21 02:24:59 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
SQL> select count(*), owner from all_objects
where object_type like '%JAVA%' group by owner;
no rows selected
so java is not loaded in the database
I believe in 9i we have to run this
@?/javavm/install/initjvm.sql
@?/xdk/admin/initxml.sql
@?/xdk/admin/xmlja.sql
@?/rdbms/admin/catjava.sql
Is there is any change in 10g regarding these above steps?
Edited by: ivw on Aug 20, 2009 9:28 PM -
Xml SQL Utility for java and Dr.Watson for WIN-NT
hello everybody.
when i am running the sample code in xml Sql utility for java documentation,
Dr. watson for windows NT error occures.
what may be the problem? please suggest a solution
thanks
devSet JDK_HOME to the directory where you install your JDK (Java Development Kit).
So instance, I've install JDK1.1.8 on my
C drive so
set JDK_HOME=c:\jdk1.1.8;c:\jdk1.1.8\bin -
Java.lang.Exception error during XML validation by Integration Engine
Hi professionals,
We are trying to use XML validation by the Integration Engine.
Step 1:
We created an appropriate directory structure where we had to store the structure (xsd).
\usr\sap\<system id>\SYS\global\xi\runtime_server\A\B\C\D\E\F
A - validation
B - schema
C - GUID of the SWCV where service interface reside.
D - Repository Namespace where Service Interface is created.
E - Service Interface Name
F - Repository Namespace where Message Type or External Definition is
assigned.
Step 2:
We also changed the references in the xsd to exclude all the subdirectory references.
e.g folder1/folder2/abc.xsd is become abc.xsd only
Step 3:
We stored both xsdu2019s (schema xsd and referenced xsd to the directory created in step 1)
Step 4:
We changed the directory and xsdu2019s permissions to 777 (we chose 777 for testing purpose).
Step 5:
We changed the property schema validation of the sender agreement to Validation by Integration Engine.
Step 6:
We checked RFC destination for AI_VALIDATION_JCOSERVER on AS ABAP and AS Java and establish an successful connection test.
RESTULTS
The result of those steps is an error message in the message monitor of PI with the error tekst:
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="XML_VALIDATION_INB">CX_XMS_SYSERR_VALIDATION</SAP:Code>
<SAP:P1>java.lang.Exception</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>not used at the moment.</SAP:AdditionalText>
<SAP:Stack>System error occurred during XML validation</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Please assist in how to solve this issueu2026.
Regards, Sjaak.I would suggest follow Appendix A to know the exact path and since you have one XSD referring other XSD check the steps mentioned in Appendix B .... there seems to be some error in referencing ...Appendix A and B are on page 12 & 13 of this document:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06dff94-9913-2b10-6f82-9717d9f83df1?quicklink=index&overridelayout=true
Regards,
Abhishek. -
Run sql statements in PL/Sql Developer without installing Oracle database?
Hi all,
I wish to ask is there any possibility to run Run sql statements in PL/Sql Developer without installing Oracle database?
Regards.Hello Jimmy,
this is the forum for the tool SQL Developer and, as the title says, *(Not for general SQL/PLSQL questions)*.
PL/Sql Developer is not an Oracle tool, but from allound allroundautomations.
And you need access to a database to run SQL statements. This does not need to be one installed by yourself.
Regards
Marcus -
Working on SQL Developer / pl/sql developer without installing Oracle
HI,
I am working on SQL Developer tool without installing oracle into my local machine.
I just took server IP as hostname and continuing with the same/
Now, since I donot have tns names, I am not able to use any other user other than my work related.
like scott etc.
could anyone let me know, is there any way that i can work on sql developer or pl/sql developer without installing oracle into local machine
like using scott etc...
for testing and learning purpose of self code.
thanks in advance.VBSK wrote:
I am working on SQL Developer tool without installing oracle into my local machine. You need an Oracle client driver - this is mandatory.
No, you do not need a TNS alias (as the connection string can be build manually by the application and the driver).
So SQL*Developer needs to have an OCI (Oracle Call Interface) client driver. This can be "installed" using Oracle Instant Client.
Instant Client does not really install - to use it takes 3 basic steps:
- download it (zip file)
- unzip it to a directory (e.g. C:\InstantClient on Windows)
- add to your Windows User's environment an ORACLE_HOME variable that points to this directory
These steps should suffice in making the driver in in Instant Client available to Oracle applications. (works for me running an Oracle OCI client like <i>Mumbai</i> or Oracle's <i>SQL Data Modeler</i>).
If you want a tnsnames.ora file, then create the file and create a new environment variable called TNS_ADMIN that refers to directory location of the file. It can use the same location as your Instant Client directory.
PS. I assume you have an existing Oracle server to connect to. -
Can I run a soft without install sql server?
I just wrote a winform C# program and use SQL server 2012 for data.
Can I run this program on other machine without install sql server ?
If I can't. Are there other program simpler than sql server help me run it ?
THANK ALL !Agree with Nicolas. You need to modify connection string to point to proper server name. This might help in getting proper name of instance.
http://sqlserver-help.com/2011/06/19/help-whats-my-sql-server-name/
Balmukund Lakhani
Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
This posting is provided "AS IS" with no warranties, and confers no rights.
My Blog |
Team Blog | @Twitter
| Facebook
Author: SQL Server 2012 AlwaysOn -
Paperback, Kindle -
Installed Java Runtime and Perian without authentication prompt
OSX LION 10.7.3 MacBook Pro 2.2 GHz i7 Late 2011
It was my understanding (and experience thus far) that any changes to the operating system, including the addition of new applications, would prompt admin authorization and require a password. I recently installed Jave Runtime Environment and Perian without the required authentication.
I restarted my machine and downloaded and installed Chrome as well.
Any ideas?MAC ATTACKED wrote:
It was my understanding (and experience thus far) that any changes to the operating system, including the addition of new applications, would prompt admin authorization and require a password.
Only if you weren't logged in as an admin user. Very few require authentication. -
How to install only java plugin without installing jre
Hello friends,
I wanted to know if there is any way one can install java plugin in windows without need to install the entire JRE
Thanks in advance,
Mayank JohriMayank,
Perhaps http://www.java.com/en/index.jsp would help.
Maybe you are looking for
-
I'm trying to configure my first connection with JDev 9.0.3 and am getting an error when I "Test Connection". Here's what I've entered: Connection Name: dev_odin_ncamp Connection Type: Oracle (JDBC) Username: ncamp Password: ******** Role: <empty> De
-
Setting up a Linksys E1200 to Moutain Lion 10.8.3
I recently had to unplug my wireless setup at home, and when I set everything back up again, the internet doesn't work. After talking to TWC, Apple, and Linksys, the ultimate fault was with Linksys saying that the Mountain Lion 10.8.3 wasn't compatib
-
Hi, Is there any FM for getting the IBASE details for the given PIN. Thanks!!
-
Hello, I would like to create some portfolios for Acrobat XI, however I don't understand the following: 'Installing the Portfolio SDK Before you can begin developing your Navigator, install the Acrobat Portfolios SDK, install the acroFlashDebug.api p
-
Dear Expert In the spro ->Production->Material Requirement planning->Procurement proposal ->conversion of Procurement proposal->Define conversion of planned order in to purchase requisition here in the purchase requsition item i.e. object type 2 we