I have tried to compile the Schemas from that location and I got no errors.
Try using the same command-line that I have used to eliminate differences in
environments as much as possible.
scomp -dl -mx 512M opengis/ (directory where you've downloaded the Schemas)
Now it looks to me like your c
Hello,
I think the code plenty clear. Pls verify that the
"import ..." code are
correct.
Regards,
---
Bao Le
Lecturer
http://leducbao.blogspot.com
Faculty of Information Technology
Ton Duc Thang University of Tech
I have looked over it and identified what is the most probable cause for this
NPE, and as it turns out some checks were actually incorrect. Thanks for
reporting this! I'll have a fix checked in SVN shortly.
Radu
-Original Message-
From: Weiler, Frank (KBV) [mailto:[EMAIL PROTECTED]
Sent
Niklas,
I think that, when using the xmlbean ant task, you set the
binary output path by setting the classgendir attribute.
See http://xmlbeans.apache.org/docs/2.0.0/guide/antXmlbean.html for
details.
- Wing Yew
From: Niklas Modin Sent: Tuesday,
August 02, 2005 1:49 PMTo:
user@xmlbeans.apa
Hi
I am using the ant task for compiling my xsd. I’m not
sure that
I can specify the binary output path for that task. Instead is seems that there
is a TEMP path used for this as I get this output from the task :
[xmlbean] Compiling 122 source files to
D:\TEMP\xbean15776.d\classes
Hi Niklas
The TypeSystemHolder class is a generated
class which is the “link” between the Java (.class) world and the
compiled schema (.xsb) world. It is output in the binary output directory (whatever
you specify with the –d flag to scomp) and is not output if you specify
-srconly.
Just a quick note, I'm a certfied Oracle DBA, and while you should be calling
close(), this rarely truly means "close", especially if you're using statement
caches (and if you aren't, you probably should :).
In oracle it's most scalable to cache open Statements for as long as possible.
Ideal
Hi !
When using the xmlbean ant task, the generated source refers
to some strange
package names, e.g :
schemaorg_apache_xmlbeans.system.s356E206406D0E1BFD7A82E7E8EAC7C8F.TypeSystemHolder.typeSystem.resolveHandle("alerttype5256type");
When trying to compile the generated code th
Thank you Cezar
-Original Message-
From: Cezar Andrei [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 02, 2005 12:42 PM
To: user@xmlbeans.apache.org
Subject: RE: Jar file internals?
The directory schema/src is not needed for validation or parsing, but
the .xsb files are needed.
The src
I tried using just the .setRequest(reqImpl) without
prior copying but I still get the same ClassCastException.
Is there anything else I need to check?
Would it possibly be something to do with the
schema itself?
Thanks,
James Kavanagh
-Original Message-
From: David Jencks [mailto:[EMAIL
The directory schema/src is not needed for validation or parsing, but
the .xsb files are needed.
The src is included because there are applications that need the source
file of a given schema type.
If you don't use SchemaComponent.getSourceName() you probably don't use
the files in schema\src.
I would hope the schema\src directory is not needed for validation or
parsing.
We will try deleting the src and see what happens.
-Original Message-
From: Jacob Danner [mailto:[EMAIL PROTECTED]
Sent: Monday, August 01, 2005 6:38 PM
To: user@xmlbeans.apache.org
Subject: RE: Jar file intern
You can leave out the .copy(). setFoo() copies the xmlobject anyway:
otherwise you would get diamonds or directed acyclic graphs, not trees
or setting in one place would remove the object from its original
location.
I suspect that .copy() is an XmlObject method and you would need to
chan
As an addendum I've included the code snippet I'm using.
RequestDocument req =
RequestDocument.Factory.parse(new File("C:/Temp/ex.xml"),
options);
System.out.println(
"Request -- " +
req.getRequest().getCardDetails().getExpiryDate());
ResponseDocument res
Hi,
I'm new to XML Beans so forgive me if I've missed something glaringly
obvious...
I have a schema with two elements, Request and Response.
The Response element is derived from the Request element and
this is very helpfully reflected in the compiled objects after
using scomp.
Effectively when
Thanks,
That is the information I needed to remember:
"every SQL statement you run against an ORACLE server opens a database
cursor implicitly"
The solution should never be to increase the number of cursors open in
the Oracle server parameters,
that would be a mistake (poor performances, use of
According to my experience with simple Java-based applications and ORACLE, it
is very easy to exceed that limit of 50 open cursors, so we always set it to a
minimum of 500 after an ORACLE installation. I have this advice from an ORACLE
DBA book where they write that you should always increase th
... and send the DB engine to the cleaner
closing the query => close the cursor and free some memory
is probably a better solution indeed ...
however IMHO you should think twice to run 1000's queries
in parallel, or even sequentially if it is not necessary,
(you are each time paying a huge
Hello Celinio,
I have some ORACLE background, and here is what I would say:
- every SQL statement you run against an ORACLE server
opens a database cursor implicitly
- there is an "OPEN_CURSORS" parameter in the "init.ora"
file that the server uses
I got my answer, I need to use:
instruction.close();
Still, does anyone know a proper way to do it with Xmlbeans ?
Thanks
To : user@xmlbeans.apache.org
Object : ORA-01000: maximum open cursors exceeded
Hi,
I would like to make sure this error has nothing to do with XMLbeans. I
am executin
Hi,
I would like to make sure this error has nothing to do with XMLbeans.
I am executing a SELECT query each time I have a father tag, to get
information about him, passing the son and daughter
as arguments to the SELECT query.
There are like 1000 fathers, and the maximum open cursors in Oracle is
21 matches
Mail list logo