XmlCursor's copy and move methods can be used for this.
-Original Message-
From: Ali, Haneef [mailto:[EMAIL PROTECTED]
Sent: Monday, May 23, 2005 5:38 PM
To: user@xmlbeans.apache.org
Subject: RE: good way of writing xs:any
Hi Steven,
This is one area where the functionality of
We are surveying XMLBeans users to help us decide what to focus on for v3.
Here's a chance to tell us whats important to you. Please help us improve
XMLBeans by answer the following questions:
1) How did you hear about XMLBeans?
[ ] conference
[ ] internet articles or web logs
[ ]
Kent,
The XmlObject interface always represents the content, it does not
represent the node itself as in DOM.
There are three different types of XmlObject:
1) content of an element: i.e. attributes, inner elements and inner
text, without the element name.
2) simple type content: i.e. text, can
to insert
and
where to read these 'extrinsically' typed elements. One could imagine
an extension to support this idiom - sort of like JAXB's support.
Thanks for listening, and helping,
--Kent
Cezar Andrei wrote:
Kent,
The XmlObject interface always represents the content, it does
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.
Title: Message
By default, XMLBeans synchronizes all
required entrances per store, unless you use XmlOptions.setUnsynchronized()
when creating a new store with Factory.parse() or Factory.newIstance().
Cezar
From: Radu
Preotiuc-Pietro
Sent: Friday, August 19, 2005 3:15
PM
This sure seems like a bug, would you open up a bug in JIRA so we can
track it. Also if you have a patch for it, it would be very much
appreciated.
Cezar
-Original Message-
From: Christopher Lamey [mailto:[EMAIL PROTECTED]
Sent: Friday, September 02, 2005 2:19 PM
To:
Actually there is a nicer way to get to the schema source:
SchemaType type = GeneratedXMLBean.type;
InputStream is = type.getTypeSystem().
getSourceAsStream(type.getSourceName());
Cezar
-Original Message-
From: Cezar Andrei
Sent: Tuesday, October 04
Since revision 312915, XMLBeans uses a new jsr173 bundle containing only
the
jsr173 API, this bundle is licensed under an Apache ASF license.
In order to pick up and build with the new bundle, please execute:
ant clean.jars clean deploy
Many thanks to Lawrence Jones and Cliff Schmidt,
There is an earlier discussion on this
topic, please see:
http://www.mail-archive.com/user@xmlbeans.apache.org/msg00512.html
Cezar
From: Samuel B.
Quiring [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 25, 2005
3:10 PM
To: user@xmlbeans.apache.org
Subject: nilable and
Looks like a bug, will you file a JIRA bug? Please attach a small
example if you have one.
Cezar
-Original Message-
From: Cory Bestgen [mailto:[EMAIL PROTECTED]
Sent: Monday, November 07, 2005 9:33 AM
To: user@xmlbeans.apache.org
Subject: enumeration values that begin with X
You're right, we should move to xmlbeans-xxx.jar naming in the next
release.
Also the xbean_xpath.jar should be renamed to xmlbeans_xpath.jar.
It would avoid any naming confusion.
Cezar
-Original Message-
From: Dan Diephouse [mailto:[EMAIL PROTECTED]
Sent: Monday, December 05, 2005
Title: XmlCursor - equivalent setObject() method?
The equivalent of XmlObject setXXX method
in the XmlCursor world is copy/moveXmlContents().
From: Jones, Damon
[mailto:[EMAIL PROTECTED]
Sent: Monday, December 05, 2005
1:27 PM
To: user@xmlbeans.apache.org
Subject: XmlCursor
Marius,
See a previous answer on this topic:
http://www.mail-archive.com/user@xmlbeans.apache.org/msg00836.html
We're still committed to have XMLBeans working with a 1.4 JDK, so we
cannot apply your patch right now. But starting with v3 we'll most
probably drop this requirement and your patch
Use the xsdconfig file to change package
names. See the following: http://wiki.apache.org/xmlbeans/XmlBeansFaq#configPackageName
.
But keep in mind that XmlBeans doesnt
support using two or more sets of java classes (in different packages) mapped
to schema type/elements that have the same
You should be using the Interface Extension Feature:
http://wiki.apache.org/xmlbeans/ExtensionInterfacesFeature
This way the custom code lives in a separate file that will not be lost
when you regenerate the sources when you change the schema.
Cezar
-Original Message-
From: Edward
Im not an expert in JAXB but here
it is my take on it:
1) When compiling with XMLBeans the schema files, one can customize
the package names and the class names through .xsdconfig file, but it doesnt
allow changing the property name. If you really care about the property name you
can use
No problem, I'm sure it will be quite useful for other readers. Will you
post the working schema?
Thanks,
Cezar
-Original Message-
From: Erik van Zijst [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 11:06 AM
To: user@xmlbeans.apache.org
Subject: Re: off-topic:
Pat,
I'm assuming you want to find out the java name for a corresponding to
the top level element name of a document, if that is the case first you
have to find the SchemaType describing that document type
XMLBeans.findDocumentType(QName topLevelElementName) (or
XMLBeans.findType(QName) if you
Tim,
I would recommend using the extensions,
otherwise modifying the generated code is definitely possible but missing even
a small thing would break the code.
Back to using extensions, if one wants to
store a state he can do it by using XmlBookmark which stays with the
xml entity
-
is this the latest-and-greatest, or is there a better and/or more current
reference available?
Tim
From: Cezar
Andrei [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 2:29
PM
To: user@xmlbeans.apache.org
Subject: RE: alternate
representations of collections in XMLBeans??
Tim,
I would
a newCursor() every time? Or
is it OK to run newCursor() dozens or hundreds of times without risk of
performance or memory problems? Am I missing something?
Tim
From: Cezar
Andrei [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 4:33
PM
To: user@xmlbeans.apache.org
Subject: RE
Hi Siegfried,
I'm not an expert in xpath/xquery but I'm pretty sure that $this doesn't
represent the internal current node that is processed by the engine.
So you'll probably want to rewrite the expression to something like
this:
xo.selectPath(.//[EMAIL PROTECTED]//@id]);
As for $this, it's
Ben,
Take a look at extensions, it's probably what you're looking for:
http://wiki.apache.org/xmlbeans/ExtensionInterfacesFeature
Cezar
-Original Message-
From: Ben Jelloul Marouane [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 7:32 AM
To: xmlbeans user mailing list
This is a case where you have to use the XmlCursor API to copy/move the
two documents into the right place.
Cezar
-Original Message-
From: jadiyo [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 3:34 AM
To: user@xmlbeans.apache.org
Subject: Re: SV: xml-fragment containing well
Did you try XmlOptions
setSaveSuggestedPrefixes() ?
From: Pantvaidya,
Vishwajit [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 1:30
PM
To: user@xmlbeans.apache.org
Subject: Replacement for
QNameHelper.updateWellKnownPrefixes?
I have some old code that uses 1.0.2
be possible.
If some of the developer of xmlBeans see this can you tell me if there
is a chance to do that (or not at all).
Thanks,
Marouane
On Fri, 2006-04-28 at 18:51, Cezar Andrei wrote:
Ben,
Take a look at extensions, it's probably what you're looking for:
http://wiki.apache.org
to inherit at all.
Thanks for the answers.
Marouane
On Mon, 2006-05-01 at 21:03, Cezar Andrei wrote:
In the early days of XMLBeans we implemented something very similar
to
what you describe, but it was failing to work when schema types
where
using inheritance.
The solution implemented
In my example the namespaces seem to work:
XmlObject xo = XmlObject.Factory.parse(r:a
xmlns:r='a_uri'r:bsome text/r:b/r:a);
XmlCursor xc = xo.newCursor();
xc.toFirstChild();
XmlObject aContent = xc.getObject();
System.out.println(aContent: +
There isn't a way currently to bind other variables except for the
current node, but this is something that we'll be looking into.
As for the XPath extension functions, I'm not familiar how they work. Do
you have a use case? Do you know if and how Saxon is supporting them?
Cezar
-Original
In case youre using the SVN service and you didnt
know already the service is down at the moment. The guys from infrastructure
are working on it, rebuilding the server. The status can be found here: http://monitoring.apache.org/status/
.
Cezar
I believe you need to include the SOAP
schema file when compiling it, or at least have a previously compiled jar on
the classpath.
The xsd should be found at the following
location: http://schemas.xmlsoap.org/soap/encoding/
.
Cezar
From: Maya Dahan
[mailto:[EMAIL
Make sure you have javac on the path and
JAVA_HOME is pointing to its jdk install dir.
Cezar
From: Ziv Zeira
[mailto:[EMAIL PROTECTED]
Sent: Monday, June 12, 2006 1:59
PM
To: user@xmlbeans.apache.org
Subject: xmlbeans 2.1.0 NOT
WORKING!!! on windows ?
Hi
everybody,
From: Cezar Andrei
Sent: Wednesday, June 07, 2006
5:11 PM
To: dev@xmlbeans.apache.org
Subject: New release: v2.2
Hi all,
Its been a while since last release, there have been
quite a few bug fixes and some new features in the meantime.
If there are no objections in the next few days Ill
make
If you find issues with the release candidate bits please send them to
the dev@xmlbeans.apache.org list.
For other kind of bugs, please file them under JIRA. (I just added
version 2.2).
Cezar
-Original Message-
From: cbryant [mailto:[EMAIL PROTECTED]
Sent: Monday, June 12, 2006 5:47
Hi Brian,
We've been thinking of adding something on these lines to XMLBeans but I
couldn't find the time for it.
We've been thinking to use the pull parser model of Stax and to be able
to filter (custom or XPath) small pieces in and out of an XmlObject.
This should be working for both reading
This is already possible using the XmlCursor API. Check out XmlCursor's
moveXml() and moveXmlContents() methods.
Cezar
-Original Message-
From: Ole Matzura [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 5:53 PM
To: user@xmlbeans.apache.org
Subject: Feature request: Array
Please send your vote for the release of XMLBeans version 2.2.0, as it
currently exists on http://xmlbeans.apache.org/dist/
(xmlbeans-2.2.0-RC1*). The files have been available for the last few
days, they have been checked and tried out on different environments. If
the vote closes positive the
Did you try using XmlCursor?
Cezar
-Original Message-
From: Satish Kumar [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 06, 2006 12:42 AM
To: user@xmlbeans.apache.org
Subject: Base64 Decoding
Hi,
Need some clarifactions ! XSD contains an element whcih is of type
base64Binary.
You have to compile base.xsd alone first,
than compile schema1.xsd having the first generated jar on classpath.
scomp out base.jar base.xsd
scomp cp base.jar out schema1.jar
schema1.xsd
scomp cp base.jar;schema1.jar out
schema2.jar schema2.xsd
Cezar
From: sri
If your message is indeed the one
expected, this seems to be a bug in AXIS2.
The error is quite clear, in order for
XMLBeans to instantiate an object of this type com.example.transfer_xsd.AnyXmlTypeInputParamDocument it has to have
an xml that has a top level element called
[EMAIL
Ken,
There isn't a public API to reset the context piccolo instance. Please
do file a bug with a repro in the JIRA so we can take a look at it.
In the meantime, you can use XmlOptions setLoadUseXMLReader (XMLReader
xmlReader) to use your own instance of Piccolo or any other SAX parser.
Cezar
There isnt a chunking mechanism in
XMLBeans, but I pretty sure you can write a Stax or SAX wrapper (Stax should be
easier) to split the big stream into smaller ones, and you can load a small
subtree into an XMLBean, one at a time.
Would this work for you? What kind of operations
do you
Did you try using scomp script directly;
it might be a bug in the ant task implementation.
Cezar
From: Siegfried Baiz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 10, 2006
10:54 AM
To: user@xmlbeans.apache.org
Subject: Re: JDK 1.5 Generics rsp.
Enumerations in
Robert,
.selectPath returns live objects from the original tree which was
executed on.
.execPath will always return new documents, sometimes copies of the
original.
In order to avoid loosing the results once you modify the document you
should:
1. run select path with a cursor:
Anshul,
The latest release compatible with JDK1.3.1 is xmlbeans-1.0.4-jdk1.3.
You can find it in the download section of the project:
http://xmlbeans.apache.org/sourceAndBinaries/index.html#Current+Release
Since v2, XMLBeans is only compatible with jdk1.4 or higher.
Cezar
Have you tried using: xb:extension for=* ?
Cezar
-Original Message-
From: Siegfried Baiz [mailto:[EMAIL PROTECTED]
Sent: Friday, December 08, 2006 4:07 PM
To: user@xmlbeans.apache.org
Subject: how to define an interface extension for all created
java-Types
rsp. all schema-elements
There is a -cp switch for this. If a schema is split in two: s1 and s2,
where s1 is stand alone (i.e. doesn't have references to items in s2)
and s2 uses item from s1 by reference so that there will not be multiple
definitions of the same name in the s1 + s2 union, they can be compiled
separately
The xml declaration is not used when saving to a text or Writer, but it
will be used when saving into an OutputStream.
Cezar
-Original Message-
From: kris16 [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 14, 2006 7:07 AM
To: user@xmlbeans.apache.org
Subject: Missing the XML
Assuming that all your schema that you used to generate these Xbeans
from is in urn:xsd:$pacs.002.002.02 namespace, it is strange that this
happens. But there is MsgIdDoc:MsgId/MsgId in both messages, which
looks like a QName. Maybe the schema you're using isn't free of
namespace
Use boolean validate(XmlOptions options); method and check out it's
javadoc on how to get details about errors.
Cezar
From: Fredrik Petersson (Kentor) [mailto:[EMAIL PROTECTED]
Sent: Monday, February 05, 2007 7:57 AM
To: user@xmlbeans.apache.org
)
[java] Exception in thread main
[java] Java Result: 1
But the saxon8.jar (taken from
http://easynews.dl.sourceforge.net/sourceforge/saxon/saxonb8-8j.zip)
contains this class, maybe it is not compatible with xmlbeans-2.2.0.
Regards
Patrizio
-Original Message-
From: Cezar
Joseph,
Do I understand correctly that when running with asserts disabled it
works fine?
Please file a bug in JIRA to track of it, and if you can include a small
repro would be even better.
Cezar
From: Joseph Campolongo [mailto:[EMAIL PROTECTED]
Hi Patrizio,
execQuery() methods return new documents (there are queries that
construct new documents), so the modifications on results will not
affect the original.
In your case, you should be better off using XMLCursor.selectPath().
This method will set a selection on the original document,
Hi Patrizio,
Depending on how complex you xpath will be executed by an internal
XMLBeans engine or Saxon engine. The XMLBeans xpath engine is usually
much faster but supports a very limited subset of xpath. Saxon on the
other hand is more complete but since it uses XMLBeans store as a DOM it
Hi Linton,
We're very close to cut a release candidate. Wing Yew found a bug for
dates with year zero or less and we think we have a fix for it. This is
the latest planned fix before the release candidate.
Other than this, we think the current SVN trunk is stable and ready for
production.
If no
I don't know of any public way to do exactly what you want, but you can
quickly put something together by looking at the implementation of:
Src/typeimpl/org/apache/xmlbeans/impl/validator/Validator.java:74
validateAtomicType(ScemaType, String, Event)
I hope this helps,
Cezar
-Original
[X] +1 - I am in favor of this release, and can help
Cezar
-Original Message-
From: Radu Preotiuc-Pietro [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 17, 2007 3:26 PM
To: [EMAIL PROTECTED]; user@xmlbeans.apache.org;
[EMAIL PROTECTED]
Subject: [VOTE] XmlBeans 2.3.0 Release
Please
[X] +1 - I am in favor of this release, and can help
Cezar
-Original Message-
From: Radu Preotiuc-Pietro [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 22, 2007 7:29 PM
To: [EMAIL PROTECTED]; user@xmlbeans.apache.org;
[EMAIL PROTECTED]
Subject: [VOTE] XmlBeans 2.3.0 Release
I updated the maven repository
http://people.apache.org/repo/m1-ibiblio-rsync-repository/xmlbeans/ with
the latest 2.3.0 binaries and poms for 2.2.0 and 2.3.0 as per JIRA-227.
If somebody would try it out and let us know if it works or not would be
great.
Cezar
-Original Message-
From:
XmlBeans has to store and preserve the prefixes wherever possible,
because this is the only way to preserve the qname values inside a
document that has an unknown schema. Don't forget that uris and prefixes
have meanings outside of element and attribute names, but also inside
attribute values and
Gustavo,
Can you tell us a little more about your solution, maybe show us a
little bit of the interceptor?
Thanks,
Cezar
From: Gustavo Aquino [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 31, 2007 11:29 AM
To: user@xmlbeans.apache.org
Subject: Re:
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
Bob,
The wipkeys array returned from selectPath() method is just a copy, it's
not a live object in XMLBeans structures, so modifying it will not
change the original document.
You should call wipkeys[0].set(keys.getWIPKEYS()); or locate it's parent
and call
Message
From: Cezar Andrei [EMAIL PROTECTED]
To: user@xmlbeans.apache.org
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
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:
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
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
It is not a bug, as Dennis said in a previous email, XMLBeans and binding tools
in general, try to do the right thing in many cases, but this is not one of
them. Even if this Boolean restriction seems simple enough, to support all
restrictions is impossible.
Check out the following example
It is possible, but a little less forward that using schema. Just use
XmlObject, it handles all un-typed XML in XMLBeans.
Use XmlObject xo = XmlObject.Factory.parse(xmlText) to load the xml into
XmlObject.
And String xmlText = xo.xmlText() to get back to xml.
To navigate/read/modify the
What query engine are you using?
From what I know, Saxon's free implementation doesn't support schema
aware XQuery.
On the other hand, BEA's products do support schema aware XQuery based
on XMLBeans schema type systems.
Cezar
From: Paul Hepworth
I haven't play with Hibernate and XMLBeans myself, but earlier this year
a few people reported success using XMLBeans at the XML level and
Hibernate for saving the state into DB. From what I remember, they had
to use Hibernate interceptors to make things work.
There are advantages of using
Unfortunately, from what I know, there isn't an API to get an XPath. It
shouldn't be very hard to implement using a cursor.
Cezar
-Original Message-
From: Willis Morse [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 21, 2007 2:14 PM
To: user@xmlbeans.apache.org
Subject: How to
to the documentation on how I can specify which xml
parser to use?
Thanks,
Monica
--- Cezar Andrei [EMAIL PROTECTED] wrote:
There is also a very slight change on how Cursors
work when
copying/moving a sub-tree from a document to
another. Most likely you
don't use this feature.
You
It seems that you have 2 sets of the same classes in different jars.
Make sure that when you compile the extension xsd you use the base.jar
on the classpath so that you have only one set of compiled schema types
on the classpath.
See archives at
at createInstance time, so that i don't need
to run this method to change them afterwards.
mvh
Knut-Erik Johnsen
Cezar Andrei [EMAIL PROTECTED]
Sent by:
[EMAIL PROTECTED]
12.12.2007 21:07
Please respond to
user@xmlbeans.apache.org
To
user@xmlbeans.apache.org
cc
Subject
RE: Large
Zapo,
cursor.getName() returns the name of the current token. You need to make
sure you move the cursor on the right element to get the text and move
back to the parent Testcase and call toNextSibling().
-Original Message-
From: Zapo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December
Knut, did you try using the following save option?
/**
* Causes the saver to reduce the number of namespace prefix
declarations.
* The saver will do this by passing over the document twice, first
to
* collect the set of needed namespace declarations, and then second
Richard,
It isn't supposed to work like this.
The XMLSchema spec assumes that everybody is using namespaces and that
the QNames for different types and elements do not collide. This is the
model that XMLBeans uses, which is the same as java packages and classes
work.
In the rare cases when
Running scomp will include schema sources in the output jar. You can get
to the name of the resource by calling getSourceName() on a SchemaType
for example or any SchemaComponent.
Cezar
From: Jacob Danner [mailto:[EMAIL PROTECTED]
Sent: Thursday, January
Denis,
SchemaType.getSourceName() returns a name of a resource that represents
the original xsd file from which the type came from.
You can get to the resource by using a SchemaTypeLoader that has access
to it. See the following example on how to use it:
static void
Steve,
The javadoc for setSaveCDataLengthThreshold and
setSaveCDataEntityCountThreshold seems to be quite clear:
* CDATA will be used if the folowing condition is true:
* textLength cdataLengthThreshold entityCount
cdataEntityCountThreshold
* The default value of
Beans 2.2 ?
Cezar,
If I am not mistaken, the older XML Beans version 2.2 does not does
not
support these options.
Please clarify.
Thanks,
Steve
-Original Message-
From: Cezar Andrei [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2008 4:38 PM
To: user@xmlbeans.apache.org
When old xmlbeans jars were compiled, the user may have been used an
.xsdconfig file that modified the generated package of the xbean classes
and interfaces.
You should use the same .xsdconfig file, or modify the code that
references those intf/classes to match the ones in the new xbean jars.
There were a couple of emails from people having problems with classloaders in
Eclipse. This seems to be in the same class. Check the archives.
Cezar
-Original Message-
From: Ronald Becher [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2008 5:28 AM
To: user@xmlbeans.apache.org
Distribution files and website is updated. Please let me know if I missed
anything.
Cezar
From: Cezar Andrei [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2008 10:51 AM
To: user@xmlbeans.apache.org; [EMAIL PROTECTED]
Subject: [VOTE RESULT] XMLBeans
From what I remember, you're the first to bring this up. I guess this is a
good sign.
If I understand correctly this question applies more to the applications that
use XMLBeans.
For XML, XMLBeans uses a standard compliant XML parser, which can be replaced
using options with any other SAX
Srijith, from your info, it seems that you should address this question to Axis
project.
If you can get an XMLBeans stand alone repro, will look at it.
Cezar
From: Srijith Kochunni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2008 8:03 AM
Gordon,
The two methods are not designed to return exactly the same info. While
xmlText() has to always return a valid XML document with more flexible options,
the newXMLStreamReader() is designed for speed to transfer the contents of the
XML store.
Cezar
-Original Message-
From:
-Original Message-
From: Gav... [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2008 5:10 AM
To: [EMAIL PROTECTED]
Subject: Travel Assistance to ApacheCon US 2008 - 3 days to apply!
*- Apologies to those PMCs that already got this email. The first attempt I
made was rejected by
Jamie,
Indeed there is a problem in your scenario. The problem is because of the
substitution group uses and not because of type derivation.
You can have base types and in your first schema and derived types in the
second one, and you can compile them separately. Everything should work
You can run inst2xsd on multiple xml files. See inst2xsd -h for usage.
int2xsd file1.xml file2.xml
Cezar
-Original Message-
From: Ferry, Jeremy [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2008 10:26 AM
To: user@xmlbeans.apache.org
Subject: Multiple output files with
Bartolomeo,
Did you try using XMLBeans's scomp tool outside of Eclipse, from the command
line? Eclipse might detect all the generated java files and it would spend CPU
cycles indexing them.
Cezar
-Original Message-
From: Bartolomeo Nicolotti [mailto:[EMAIL PROTECTED]
Sent:
Hi Paul,
When doing local updates a simple synchronization is done on the
synchronization domain of that XMLObject, we call it Locale. By default, each
new document XMLObject is created with a new Locale.
But when there is an update operation involving XMLObjects from two Locale-s,
Tim,
A good start would be the following documentation page:
http://xmlbeans.apache.org/docs/2.0.0/guide/conIntroToTheSchemaTypeSystem.html
You should check the SchemaType interface and using getContentModel() method to
check for the required particles.
Cezar
FYI
-Original Message-
From: Lars Eilebrecht [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 10:27 AM
To: [EMAIL PROTECTED]
Subject: [Urgent] Please help promote ApacheCon video streaming!
Importance: High
Hi,
please help promote the ApacheCon live video streaming by
Hi,
I don't think the change is related to the problem you're describing, this fix
is related to the compiled xpath/xquery cache. Can you try using only XMLBeans
to parse that document and compare the memory usage?
All you need to do is:
XmlObject xo = XmlObject.Factory.parse(new
Kapil,
You don't need to create a new cursor, if the item your cursor points to has a
name (i.e. element/attribute/pi) just call getName() on it. Check out the
javadoc of XmlCursor
http://xmlbeans.apache.org/docs/2.4.0/reference/org/apache/xmlbeans/XmlCursor.html
and XmlObject
XMLBeans in a project running on:
[ ] jdk 1.3
[ ] jdk 1.4
[ ] jdk 1.5
[ ] jdk 1.6
My project will update to jdk 1.5 or newer in:
[ ] less than 6 month
[ ] less than 1 year
[ ] more than 1 year
Any other suggestions or features are welcome.
Thank you,
Cezar
Did you look at using the maven-plugin that's in XMLBeans tree?
http://svn.apache.org/viewvc/xmlbeans/trunk/maven-plugin/
Cezar
-Original Message-
From: hannehomuth [mailto:hannehomu...@gmx.de]
Sent: Wednesday, July 22, 2009 5:22 AM
To: user@xmlbeans.apache.org
Subject: Maven and
1 - 100 of 155 matches
Mail list logo