@xmlbeans.apache.org
Subject: RE: xmlbeans beginner - help
XStream does exactly what you want.
Paul
-Original Message-
From: Wing Yew Poon [mailto:[EMAIL PROTECTED]
Sent: 06 November 2007 19:34
To: user@xmlbeans.apache.org
Subject: RE: xmlbeans beginner - help
imorales,
I
Is there any way to get from Java classes without XML schema and vice versa?
Thanks.
Schalk Neethling-4 wrote:
You will more then likely have to start with a schema. So define your
schema and the from this generate your XMLBean which will give you object
A, you can then populate object A
the XmlObject without a schema, you have to use either
the cursor xo.newCursor() or the DOM xo.newDomNode().
Cezar
-Original Message-
From: imorales [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 8:50 AM
To: user@xmlbeans.apache.org
Subject: RE: xmlbeans beginner - help
xo.newDomNode().
Cezar
-Original Message-
From: imorales [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 8:50 AM
To: user@xmlbeans.apache.org
Subject: RE: xmlbeans beginner - help
Is there any way to get from Java classes without XML schema and vice
versa?
Thanks
.
To navigate/read/modify the XmlObject without a schema, you have to use
either the cursor xo.newCursor() or the DOM xo.newDomNode().
Cezar
-Original Message-
From: imorales [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 8:50 AM
To: user@xmlbeans.apache.org
Subject: RE: xmlbeans
: imorales [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 8:50 AM
To: user@xmlbeans.apache.org
Subject: RE: xmlbeans beginner - help
Is there any way to get from Java classes without XML schema and vice
versa?
Thanks.
Schalk Neethling-4 wrote:
You will more
-
From: imorales [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 8:50 AM
To: user@xmlbeans.apache.org
Subject: RE: xmlbeans beginner - help
Is there any way to get from Java classes without XML schema and vice
versa?
Thanks.
Schalk Neethling-4 wrote:
You
XStream does exactly what you want.
Paul
-Original Message-
From: Wing Yew Poon [mailto:[EMAIL PROTECTED]
Sent: 06 November 2007 19:34
To: user@xmlbeans.apache.org
Subject: RE: xmlbeans beginner - help
imorales,
I think you're looking for something that XMLBeans is not designed
The real xsds that I want to process have common some common schema types,
maybe a solution is to isolate these common types, and put them in a
seperate xsd schema.
Thanks Radu for help
John
On Wed, October 31, 2007 20:39, Radu Preotiuc-Pietro wrote:
Don't forget that multiple definitions
You should look into the sfactor utility available in the bin directory.
That utility will take common types and create a new xsd from them
-jacobd
On 11/1/07, Psoroulas John [EMAIL PROTECTED] wrote:
The real xsds that I want to process have common some common schema types,
maybe a solution
From: Jacob Danner [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 01, 2007 7:21 AM
To: user@xmlbeans.apache.org
Subject: Re: ignore multi definitions
You should look into the sfactor utility available in the bin
directory
types. Your example did not have any common Schema types,
which is why -allowmdef had no effect.
Radu
From: Jacob Danner [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 01, 2007 7:21 AM
To: user@xmlbeans.apache.org
Subject: Re: ignore multi
Hi Vinh,
There is a schema attribute whitespace=preserve you can use when defining
the string type in your xsd.
-jacobd
On 11/1/07, Vinh Nguyen (vinguye2) [EMAIL PROTECTED] wrote:
Hi,
I have an XmlBeans-generated object with a string property. I'm trying
this property with a string value
[mailto:[EMAIL PROTECTED]
Sent: Thursday, November 01, 2007 3:57 PM
To: user@xmlbeans.apache.org
Subject: Re: how to preserve string spaces
Hi Vinh,
There is a schema attribute whitespace=preserve you can use when
defining the string type in your xsd.
-jacobd
On 11/1/07, Vinh Nguyen (vinguye2
This very much looks like a bug in XMLBeans. If you have a consistent
repro (which you seem to have) it would be great to open a JIRA issue
(http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10436) and
put the repro there, so we can track this. If you do not have a JIRA
account, you can
Don't forget that multiple definitions means definitions for the same
name AND the same targetNamespace URI. In your case, since the
targetNamespace URIs are different (urn:iso:foo1 and urn:iso:foo2),
then the types have different names so the multiple definitions clause
doesn't apply. Why don't
Thanks for the input.
I will give it a try tomorrow and let you know.
I hope this is all I need.
Jeff G.
On 10/25/07, David Jencks [EMAIL PROTECTED] wrote:
I could be way way off here, and I haven't looked at this in a long
time, but have you both set up type inheritance for the schema
. There are no problems with that.
Only these single-element compositors are causing issues -- I confirmed it by
adding another (arbitrary) element to them, and their type suddenly appears
after compilation.
Any ideas?
Thanks,
Vance
Original Message
Subject: Re: Single-item sequence
for taking a look anyway Jacob. Sometimes it helps just to explain a
problem to someone else.
- Vance
Original Message
Subject: RE: Single-item sequence causes failure
From: Vance Vagell [EMAIL PROTECTED]
Date: Tue, October 23, 2007 12:22 pm
To: user@xmlbeans.apache.org
Hi
to someone else.
- Vance
Original Message
Subject: RE: Single-item sequence causes failure
From: Vance Vagell [EMAIL PROTECTED]
Date: Tue, October 23, 2007 12:22 pm
To: user@xmlbeans.apache.org
Hi Jacob,
Thanks for the responses. I should have been clearer
because our software was filtering them out, not XmlBeans.
Regards,
Vance
Original Message
Subject: Re: Single-item sequence causes failure
From: Jacob Danner [EMAIL PROTECTED]
Date: Tue, October 23, 2007 3:33 pm
To: user@xmlbeans.apache.org
Thanks for the update Vance
If I may jump in, I think what Gustavo means is you could use the
scomp utility included in the XMLBeans package to generate Java
classes representing the XML data that you want to populate your
RDBMS. This utility generates and compiles (and jars) a set of Java
class files which correspond to
Meisam,
You're welcome. I agree, you're 1st and biggest task will be to
figure out the mapping. This may or may not be at all
straight-forward, depending on the particular DOM and the RDBMS
involved and whether or not you are free to design/redesign one or
the other for your purposes.
Once
*From:* Jacob Danner [mailto:[EMAIL PROTECTED]
*Sent:* Monday, October 22, 2007 11:41 AM
*To:* user@xmlbeans.apache.org
*Subject:* Re: instantiate given a schema type
Have you looked at the SchemaTypeLoader APIs
http://xmlbeans.apache.org/docs/2.2.0/reference/org/apache/xmlbeans
... is this a feature that the
XmlObject API is lacking?
Thanks very much for your help,
cory
From: Jacob Danner [mailto:[EMAIL PROTECTED]
Sent: Monday, October 22, 2007 12:38 PM
To: user@xmlbeans.apache.org
Subject: Re: instantiate given a schema type
There are a couple of different ways you can
.
cory
From: Cory Virok [mailto:[EMAIL PROTECTED]
Sent: Monday, October 22, 2007 12:59 PM
To: user@xmlbeans.apache.org
Subject: RE: instantiate given a schema type
Unless I do a DOM node import, I get the Child to add is from another
document error when using the DOM API. I tried using
Another example is:
http://api.eurocv.eu/euroserver.php?wsdl
The type License defined as:
xsd:complexType name=License
xsd:all
xsd:element name=license type=xsd:string/
/xsd:all
/xsd:complexType
is not loaded. This one has an all, instead of a sequence, but is the same
behavior.
-
right, this is another rpc/encoded schema and you get the same error
message.
http://api.eurocv.eu/euroserver.php?wsdl:525:5: error: src-resolve:
attribute 'a
[EMAIL PROTECTED]://schemas.xmlsoap.org/soap/encoding/' not found.
One other item you can use to get around this is to add the
The type of the sequence is actually an array of type: apachesoap:mapItem
I don't think this is the cause of your problem. The WSDL is rpc/encoded
which doesn't really fit the document/literal style that it should be used
with.
I get the typical error message when trying to compile the schema
Xmlbeans generate a xml to you based on classes , to put this in rdbms
you can use any persistance framework or direct under jdbc
Gustavo de Aquino
On Oct 21, 2007, at 4:08 PM, meisam4910 [EMAIL PROTECTED]
wrote:
Hi guys,
I am new to XMLBean, does XMLBean help to insert XML document
would you mind explaining more a bit ? what do you mena by generating xml ?
xml is there already, I mean I am going to insert a valid xml into rdbms,
what do you mean by saying generating the xml ?
persistence framework like hibernate ? is that easy to use the hibernate ?
or any other frmaworks
Hi Azfar,
XmlObject maintains the xml as its manipulated.
In your code above, basically what your instance would look like is:
XyzTypeDocument doc = XyzTypeDocument.Factory.newInstance();
xyz /
XyzType xyzType = doc.addNewXyzType();
xyzxyzType //xyz
xyz.setSomething (something);
xyz
Thanks Wing,
Is that a specific to XMLBeans or is this a standard way of
displaying the date and time in an xml element? Also, are the quotes
necessary?
Thanks,
Steven
On Oct 19, 2007, at 1:27 PM, Wing Yew Poon wrote:
The error is exactly as it says:
Invalid date value: 2006-10-16
The error is exactly as it says:
Invalid date value: 2006-10-16 11:15:33
You want something like 2006-10-16T11:15:33.
- Wing Yew
-Original Message-
From: Steven Crosley [mailto:[EMAIL PROTECTED]
Sent: Friday, October 19, 2007 10:39 AM
To: user@xmlbeans.apache.org
Subject: DateTime
Hi Steven,
I don't think there is a direct way to create javadoc via scomp, but you can
generate the java src from it then run javadoc over the srcs.
scomp -src folderName ...
should output the generated java srcs to folderName
Best of luck,
-jacobd
On 10/18/07, Steven Crosley [EMAIL PROTECTED]
I can't say I've ever needed to work with that class directly.
For more information, have you tried looking through the svn depot
sources. I thought it was used internally a couple of places.
Just out of curiousity, what do you intend/need this class for?
-Jacobd
On 10/18/07, Cory Virok [EMAIL
How are you building this document?
in particular, how does ?xml version=1.0 ? get added?
-Jacobd
On 10/17/07, Anil Oggi [EMAIL PROTECTED] wrote:
?xml version=1.0 ?
ONLINE
QUERY_REVOLV
CODE123/CODE
REFNO200710171042428/REFNO
PCODERLCD/PCODE
I don't see EDLDONLINE as a start element
-Original Message-
From: Anil Oggi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 17, 2007 3:02 PM
To: user@xmlbeans.apache.org
Subject: Parsing problem
?xml version=1.0 ?
ONLINE
QUERY_REVOLV
CODE123/CODE
This is just a guess, but is the endpoint (server) needing an RPC/encoded
payload?
Otherwise are you using Axis in your container? If so which version? Are you
seeing:
http://issues.apache.org/jira/browse/AXIS2-2578https://issues.apache.org/jira/browse/AXIS2-2578
thanks,
-Jacobd
On 10/17/07,
Hi Alex,
This is really unfortunate, for reading in xml documents
there is XmlOptions.setLoadSubstituteNamespaces()
but for output I can't found anything similar.
I posted this question some time ago, without response
http://www.nabble.com/change-namespace-of-generated-document-t4158083.html
On 15/10/2007, Alex Wibowo [EMAIL PROTECTED] wrote:
Hi Marteen,
I havent found any 'good' solution to this yet. The best solution I have
found so far, is to either:
1. Insert the attribute 'xmlns'. But as pointed by Andrew, we are inserting
attribute with name 'xmlns', and not a namespace.
Alex, please let me know your solution since I am facing the same problem: I
want to change
the namespaces of the generated xml documents.
Maarten
On 10/12/07, Andrew Welch [EMAIL PROTECTED] wrote:
On 12/10/2007, Alex Wibowo [EMAIL PROTECTED] wrote:
I'm using XML bean to read an XML string,
On 12/10/2007, Alex Wibowo [EMAIL PROTECTED] wrote:
I'm using XML bean to read an XML string, and modify the namespace before
saving it back as XML string.
Say the xml that I have is:
ZFI
...
/ZFI
and I already have an XML object that represent this xml. What I had to do
is:
Ok, this method works fine for me...
Thanks
Valérie
- Reply to All the Original Message -
Author: Wing Yew Poon
To: user@xmlbeans.apache.org
Date: 10/10/2007 21:23:49
Subject: RE: Réf. : RE: Problem with boolean type
Please see what Cezar wrote on this thread.
I guess to do what you
Yes I get mustUnderstand=true instead of mustUnderstand=1
Valerie
Wing Yew Poon [EMAIL PROTECTED]
09/10/2007 21:40
Veuillez répondre à user
Pour : user@xmlbeans.apache.org
cc :
Objet : RE: Problem with boolean type
Valerie,
what exactly is the incorrect behavior
:RE: Problem with boolean type
Valerie,
what exactly is the incorrect behavior you are seeing?
Are you saying that the xml that is marshalled
is incorrect after calling the setter? i.e., you
call setMustUnderstand(true) and the xml shows
mustUnderstand=true instead of mustUnderstand=1
= xo.selectChildren(, a)[0];
axo.set(xb);
System.out.println( xo: + xo);
Cezar
From: Wing Yew Poon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 10, 2007 1:27 PM
To: user@xmlbeans.apache.org
Subject: RE: Réf. : RE: Problem with boolean type
To: user@xmlbeans.apache.org
Subject: Re: Réf. : RE: Problem with boolean type
I recently had a similar problem. A schema defines an element thusly:
xsd:element name=DayWorking type=xsd:boolean minOccurs=0/
When calling the generated interface:
d.setDayWorking( true );
XMLBeans then writes
= XmlBoolean.Factory.newInstance();
xb.setStringValue(1);
d.xsetDayWorking(xb);
From: Albert Bupp [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 10, 2007 12:08 PM
To: user@xmlbeans.apache.org
Subject: RE: Réf. : RE: Problem with boolean type
I agree that it's not a bug
valid values for the schema type. When XMLBeans
writes the xml, it uses the canonical lexical representation, which is true.
--
From: Albert Bupp [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 10, 2007 8:46 AM
To: user@xmlbeans.apache.org
Subject: Re: Réf. : RE: Problem with boolean type
.
--
*From:* Albert Bupp [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, October 10, 2007 8:46 AM
*To:* user@xmlbeans.apache.org
*Subject:* Re: Réf. : RE: Problem with boolean type
I recently had a similar problem. A schema defines an element thusly:
xsd:element name
, October 10, 2007 12:08 PM
To: user@xmlbeans.apache.org
Subject: RE: Réf. : RE: Problem with boolean type
I agree that it's not a bug, however, it would
be helpful if there were a way to direct the
setter as to the form to output the value in, as
either true or 1, since both are legitimate
Valerie,
what exactly is the incorrect behavior you are seeing?
Are you saying that the xml that is marshalled is incorrect after
calling the setter? i.e., you call setMustUnderstand(true) and the xml
shows mustUnderstand=true instead of mustUnderstand=1?
- Wing Yew
@xmlbeans.apache.org
To
user@xmlbeans.apache.org
cc
Subject
Re: error:
Unexpected
element: CDATA
Hi,
we had this error under jdk 1.6.0_02 and got around it by putting
xerces
2.9.1 in the classpath (instead of using the built-in xerces version)
maybe you have
To
user@xmlbeans.apache.org
cc
Subject
Re: error:
Unexpected
element: CDATA
Hi,
we had this error under jdk 1.6.0_02 and got around it by putting
xerces
2.9.1 in the classpath (instead of using the built-in xerces
Hi,
we had this error under jdk 1.6.0_02 and got around it by putting xerces
2.9.1 in the classpath (instead of using the built-in xerces version)
maybe you have a similar setup!?
/Ole
eviware.com
[EMAIL PROTECTED] wrote:
Hi All,
I get following Exception on parsing my XML file.
Hi,
Yes it is possible. You can do something like this :
File schemaFile;
InputStream xsdFileStream = new FileInputStream(schemaFile);
XmlOptions options = new XmlOptions();
options.setCompileDownloadUrls();
options.setEntityResolver(new
Patrizio,
There are a number of ways to find out the name of the document root or
return the object that represents its content, but the first that comes
to mind is using the cursor:
XmlCursor xc = document.newCursor();
xc.toFirstChild();
QName nameOfTopLevelElement = xc.getName();
XmlObject
Can you clarify, (maybe using an xml instance) what your complexType
List would look like. As far as I am aware this is not possible
because its illegal/invalid according to the schema specification.
Also, to me, using list ONLY makes sense using a simple type anyway.
If you can let the list know
I have an object , say PersonalInfo which contains two fields name and
address.
Now I need a list of PersonalInfo.
My xsd definition is as follows :
xs:simpleType name=PersonalInfoList
xs:list itemType=PersonalInfo /
/xs:simpleType
xs:complexType name=PersonalInfo
xs:sequence
Youssef,
You will not get such an accessor method. You will instead get methods
like this :
FooDocument.getFoo().getAttribute1();
FooDocument.getFoo().getAttribute2();
FooDocument.getFoo().getAttribute3();
On 10/3/07, Youssef [EMAIL PROTECTED] wrote:
hi,
i have a schema containing
I want to put some complex Type is the list.
Is it possible?
Also can u suggest me the use of xs:ENTITIES and xs:NMSTOKENS ?
There are little abount it in the internet .
Thanks in advance
Jacob Danner-2 wrote:
Are you referring to the use of xsd:list?
Then as far as I know there is no
I think you should try VTD-XML for that
http://vtd-xml.sf.net
- Original Message -
From: zulu [EMAIL PROTECTED]
To: user@xmlbeans.apache.org
Sent: Tuesday, October 02, 2007 5:21 PM
Subject: how to find out if child elements are empty
Hi All,
We are currently working on a huge xml
Hi David,
I ran into this sometime ago, but I think its by design.
Calendar.MONTH starts at 0 and not January == 1.
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html#MONTH
whereas Calendar.DATE starts at 1.
Hope this helps,
-Jacob Danner
So I think you are getting the expected
This is not a bug.
java.util.Calendar.MONTH is 0-based.
See
http://java.sun.com/j2se/1.4.2/docs/api/constant-values.html#java.util.Calendar.JANUARY
http://java.sun.com/j2se/1.4.2/docs/api/constant-values.html#java.util.Calendar.JANUARY
.
- Wing Yew
From:
Hi,
I'll try my best to answer your questions/comments, but if you need
more information, please ask.
One observations these xml beans generated classes do not have
an inbuilt relationship (inheritance tree) which limits reusability.
This may have something to do with teh way your schema is
Hi Jacob,
Those replies were indeed very helpful.
Regarding schema design pattern I don't have much idea about various schema
design patterns and their advantages.
The java application which we are working on communicates with web service
which is exposing a wsdl. We plan to use xmlbeans to
Hi Ole,
What you are seeing is expected behavior for XMLBeans. The classes are
generated this way because of the schema design pattern you are using.
In your Tree xsd you are using the russian doll pattern while in your
flat file xsd you are using the salami slice pattern.
Here is some additional
Hi Bo,
It looks like you might have an extra space in your namespace declaration.
Also, for convenience you may want to declare your targetNamespace
with a prefix so you can refer to it in the schema.
try something like:
xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema;
Thanks Cezar,
I got it working late yesterday.
From: Cezar Andrei [mailto:[EMAIL PROTECTED]
Sent: 27 August 2007 08:18 PM
To: user@xmlbeans.apache.org
Subject: RE: xsdconfig revisited
Check out the wiki page
http://wiki.apache.org/xmlbeans
Check out the wiki page
http://wiki.apache.org/xmlbeans/ExtensionInterfacesFeature
and the tests
http://svn.apache.org/viewvc/xmlbeans/trunk/test/cases/xbean/extensions/
interfaceFeature/
As it's described in the wiki page: The for attribute can accept a list
of xbean java interfaces
No, what you are asking essentially is a paging mechanism.
In most very large documents scenarios, the following should work: Use
SAX or preferrably StAX (JDK 1.6's java.xml.stream) because with StAX
you can split the tree under a particular element in a separate
substream from which you can
Thanks Radu,
I'll look into it. I appreciate the answer.
Wade
--- Radu Preotiuc-Pietro [EMAIL PROTECTED] wrote:
No, what you are asking essentially is a paging
mechanism.
In most very large documents scenarios, the
following should work: Use
SAX or preferrably StAX (JDK 1.6's
Hi Leszek,
I don't remeber the rules off the top of my head but I thought it was
outlined in the one of the getting started docs. I'll try to skim a
more detailed answer for you tommorow.
I do have one question for you regarding this type. Since you are
using it to represent a year, why not use
Does the file have the xsdconfig extension? I.e. is called
somename.xsdconfig? Also make sure it's in the list of files to be
compiled.
Cezar
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 22, 2007 8:49 AM
To:
Jacob Danner wrote:
Is the WSDL rpc/encoded?
-Jacob Danner
No, it's document/literal, at least it's supposed to be. :-)
The vendor tool which runs the server has recently been updated to
support doc/lit; and there may be problems with it...
-- Scott
On 8/22/07, Scott Sauyet [EMAIL
Hi Cezar,
I was just calling it .xsdconfig. So it does need to be for example
statement.xsdconfig? I do have it in the same folder as all the XSD's
that gets compiled.
Thank you for your help so far.
Cezar Andrei wrote:
Does the file have the xsdconfig extension? I.e. is called
Interesting, usually when I've seen soap encoding its been for RPC based WSDL.
The way I've seen doc/literal arrays declared is with something like:
xs:element name=someName type=xs:int minOccurs=0 maxOccurs=unbounded /
with that maxOccurs attribute turning whatever someName would be to an
array
This is great!
I have been thinking about doing it myself, but I haven't had the time
yet. It should be possible and it would sure be a welcome feature.
The code that generates the files is in
org.apache.xmlbeans.impl.schema.SchemaTypeCodePrinter. You probably
already know about the -src flag to
Thanks Radu.
-Original Message-
From: Wing Yew Poon [mailto:[EMAIL PROTECTED]
Sent: 17 August 2007 08:01 PM
To: user@xmlbeans.apache.org; [EMAIL PROTECTED]
Subject: RE: General question
From the archives:
--
FromRadu Preotiuc-Pietro [EMAIL PROTECTED]
Subject RE
Hi Jacob,
Thanks for answering.. unfortunately this didn't work.. I tried a number
of combinations with different XmlOptions etc without any luck.. Should
I file a bug report somewhere?
anyhow, I worked around it for now by removing those not used manually..
best regards,
/Ole
eviware.com
Hi,
exactly, I was using parse(String).. what is the recommended way to
parse to get this option working?
Anyway, I used the XmlCursor API as you suggested and it works just fine!
thanks again for answering,
regards,
/Ole
eviware.com
Jacob Danner wrote:
How were you building your
/apache/xmlbeans/impl/values/XmlObjectBase.java
in the svn repository.
- Wing Yew
-Original Message-
From: Wing Yew Poon [mailto:[EMAIL PROTECTED]
Sent: Friday, August 17, 2007 11:01 AM
To: user@xmlbeans.apache.org; [EMAIL PROTECTED]
Subject: RE: General question
From
/values/XmlObjectBase.java
in the svn repository.
- Wing Yew
-Original Message-
From: Wing Yew Poon [mailto:[EMAIL PROTECTED]
Sent: Friday, August 17, 2007 11:01 AM
To: user@xmlbeans.apache.org; [EMAIL PROTECTED]
Subject: RE: General question
From the archives:
--
From
From the archives:
--
FromRadu Preotiuc-Pietro [EMAIL PROTECTED]
Subject RE: Serialization (again)
DateWed, 12 Oct 2005 22:53:03 GMT
I think the definitive answer is:
- generated Java classes are serializable and the serialization format
is XML, so that when you
There is no way to find that out. To understand why, consider a parallel
with Java classloaders. You can't rely on a set of already loaded
classes because classloaders may unload classes at any time. All that
matters is whehter a given loader can load a class or not, the rest is
optimization. The
Thanks a lot for your answer Radu
Best Regards,
John Ps.
On Fri, August 17, 2007 01:22, Radu Preotiuc-Pietro wrote:
There is no way to find that out. To understand why, consider a parallel
with Java classloaders. You can't rely on a set of already loaded classes
because classloaders may
Anyone?
Basically I want a search and replace. I can grab the XMLObject
(WIPKEYSDocument) but can't replace it with another
WIPKEYSDocument.
Please?! Anyone?
- Original Message
From: bob bob [EMAIL PROTECTED]
To: user@xmlbeans.apache.org
Sent: Tuesday, August 14, 2007 3:52:32 PM
(keys.getWIPKEYS()) .
Cezar
From: bob bob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 15, 2007 1:25 PM
To: user@xmlbeans.apache.org
Subject: 2nd Post. Help! Search and Replace...Re: How to edit data in a
specific part of an XMLObject
Anyone?
Basically I want
Sent: Wednesday, August 15, 2007 3:40:33 PM
Subject: RE: 2nd Post. Help! Search and Replace...Re: How to edit data in a
specific part of an XMLObject
Bob,
The wipkeys array returned from selectPath() method is just a copy, it’s not a
live object in XMLBeans structures, so modifying
Sent: Wednesday, August 15, 2007 3:40:33 PM
Subject: RE: 2nd Post. Help! Search and Replace...Re: How to edit data in a
specific part of an XMLObject
Bob,
The wipkeys array returned from selectPath() method is just a copy, it's not
a live object in XMLBeans structures, so modifying
I haven't been able to find a solution for my problem described below.
Could anybody comment on it?
Thanks.
From: Alec Lebedev [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 12, 2007 8:12 PM
To: user@xmlbeans.apache.org
Subject: alternatives to ID/IDREF
To get the parent you can use the cursor API or write a more specific xpath
something like /a/b/c/.. .
Cezar
From: bob bob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 15, 2007 4:10 PM
To: user@xmlbeans.apache.org
Subject: Re: 2nd Post. Help! Search
]
To: user@xmlbeans.apache.org
Sent: Wednesday, August 15, 2007 5:15:35 PM
Subject: Re: 2nd Post. Help! Search and Replace...Re: How to edit data in a
specific part of an XMLObject
If you use the other method Cezar mentioned
parent.setWIPKEYS(keys.getWIPKEYS())
you can replace the entire WIPKEYS
Razvan,
Sorry for long time the work has killing me :D
I will send how i use hibernate with xmlbeans, i dont have time to write
papper now, but i will.
Can you send me your Hibernate interceptor ? this will help me to see the
problem and i will try to help you.
best regards.
On 8/8/07,
Can you accomplish this same task using Ant?
From: Jacob Danner [mailto:[EMAIL PROTECTED]
Sent: 14 August 2007 10:24 AM
To: user@xmlbeans.apache.org
Subject: Re: Generating Javadoc
The scomp utility has a -src option to generate the Java code. You can
run
Just saw the srcgendir on the documentation. I am trying this out now.
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: 14 August 2007 11:28 AM
To: user@xmlbeans.apache.org
Subject: RE: Generating Javadoc
Can you accomplish this same task using Ant
Neethling [mailto:[EMAIL PROTECTED]
Sent: 14 August 2007 11:38 AM
To: user@xmlbeans.apache.org
Subject: RE: Generating Javadoc
Just saw the srcgendir on the documentation. I am trying this out now.
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: 14
No problem, got this working and the javadoc generated from the source.
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: 14 August 2007 12:01 PM
To: user@xmlbeans.apache.org
Subject: RE: Generating Javadoc
Greetings,
Would the appropriate usage
Hi Knut-Erik,
The best way to solve this is to open a customer request through BEA
support on WLS.
Cezar
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, August 10, 2007 3:28 PM
To: user@xmlbeans.apache.org
Subject: Problem with output
901 - 1000 of 1973 matches
Mail list logo