k like the instance output above, but with the
following added as the last element, immediately before the
element.
Backyard Astronomer's Guide, The
5.0
49.95
2
Shouldn't that line item be (using the values passed in on the command
line?):
a new item
5.0
I need to do something like this:
BookDoc booksDoc = BooksDoc.Factory.parse(xml, validationOptions);
Book book = bookDoc.getBook();
for (Author author:book.getAuthors()) {
book.setMyCustomNumber(5);
// how do I "save" this so the save method below gets a book
object where the myCus
strip off whitespace in Java.. but
then you need to cast again and its a length process...
From: Jason Berk
To: user@xmlbeans.apache.org
Sent: Tue, 11 May, 2010 2:43:08 PM
Subject: RE: binding int with leading spaces
Duh
Duh?
-Original Message-
From: Jason Berk [mailto:jb...@purdueefcu.com]
Sent: Tuesday, May 11, 2010 9:38 AM
To: user@xmlbeans.apache.org
Subject: binding
This is more of a general XML question.
I have fields like this in my XML:
123456
123456789
The amount of leading white space is variable.
How can I bind to that element as an INT? Currently, I'm using TOKEN to
ignore the whitespace, but then I have to cast in code to INT. Is t
en,
there was no 1.6 yet, and I took a quick look but didn't see
any check on the value of the javasource parameter, so maybe
you can try setting javasource to 1.6 in and see if the ant
task succeeds.
- Wing Yew
-Original Message-
From: Jason Berk [mailto:jb...@purdueefcu.com]
Sent: Th
ase try it and see.
- Wing Yew
-Original Message-----
From: Jason Berk [mailto:jb...@purdueefcu.com]
Sent: Thursday, March 04, 2010 10:42 AM
To: user@xmlbeans.apache.org
Subject: xmlbeans with java 6
Regarding xmlbeans ant task...
"Javasource - Generate java source compatible with th
Regarding xmlbeans ant task...
"Javasource - Generate java source compatible with the given version.
Currently only "1.4" and "1.5" are supported."
Any movement towards supporting 1.6 given java 5 is EOL
http://java.sun.com/javase/downloads/index_jdk5.jsp
***This is a transmission from Purd
enting a custom interface
If I understand you correctly, in your XSD create a base type with the
common attributes. Create types for each of your 3 derived from the
base type. In your code you can refer to each as basetype and for
specifics test with instanceof.
Paul Gillen
-Original Messa
I have three types in my XSD: Savings, Checking, Certificate.
Is it possible to add something (to the .xsdconfig?) that makes all
three types implement an interface I created?
I want my beans to be like this:
Product
getStaringBal()
getEndingBal()
Savings implements Product
pharma.com]
Sent: Tuesday, September 15, 2009 9:23 AM
To: user@xmlbeans.apache.org
Subject: Re: heap error
Did you increase the heap size before starting anyway ?
Something like -Xmx1024M -Xms1024M
The default is 160K or something like that, which is not much ...
- Original Message -
Fr
Do I have a memory leak here:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at
com.purdueefcu.statements.services.regmember.RegularMemberStatementServi
ce.bind(RegularMemberStatementService.java:67)
What isn't being garbage collected and leaking memory? Is the
as they are needed?
In other words, are there references left around that is causing the
heap to grow?
-jacobd
On Mon, Sep 14, 2009 at 1:16 PM, Jason Berk
wrote:
I have an xml clob and account in a DB. I need to select the xml and
bind it with XML Beans. This works fine for the first 30,0
FYI: the xml is < 1MB is size and is different for each account.
Jason
-Original Message-
From: Jason Berk [mailto:jb...@purdueefcu.com]
Sent: Monday, September 14, 2009 4:16 PM
To: user@xmlbeans.apache.org
Subject: java.lang.OutOfMemoryError: Java heap space
I have an xml clob
I have an xml clob and account in a DB. I need to select the xml and
bind it with XML Beans. This works fine for the first 30,000 or so
accounts, but eventually I get "ava.lang.OutOfMemoryError: Java heap
space"
This is the line that is blowing up:
MemberStatementDocument doc = MemberStatementDo
15 matches
Mail list logo