XDK for Java: dateTime validation error
Hi,
I am using Oracle XDK for Java. I created an XML Schema where I have an element of type xs:dateTime. Proper value for this field is for example: '2002-10-16T12:24:15+02:00'. But when I validate this value I get: class java.lang.NumberFormatException: For input string: "02:00".
This is probably a bug in XDK, but is there any workaround for this?
Thanks in advance
Jacek Chmielewski
Jinyu,
I guess the next release will need to be waited for as I have
not been able to get you to respond to my questions.
In the meantime, I'll have to use Sun's JAXB as I know it will
generate the classes I want.
jim
PS: I am still available to work through this with you, but I
need to move forward.
Similar Messages
-
Problem with downloading xdk for java - suggestions?
I am having problems downloading the xdk for java. Could someone please direct me to an alternate site for download?
In Windows, open the Task Manager and, in the Processes tab, close bridge.exe.
http://helpx.adobe.com/creative-suite/kb/error-installation-cannot-continue-bridge.html -
XDK for PL/SQL vs XDK for Java
Hi ,
I am trying to find what version of XDK and whether it is for java or PL/SQL. I am confused after what I saw in our environment. Please clarify..
When I run the getReleaseVersion() and do a
select xmlversion from dual,
I get
Oracle XDK Java 9.0.1.1.0A Production
Does this mean we have XDK for Java? not for PL/SQL?
I also see PL/SQL packages for XMLDOM,XMLGEN.XMLPARSER,XSLPROCESSOR,DBMS_XMLQUERY,DBMS_XMLSAVE.
Does this mean I have/not XDK for PL/SQL??
Please clarify.XDK for PL/SQL is built based on XDK for Java. So that's why you got the result. It should also reflect the version you use.
-
ANN: XDK for Java/PLSQL 9.2.0.1 PRODUCTION
Today the 9.2.0.1 Production versions of the
Oracle XDK for Java and PL/SQL were posted
for download here on OTN. Visit the following
links and click on the "Software" link in
the left margin to download.
[list]
[*]XDK for Java
[*]XDK for PLSQL
[list]On Sat Mar 2 and Sun Mar 3 xdk java 92010 unavailable for download.
From:
http://otn.oracle.com/software/tech/xml/xdk_java/htdocs/winsoft.html
To:
http://download.oracle.com/otn/utilities_drivers/xml/java/xdk_java_9_2_0_1_0.zip
To:
The page you are looking for is currently unavailable.
Has the kit been temporarily removed in preparation for another? -
XDK For Java/Unix Download Garbaged
I have just downloaded the XDK for Java on Unix but am unable to gunzip it. I get the message from gunzip
$ gunzip xdk_java_8_1_7_1.tar.gz
gunzip: xdk_java_8_1_7_1.tar.gz has more than one entry -- unchanged
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Stephen Hindmarch ([email protected]):
I have just downloaded the XDK for Java on Unix but am unable to gunzip it. I get the message from gunzip
$ gunzip xdk_java_8_1_7_1.tar.gz
gunzip: xdk_java_8_1_7_1.tar.gz has more than one entry -- unchanged<HR></BLOCKQUOTE>
Same thing happened to me,
I had to use 'unzip xdk_java_8_1_7_1.tar.gz'
which did unzip it.
Even still, the directory structure you get is nothing like it says in the release notes. (Same thing happens with the Windows version) -
Hi there,
I am new to this tool and cant find something needed, Can anyone let me know does this tool includes the XDK for Java?Yes it does include the Oracle XDK for Java.
You can add the libraries to your project in your project properties. -
Hi,
I have downloaded the xdk for java and i have unzipped them into my c:\xdk-java folder.
I have oracle 8.1.7 database and i want to use this xdk for java to generate xml files.
How to start with this and how to use this tool to generate xml files from my database.
Anyone can give me the steps for using this and generating xml files.
Any help will be appreciated..Hi,
You can start from reading the XSU document and try the demos come with the package. The document is at:
http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/xsu/xsu_userguide.html -
Hello,
I want to download the XDK for Java for Oracle8i, I dont see it in the download section. I see only for Oracle 9i. Can anyone tell me where it has been moved? I have the database in Oracle 8i.
Thanks.
Rama.Use the XDK for 9i, it also works for 8i (but make sure to use the right version of classes.zip and xsu.jar).
-
SAPGUI for JAVA on HPIA64 error
Dear all,
We have installed SAPGUI for JAVA 7.00 in our HPIA64 server (hpux 11.23), using java1.4 version.
While starting the sapgui with the following command I get the below error:
cpchpsap:dv2adm 36> sapgui /H/binmain.cpchpsap.clorox.com/S/3253
ERROR #############################
23.12. 17:17:22.937 ERROR: Attempt to load shared library /home/dv2adm/SAPClients/SAPGUI7.00rev2/bin/libJPlatin.sl failed.
23.12. 17:17:22.937 ERROR: The library file exists, so either the program
23.12. 17:17:22.937 ERROR: don't has the privileges to access the library
23.12. 17:17:22.937 ERROR: or the library is not loadable by the shared object loader
23.12. 17:17:22.937 ERROR: Technical information:
23.12. 17:17:22.937 ERROR: Error location: GuiJniLoader.loadPlatinLibrary()
23.12. 17:17:22.937 ERROR: Error message : /home/dv2adm/SAPClients/SAPGUI7.00rev2/bin/libJPlatin.sl: '/home/dv2adm/SAPClients/SAPGUI7.00rev2/bin/libJPlatin.sl' is not a valid load module: Bad magic number
ERROR #############################
java.lang.UnsatisfiedLinkError: /home/dv2adm/SAPClients/SAPGUI7.00rev2/bin/libJPlatin.sl: '/home/dv2adm/SAPClients/SAPGUI7.00rev2/bin/libJPlatin.sl' is not a valid load module: Bad magic number
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1611)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1482)
at java.lang.Runtime.load0(Runtime.java:741)
at java.lang.System.load(System.java:811)
at com.sap.platin.r3.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:114)
at com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:24)
at com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:289)
at com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:316)
at com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:860)
at com.sap.platin.base.logon.GuiImpl.evalCommandLine(GuiImpl.java:275)
at com.sap.platin.base.logon.GuiImpl.<init>(GuiImpl.java:44)
at com.sap.platin.base.logon.GuiImpl.main(GuiImpl.java:447)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.platin.micro.Microkernel.invokeMainMethod(Microkernel.java:1670)
at com.sap.platin.micro.Microkernel.startApplication(Microkernel.java:1750)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.platin.Gui.main(Gui.java:65)
Please note our server is IA64 is a 64 bit server.
Can anyone help me to sort out this issue.
I have read this note 335515, but not able to understand fully
Thanks
SenthilSAPGUI for Java is not available for IA64/Itanium-2 - just for PA-RISC.
Markus -
XDK for PL/SQL sample errors
Hi,
I'm trying to run the domsample file and am getting the following errors. Can anyone tell me why? This is an Oracle 8i db Release 8.1.7.0.0
SQL> execute domsample('C:\XML\xdk\demo\plsql\parser', 'family.xml', 'errors.txt');
BEGIN domsample('C:\XML\xdk\demo\plsql\parser', 'family.xml', 'errors.txt'); END;
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.SecurityException: relative pathnames are not
allowed(C:\XML\xdk\demo\plsql\parser)
ORA-06512: at "SYS.XMLPARSERCOVER", line 0
ORA-06512: at "SYS.XMLPARSER", line 154
ORA-06512: at "NSWEBDEVE.DOMSAMPLE", line 77
ORA-06512: at line 1
Thanks,
NatalieSounds like the same problem described in a number of posts
recently.
Re: Startup/Shutdown 9iAS on windows
http://forums.oracle.com/forums/message.jsp?id=550104
The problem is caused by unresolved classes in the XSU package
from the latest Beta, I hope someone from Oracle can take a look
at this.
Good luck!
Ola -
Permanent solution for Java iView Runtime error ?
Hi
I have SAP IDES installed in my system...recently i am getting following error when i am trying to login Portal :
Java iView Runtime
Copyright 2002 SAP AG. All rights reserved.
An exception occured while processing your request.
If this situation persists, please contact your system administrator.
I have searched SDN many discussions say that restart server and check memory and...etc......etc
My system also if i restart server problem is solved temprarely....
My system memory is not a problem because i have 16GB Ram amd 1 Tera hard disk still i have 500 GB hard diskk free space...
If i restart simply MMC my J2ee table will not connected so i have to restart hole sytem them start MMC .....then server is up and i can connect to portal .......it seems connection for j2ee table are getting lost.....
Can some one suggest me permanent solution
thanks in advanceHi Maya,
BEx Web Analyzer requires Portal and is basically a Web template called 0ANALYSIS_PATTERN.
Is Portal configured in your system landscape? If yes try to see if its configured probably using transaction RSPOR_CUST01.
If you have access to SM59, you can test the RFC connection to the portal by running the Test Connection for the corresponding RFC destination ID that you see in RSPOR_CUST01 transaction.
Assign points if helpful
Regards, Uday -
Xdk for java class generation exception
Has anyone seen the following/know how to avoid it?
When I use oracg -d store_data.dtd, I am receiving the following
exception:
C:\Jim\config>oracg -d store_data.dtd
Error: DTD Class Generator failed to generate classes.
java.lang.SecurityException: sealing violation
Any help would be appreciated.
jimJinyu,
I guess the next release will need to be waited for as I have
not been able to get you to respond to my questions.
In the meantime, I'll have to use Sun's JAXB as I know it will
generate the classes I want.
jim
PS: I am still available to work through this with you, but I
need to move forward. -
XDK for PL/SQL install errors
Is this a problem ?
resolver :
Error while turning off verifier
ORA-29532: Java call terminated by uncaught Java exception:
java.security.AccessControlException: the Permis
sion (oracle.aurora.security.JServerPermission Verifier ) has
not been granted by dbms_java.grant_permission to
SchemaProtectionDomain(SYSTEM|PolicyTableProxy(SYSTEM))
I also get some of these ...
errors : oracle/xml/sql/dml/OracleXMLSave
ORA-29534: referenced object
SYSTEM.oracle/xml/sql/core/OracleXMLConvert could not be resolved
skipping : oracle/xml/sql/core/OracleXMLTime is already resolved
resolving: oracle/xml/sql/core/OracleXMLConvert
errors : oracle/xml/sql/core/OracleXMLConvert
ORA-29521: referenced name oracle/gss/util/XmlValidate could
not be found
resolving: oracle/xml/sql/OracleXMLSQLNoRowsException
errors : oracle/xml/sql/OracleXMLSQLNoRowsException
ORA-29534: referenced object
SYSTEM.oracle/xml/sql/OracleXMLSQLException could not be resolved
resolving: oracle/xml/sql/core/OracleXMLUtil
errors : oracle/xml/sql/core/OracleXMLUtil
ORA-29534: referenced object
SYSTEM.oracle/xml/sql/core/OracleXMLConvert could not be resolved
At the end, the final test shows ...
SQL> Rem Use these to test the results..
SQL> select dbms_xmlquery.getxml('select * from dual', 2) from
dual;
select dbms_xmlquery.getxml('select * from dual', 2) from dual
ERROR at line 1:
ORA-29541: class
SYSTEM.oracle/xml/sql/query/OracleXMLStaticQuery could not be
resolved
ORA-06512: at "SYSTEM.DBMS_XMLQUERY", line 20
ORA-06512: at "SYSTEM.DBMS_XMLQUERY", line 271
ORA-06512: at line 1
Can anyone please help. My load command was ...
./xdkload -u "system/manager" -s -noverify -dbver "817"
I'm trying to load version 9.0.2.0.0C into an 8.1.7 instance on
HP-UX 11. Before running the script, I had to set environment
variables INSTALL_ROOT, and LD_LIBRARY_PATH (we use
SHLIB_PATH). I haven't actually found any installation
instructions, so I've only got this far by poking around. Any
help is much appreciated.
SteveSounds like the same problem described in a number of posts
recently.
Re: Startup/Shutdown 9iAS on windows
http://forums.oracle.com/forums/message.jsp?id=550104
The problem is caused by unresolved classes in the XSU package
from the latest Beta, I hope someone from Oracle can take a look
at this.
Good luck!
Ola -
Hi,
I've created a third product level called "partner" other than the two that come as standard.
I'm running through the process of taking an existing user from the starter product to the partner product, and am subscribing the user to partner before removing the starter subscription. There seems no problem with a user having both a starter and unlimited
subscription, but am getting the following error when subscribing to partner.
"Subscriptions limit reached for same user"
This is using a subscriptions put. The same code works fine when upgrading to unlimited.
What can cause this?
AndyHi Miao,
The function to promote someone to partner is:
public async Task<ActionResult> ToPartner(string id)
//add partner subscription
var prodId = await APIMHandler.GetProductIdFromName("Partner");
var subscriptionId = Guid.NewGuid().ToString();
//set apim role to partner
var partnerId = (await APIMHandler.GetGroups()).First(a => a.name == "Partners").id;
await APIMHandler.AddUserToGroup(id, partnerId);
if (await APIMHandler.SubscribeToProduct(subscriptionId, id, prodId))
//disable starter subscription
await ApimDelegationController.HandleFreeSubscriptionRemoval(id);
//set local role to partner
await UserManager.AddToRoleAsync(id, "Partners");
return RedirectToAction("Index");
Where subscribetoproduct is:
public static async Task<bool> SubscribeToProduct(string subscriptionId, string UserId, string productId)
//The REST API and the delegation are inconsistent in how they represent ids.
if (!UserId.StartsWith("/users/"))
UserId = "/users/" + UserId;
if (!productId.StartsWith("/products/"))
productId = "/products/" + productId;
var client = new HttpClient();
client.DefaultRequestHeaders.TryAddWithoutValidation("Authorization", "SharedAccessSignature " + CalculateAcessToken(ApimIdentifier, ApimPrimaryKey));
var uri = ApimBaseUrl + "subscriptions/" + subscriptionId.ToString() + "?api-version=" + ApiVersion;
var response = await client.PutAsJsonAsync(uri, new { userId = UserId, productId = productId, state = "active" });
if (response.StatusCode == System.Net.HttpStatusCode.Created)
return true;
if (response.StatusCode == System.Net.HttpStatusCode.Conflict)
var error = await response.Content.ReadAsStringAsync();
return false;
if (response.StatusCode == System.Net.HttpStatusCode.BadRequest)
var error = await response.Content.ReadAsStringAsync();
return false;
var errorf = await response.Content.ReadAsStringAsync();
throw new Exception(string.Format("Error in SubscribeToProduct: return status {0}. Content: {1}", response.StatusCode.ToString(), errorf));
The status code is "BadRequest" and the error provided earler is returned.
So at this time the user is added to the "partners" group, but I can't subscribe them to the Partner subscription, which is accessible to members of the partner group.
Andy -
Hello there
When I run the loadjava batch file with xmlparserv2.jar as acommand line parameter, it throws an error saying that cannot handle the compressed file.I downloaded the XDK once again but I came across the same problem.Please help me.
Thank you.Hi
I ve got the same problem, I can t do a loadjava with the xmlparserv2.jar ....
Please give me a clue !
Thanks,
-- Tom --
Maybe you are looking for
-
Hi guys, I believe this is just a bug in Premiere Pro CC 2014 (and other versions in the past), but I wanted to make sure it was on the PP team's plate for the next update, since it's detrimental to a workflow that include more than one computer or m
-
Creating hyperlinks pointing to within a pdf...
I'm trying to determine if there's a way that I can create a hyperlink in my Word or Excel documents that will open up a pdf and display/highlight a specific page, paragraph, sentence, or picture within the given pdf.
-
Launched Muse. . . wasn't a prompt for update? Application Manager says 'up to date' but still older version running.
-
Dynamic Credentials and Web Service Data Controls
I've followed Steve Muench's post on using Dynamic Credentials (14. Dynamic JDBC Credentials for Model 1 and Model 2 [10.1.3.2] 2006, Upd: 17-MAY-2007), which works fine with the ADF BC part of the project. However, the project also contains Data
-
Explanation of some fields description
HI In MM module, at the time of creation of Inbound deliver (Vl31n), If we click on Header information (Hat), and then click on Shipment tab, There are description of few fields which are not readable and understandable. For example DGMgmtProf ,