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
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
Subject: RE
Indeed the options weren't available but the algorithm and default
values are the same.
Cezar
-Original Message-
From: Steve Davis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2008 3:49 PM
To: user@xmlbeans.apache.org
Subject: RE: Algorithm for saving CDATA blocks in XML
I can see why inst2xsd tool is doing that.
subComponents
subComponent/
subComponent
sequence/
/subComponent
/subComponents
The tools sees:
subcomponent /
and subComponentsequence / ...
As 2 different types, if you want to correct that, you can
It does say exactly that, if you are trying to use them at runtime
say.
But if you are trying to compile a new Schema with dependencies in jars
with an incompatible version number, there is something about that case
that makes it ignore that jar rather than report an error. I am not sure
if it is
I think that this has been covered, but getSourceName() returns the path
to the Schema file inside the jar that it came from, there is no
guarantee that decoding it returns anything meaningful. What you can
do is use getResourceByName() to get to the text of the Schema file.
But the original
They are backwards compatible, but they are not forwards compatible.
What I mean by that is that a newer version of XmlBeans (say 2.3.0) can
read jars compiled with an older version (say 2.2.0). But XmlBeans 2.2.0
can't read jars compiled with XmlBeans 2.3.0. That would be a much
stronger
Actually, since you are interested in XMLBeans 2.2.0 and 2.3.0, those
numbers are 23 for XMLBeans 2.2.0 and 24 for XMLBeans 2.3.0.
Radu
On Mon, 2008-03-17 at 15:08 -0700, Radu Preotiuc-Pietro wrote:
They are backwards compatible, but they are not forwards compatible.
What I mean by that is
That's an interesting problem to solve, but it is above and beyond what
XMLBeans has been designed for.
Radu
On Fri, 2008-03-14 at 08:32 -0700, joeweder wrote:
I am trying to generate XSDs for our project.
I have XML that comes from a search engine which, depending on the
query
Thank you Jacob and Radu for the help.
Unfortunately I'm not the one who controls the schema - it's one of define
a schema by a large committee thing. I'm sure that explains a lot. :-)
I'll certainly try and get the schema fixed, but I don't want to accuse them
of having a bad schema when
it makes sense.
Hope this helps,
Radu
--
*From:* Ash Lux [mailto:[EMAIL PROTECTED]
*Sent:* Friday, March 14, 2008 6:14 PM
*To:* user@xmlbeans.apache.org
*Subject:* Re: scomp error - incompatible return type
Thank you Jacob and Radu for the help.
Unfortunately
I filed this bug to Axis2 [1]
But i want to investigate further, where do i find the schema
information that is used for validation? is it inside the generated
classes or inside the xsb files?
i noticed that there is a small difference in the cadataf932elemtype.xsb
file
---plain xmlbeans
any idea ?
On Wed, Mar 12, 2008 at 11:40 AM, Alex Florentino [EMAIL PROTECTED]
wrote:
I am using the xmlbeans 2.3.0
I have a document that have another xml document sample:
OTAHotel
Message
!-- another xmldocument --
CONFIRMMESSAGE
/CONFIRMMESSAGE
/Message
/OTAHotel
the problem is
The Schema information used for validation is indeed in the .xsb file.
If you want to look into the issue further, look under the bin/
directory in the distribution and you will see a dumpxsb script. Do
dumpxsb type.xsb
to get the content of the xsb file in a human-readable form (and look at
the
Having an element called description of type int does sound fishy to
me, so I suggest you change that to string.
I seem to vaguely remember that there is a Schema rule according to
which you can't remove an element by restriction and then in a
subsequent derivation step, add it back by extension,
I haven't gotten the chance to reproduce this, but it looks very much
like an XMLBeans bug. If the cursor is not positioned in the right
place, I don't think that you, as the caller can do anything to position
it right. But you could look at the XMLBeans validation code and see why
is it not
That is very strange. Are you setting the value as a BigDecimal? Some
sample code would help.
Radu
On Wed, 2008-03-12 at 10:46 -0600, Joe White wrote:
I have a very simple schema that I would like to return a price from
(below). However when I generate output the prices are returned in
These are the right options, can you post the exact code you're using?
Radu
On Thu, 2008-03-13 at 08:32 -0300, Alex Florentino wrote:
any idea ?
On Wed, Mar 12, 2008 at 11:40 AM, Alex Florentino
[EMAIL PROTECTED] wrote:
I am using the xmlbeans 2.3.0
I have a
Radu,
today I started my computer and it was working(weird) , the cdata was
removed, but now the xml string content was replace with xml entity =
lt; .
Now I need fix it... (I think that is xml problem and not xmlbeans problem,
but is not sure about it.)
anywhere you could find my sample
Hi,
I found out, that it works great if i compile the beans with XMLBeans
2.3.0 only. But when i use Axis2 with XMLBeans the validation fails.
I even tried the xmlbeans version that is deliverd with Axis2 with the
xmlbeans generated classes and it validates fine. It must be something
at the bean
In this case, I am afraid I am not very familiar with how Axis2 packages
XmlBeans, but it does sound surprising that they would change the result
of compilation in this way. You are going to have to bring this up on
Axis' mailing list.
Radu
On Wed, 2008-03-12 at 19:18 +0100, Stefan Lischke
If the element has minOccurs=0 in the Schema, you should see a method
like:
businessDescription.unsetBS7666Coordinate()
If your minOccurs is 1, then you can still remove it, but you will need
to use XmlCursor to do that. Anyway, IMO is better to change the
existing element to what you want it to
On Mar 10, 2008, at 8:39 PM, P.Sathish Kumar wrote:
Hi David,
Thanks for your reply.
In my project, I have one pom.xml to build, in this pom.xml, I
included the xmlbean-maven-plugin to compile xsds and to generate
jar file.
The maven-xmlbeans-plugin does not generate a jar file
Stefan,
you can use a mixed content type. In the definition of your element in
XSD, declare the attribute mixed as true.
Regards,
John
On Mon, March 10, 2008 13:10, Stefan Lischke wrote:
Hi,
It may be OT, but maybe you can help me, i need an xsd expression to
allow text-content or any
Are you sure you are not running off of a stale version of your Schema
(maybe one where you don't have the minOccurs=0)? Or that you don't
have multiple definitions for CAdata?
The way you posted this example, validation is passing for me.
Radu
On Tue, 2008-03-11 at 11:02 -0700, Stefan Lischke
This one too works for me. Only if I change minOccurs on the any to
1, I get the error that you are getting. Use the validate script
(under bin/) to easily check this.
Radu
On Mon, 2008-03-10 at 13:42 +0100, Stefan Lischke wrote:
hi,
XMLBeans seems to ignore the minOccurs=0 attribute on
I have been meaning to answer this...
XmlOptions.SET_SAVE_INNER inside the parse() method won't help of
course, because it is a SAVE option. It doesn't even get looked at for
parse.
What you need to make sure is that the node parameter looks like:
subjectConfirmation/subjectConfirmation
(or
I do setSave** (prettyPrint/PrintIndent) on XmlOptions
object passed to xmlText(). The api doc clearly states
that it'll reformat WhiteSpace chars.
Shouldn't these apis honor the contract of underlying
type definitions (like preserve WS chars for xs:string
type,etc) irrespective of these Pretty
Isn't it a bug with XmlBeans in that xs:string type
have whitespace chars removed when written using
xmlText/other means?
As per w3c standard, xs:string should have whitespace
chars preserved by default. We don't need to define
'preserve' facets for this situation.
-D
--- Jacob Danner [EMAIL
I don't understand.
If you use the xmlbeans plugin in an existing project the generated
classes get compiled and included in the project's jar
If you have a separate project that just compiles the schemas you get
a jar with just the compiled classes that you can then use as a
dependency in
Hi David,
Thanks for your reply.
In my project, I have one pom.xml to build, in this pom.xml, I included
the xmlbean-maven-plugin to compile xsds and to generate jar file.
My problem is I want to include this generated jar to the dependecy of the
same project. For dependencies maven will
That's the maven 1 xmlbeans 2 plugin.
The maven 2 xmlbeans 2 plugin is at codehaus. Docs are:
http://mojo.codehaus.org/xmlbeans-maven-plugin/
thanks
david jencks
On Mar 6, 2008, at 9:27 PM, Jacob Danner wrote:
This is documented in the src. You can access it online at:
quot; is a predefined entity reference in XML. It is equivalent in XML
to the character in character data. That is the whole point of the
entity. If you want the literal quot; then you should escape it as
amp;quot;.
- Wing Yew
From: Roch B [mailto:[EMAIL
This is documented in the src. You can access it online at:
http://svn.apache.org/viewvc/xmlbeans/trunk/maven-plugin/INSTRUCTIONS.txt?revision=220227view=markup
-jacobd
On Thu, Mar 6, 2008 at 9:05 PM, [EMAIL PROTECTED] wrote:
Hi Friends,
I am using XMLBeans to parse some XML Documents
Wing Yew Poon wrote:
Namespaces are your friends. Why do you want to get rid of them?
*From:* temp temp [mailto:[EMAIL PROTECTED]
*Sent:* Friday, February 29, 2008 3:03 PM
*To:* user@xmlbeans.apache.org
*Subject:* saving
Namespaces are your friends. Why do you want to get rid of them?
From: temp temp [mailto:[EMAIL PROTECTED]
Sent: Friday, February 29, 2008 3:03 PM
To: user@xmlbeans.apache.org
Subject: saving xml withour namesapce
Xml Beans saves xml with the namespace.
problem.
- Wing Yew
-Original Message-
From: dave [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 12, 2008 1:00 PM
To: Henry S. Thompson
Cc: user@xmlbeans.apache.org
Subject: Re: how to restrict validation to part of
the W3C schema?
is there a way to instruct
for e.g. am trying to construct a simple example below
using XmlCursor:
root
a b=x/
z ver=4
d test=yes
e/
/d
/z
/root
I could only use push/pop along with other regular
apis to construct this instance using Cursor. Push/Pop
for each element construction looks
How are you generating the XML. I'm not positive its whitespace is
preserved if something like xmlText() is used.
I might try something like an xs:normalizedString and the whitespace=preserve.
-jacobd
On Wed, Feb 27, 2008 at 4:57 PM, dave [EMAIL PROTECTED] wrote:
I have an xs:string type
, February 22, 2008 11:11 AM
To: user@xmlbeans.apache.org
Subject: RE: Applying XPath to an XML with or without namespace
Pascal,
in a xmlns=mynamespace
b/
/a
what you have is every element within and including a being qualified as
having the namespace mynamespace. Thus, the XPath
[mailto:[EMAIL PROTECTED]
*Sent:* Friday, February 22, 2008 11:11 AM
*To:* user@xmlbeans.apache.org
*Subject:* RE: Applying XPath to an XML with or without namespace
Pascal,
in
a xmlns=mynamespace
b/
/a
what you have is every element within and including a being qualified as
having
AM
To: user@xmlbeans.apache.org
Subject: RE: Applying XPath to an XML with or without namespace
Pascal,
in a xmlns=mynamespace b/
/a
what you have is every element within and including a being qualified
as having the namespace mynamespace. Thus, the XPath must qualify
the elements too
.
From: Wing Yew Poon [mailto:[EMAIL PROTECTED]
Sent: Friday, February 22, 2008 11:11 AM
To: user@xmlbeans.apache.org
Subject: RE: Applying XPath to an XML with or without namespace
Pascal,
in a xmlns=mynamespace
b/
/a
what you have is every element within and including a being
*To:* user@xmlbeans.apache.org
*Subject:* Re: How to apply an xpath query to a document ?
Hi Jacob
Is this from the plain XPath/Xquery sample? If so I'm not getting the
same issue, which makes me wonder if its something in your
environment.
well I don't know. Actually I've followed
Pascal,
in
a xmlns=mynamespace
b/
/a
what you have is every element within and including a being qualified as
having the namespace mynamespace. Thus, the XPath must qualify the
elements too. This is only logical.
There are a couple of ways you can qualify the elements in the XPath.
You can
Try the save(file) method on the xmlobject.
-jacobd
On Thu, Feb 21, 2008 at 7:07 AM, Dário Abdulrehman
[EMAIL PROTECTED] wrote:
Hi,
I'd like to save a XMLBean with the declaration and encoding and read it
back (using parse?).
The method xmlText just saves a xmlfragment with no declaration
Problem solved, thanks.
I noticed that when using save with a StringWriter the XML declaration is
not written whereas if I use a File it is.
On Thu, Feb 21, 2008 at 3:33 PM, Jacob Danner [EMAIL PROTECTED]
wrote:
Try the save(file) method on the xmlobject.
-jacobd
On Thu, Feb 21, 2008 at
Hi Dave,
everything inside and xsd:documentation needs to be well:formed xml.
This means any elements declared in the documentation should be
declared properly.
I believe its actually the rules of XML that require prefixes to be defined.
In other words you will have this problem when you do
In XMLSchema, there is a difference between the element not being there
and the element being present, but with the default value. If your
application needs to perform the same action for both cases, you would
have to code this decision in your application. You can avoid
maintaining a separate
Hi Ihab,
Take a peek at
http://xmlbeans.apache.org/docs/2.0.0/guide/conXMLBeansSupportBuiltInSchemaTypes.html
otherwise you will need to declare teh type with nillable=true, etc.
HTH,
-jacobd
On Wed, Feb 20, 2008 at 6:57 PM, Ihab EL-ALAMI [EMAIL PROTECTED] wrote:
Hi,
How can I generate the Java
Thanks Jacob for your quick and precise answer,
I tried what you saif by adding nillable=true to the schema, but that did
not change anything. The java type is still int.
Any other ideas?
Thanks again
On 2/20/08, Jacob Danner [EMAIL PROTECTED] wrote:
Hi Ihab,
Take a peek at
, then trying to decode the paths to the xsd's using the strings
may no longer work correctly. Just so you're warned.
- Wing Yew
-Original Message-
From: Jacob Danner [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 11:56 PM
To: user@xmlbeans.apache.org
Subject: Re
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
Subject: Re: how to restrict validation to part of
the W3C schema?
is there a way to instruct the validator to ignore
namespace as well for this 'noValidation' element's
children?
Thanks
-D
--- Henry S. Thompson [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Denis,
From what I remember, SchemaComponent.getSourceName() will return the
path/location of the xsd used to create the type system.
http://xmlbeans.apache.org/docs/2.2.0/reference/org/apache/xmlbeans/SchemaComponent.html#getSourceName()
If the schema was built from a string, this method
@xmlbeans.apache.org
Subject: Re: How to apply an xpath query to a document ?
Hi Jacob
Is this from the plain XPath/Xquery sample? If so I'm not
getting the
same issue, which makes me wonder if its something in your
environment.
well I don't know. Actually I've followed
@xmlbeans.apache.org
Subject: Re: SchemaType.getSourceName()
Hi Denis,
From what I remember, SchemaComponent.getSourceName() will return the
path/location of the xsd used to create the type system.
http://xmlbeans.apache.org/docs/2.2.0/reference/org/apache/xmlbeans/Sche
maComponent.html#getSourceName
: Jacob Danner [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 8:32 PM
To: user@xmlbeans.apache.org
Subject: Re: SchemaType.getSourceName()
Hi Denis,
From what I remember, SchemaComponent.getSourceName() will return the
path/location of the xsd used to create the type system
Jacob
I get the following error when I try to run the sample:
[echo] == running XQueryXPath
[java] Running ExecQuery.selectEmpsByStateCursor
[java]
[java] Exception in thread main java.lang.NullPointerException
[java] at
Hi guys,
I wanted to thank everyone for their help. I finally got it working.
Basically, I used the plugin and dependencies below only. Then I just added
the jar that is generated by the plugin to the eclipse classpath manually.
Once I did that, everything worked!
plugin
, February 12, 2008 1:00 PM
To: Henry S. Thompson
Cc: user@xmlbeans.apache.org
Subject: Re: how to restrict validation to part of the W3C schema?
is there a way to instruct the validator to ignore
namespace as well for this 'noValidation' element's
children?
Thanks
-D
--- Henry S. Thompson [EMAIL
is there a way to instruct the validator to ignore
namespace as well for this 'noValidation' element's
children?
Thanks
-D
--- Henry S. Thompson [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
dave writes:
1. How would I specify in the Schema that
the command:
scomp -out myjar.jar -allowmdef http://www.opentravel.org/OTA/2003/05;
*.xsd
it is work fine.
thanks
On Feb 6, 2008 4:03 PM, Jacob Danner [EMAIL PROTECTED] wrote:
Hi Alex,
You are getting an error because 2 of your schemas have the same type
(in this case, attribute group)
Take a peek at
http://xmlbeans.apache.org/samples/XQueryXPath.html
-jacobd
On Feb 10, 2008 7:56 AM, Pascal Maugeri [EMAIL PROTECTED] wrote:
Hi
I need to do this simple operation: having a XML document (as a String for
instance) I want to apply to it an XPath query and to get the XML fragment
Bump,
I've been struggling with this for 2 days. Note that my title is
incorrect, is should say integrating maven 2 plugin and Eclipse. I've tried
downgrading xmlbeans.xbean from 2.2.0 to 2.1.0, which didn't fix my issue.
If I choose a version less than 2.1.0, the plugin completely blows up
Hi Todd,
I'm not an eclipse user (IntelliJ IDEA), but I'll give it a try. Which
maven plugin are you using, which version of eclipse?
Have you queried the maven or eclipse projects for similar issues?
-jacobd
On Feb 10, 2008 6:21 PM, Todd Nine [EMAIL PROTECTED] wrote:
Bump,
I've been
I don't use eclipse. Apparently the eclipse doesn't work well with
maven plugins that generate binary code that eclipse is supposed to
recognize but not compile itself. In geronimo we've written a plugin
that IIUC copies the generated code to a location that eclipse can
find. A typical
To: user@xmlbeans.apache.org; [EMAIL PROTECTED]
Subject: Re: search and replace kind of operations with XML
Am already using XmlBeans. I would need to see how I can
integrate VTD-XML with XMLBeans.
I agree with you that VTD-XML is an ideal match for what I
want to accomplish. I would still
Hi Alex,
You are getting an error because 2 of your schemas have the same type
(in this case, attribute group) defined in them.
You'll want to make sure the types are in fact the same, rather than
just having the same name first.
After that, there are a couple of things you can do here:
1) move
I think you may find VTD-XML ideally suited for this (better than any
other technologies AFAIK ) because of its incremental update capability and
built-in
XPath
http://www.javaworld.com/javaworld/jw-07-2006/jw-0724-vtdxml.html
http://www.devx.com/xml/Article/36379
- Original Message
Am already using XmlBeans. I would need to see how I
can integrate VTD-XML with XMLBeans.
I agree with you that VTD-XML is an ideal match for
what I want to accomplish. I would still prefer if
XmlBeans offers anything on this line.
Thanks Jimmy.
dave
--- jimmy Zhang [EMAIL PROTECTED] wrote:
[mailto:[EMAIL PROTECTED]
Sent: Monday, January 28, 2008 5:34 PM
To: user@xmlbeans.apache.org
Subject: RE: Name/Value Pair Issue.
Yes, you can send it to me in private and I will take a look at it.
Radu
On Mon, 2008-01-28 at 17:29 -0800, Muthu Ramaswamy wrote:
Well, I used the same
Message-
From: Radu Preotiuc-Pietro [mailto:[EMAIL PROTECTED]
Sent: Friday, February 01, 2008 3:24 PM
To: user@xmlbeans.apache.org
Subject: RE: Name/Value Pair Issue.
Well, the namespace URI is part of the name of the element, so really it
is an error on the part of the sender to send a document
@xmlbeans.apache.org
Subject: RE: Name/Value Pair Issue.
Yes, you can send it to me in private and I will take a look at it.
Radu
On Mon, 2008-01-28 at 17:29 -0800, Muthu Ramaswamy wrote:
Well, I used the same schema file to generate the java classes using
scomp and the same schema to generate a sample
. So you haven't lost the original
whitespace.
-Original Message-
From: ravikumar [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 27, 2008 10:35 AM
To: user@xmlbeans.apache.org
Subject: RE: Whitespace is not preserved
Hi
I am running into the same issue. setSavePrettyPrint() is trimming
Right now, the more verbose code that you posted is the only way to get
what you want.
Radu
On Mon, 2008-01-28 at 21:06 +0100, Veit Guna wrote:
Hi all.
I'm encountering the same problem explained in here:
http://www.mail-archive.com/user@xmlbeans.apache.org/msg00541.html
As soon as I
Most likely, this is because your Schema (that you generated the Java
classes from) doesn't match your payload. Check that the namespace URIs
match.
Radu
On Mon, 2008-01-28 at 17:19 -0800, Muthu Ramaswamy wrote:
Hi All-
I am new to XMlBeans. When I tried to use a sample XML file that
: Monday, January 28, 2008 5:22 PM
To: user@xmlbeans.apache.org
Subject: Re: Name/Value Pair Issue.
Most likely, this is because your Schema (that you generated the Java
classes from) doesn't match your payload. Check that the namespace URIs
match.
Radu
On Mon, 2008-01-28 at 17:19 -0800, Muthu
XMLBeans doesn't preserve CDATA sections currently, it only preserves
the XML Infoset.
Radu
On Mon, 2008-01-28 at 15:06 -0800, bob bob wrote:
Here is the original data;
CONFIG NAME=WORDISSUANCE LIBRARY=Word Issuance
DYNAMICJAVASCRIPTALLCAPS/DYNAMICJAVASCRIPT
you my xsd files for you to review? Thanks.
-Muthu
-Original Message-
From: Radu Preotiuc-Pietro [mailto:[EMAIL PROTECTED]
Sent: Monday, January 28, 2008 5:22 PM
To: user@xmlbeans.apache.org
Subject: Re: Name/Value Pair Issue.
Most likely, this is because your Schema (that you
-Pietro [mailto:[EMAIL PROTECTED]
Sent: Monday, January 28, 2008 5:34 PM
To: user@xmlbeans.apache.org
Subject: RE: Name/Value Pair Issue.
Yes, you can send it to me in private and I will take a look at it.
Radu
On Mon, 2008-01-28 at 17:29 -0800, Muthu Ramaswamy wrote:
Well, I used the same schema
the sender and delete all copies.
We may monitor email to and from our network.
***
--
View this message in context:
http://www.nabble.com/RE%3A-Whitespace-is-not-preserved-tp383871p15122329.html
Sent
:* Jacob Danner [mailto:[EMAIL PROTECTED]
*Sent:* 17 January 2008 18:24
*To:* user@xmlbeans.apache.org
*Subject:* Re: user@xmlbeans.apache.org and complex schema
Hi Pierre,
How are you creating your schema jar. It appears as though you might have
a jar that only contains the java src
: 18 January 2008 17:06
To: user@xmlbeans.apache.org
Subject: {Disarmed} Re: user@xmlbeans.apache.org and complex
schema
Hi Pierre,
I'm not sure why the pathing to the type system holder class is
different. Were there modifications to the jar after
Hi Pierre,
How are you creating your schema jar. It appears as though you might have a
jar that only contains the java src and not the .xsb (xml schema binary
files), etc. Can you crack your jar and verify the xsbs and the file
mentioned in the stacktrace exist?
Can you also let us know how you
So, what is the best available option outside XMLBeans
in this situation?
--- Jacob Danner [EMAIL PROTECTED] wrote:
Thats correct, Schematron, RelaxNg, etc. are not
supported. Only XML Schema
1.0 is supported.
-jacobd
On Jan 14, 2008 9:48 PM, dave [EMAIL PROTECTED]
wrote:
just to
I'm not sure about those other technologies. I've had some luck in the past
searching sourceforge/freshmeat or just looking on Google for
technology programming language.
Best of luck,
-jacobd
On Jan 16, 2008 10:51 PM, dave [EMAIL PROTECTED] wrote:
So, what is the best available option outside
On Thu, 10 Jan 2008, Jacob Danner wrote:
I'm not sure I completely understand the issue, are you trying to write
out many standalone xml instances that all comprise a larger xml
instance?
Sort of. You basically have a zip file which contains a dozen or so
inter-related xml files, and some
Only W3C XMLSchema 1.0 is supported.
Radu
On Sat, 2008-01-12 at 22:31 -0800, dave wrote:
Does XmlBeans 2.3.0 support validation of XSDL 1.1
based XML?
Also, does XmlBeans Support a schema written using
multiple langauges- W3C XSDL 1.x, Schematron, RelaxNg?
By Support, I mean the support
Thats correct, Schematron, RelaxNg, etc. are not supported. Only XML Schema
1.0 is supported.
-jacobd
On Jan 14, 2008 9:48 PM, dave [EMAIL PROTECTED] wrote:
just to double confirm- XMLBeans doesn't support other
schema languages like Schematron,etc?
-D
--- Radu Preotiuc-Pietro [EMAIL
To: user@xmlbeans.apache.org
Subject: Re: [newbie] difference between addNew and (Factory.newInstance +
set)
Hi Paul,
This is actually working as expected :) I just spaced and missed it the
first time around.
try something like:
BusinessDescription.Contact contact
:[EMAIL PROTECTED]
*Sent:* 12 January 2008 02:19
*To:* user@xmlbeans.apache.org
*Subject:* Re: [newbie] difference between addNew and (Factory.newInstance+
set)
Hi Paul,
This is actually working as expected :) I just spaced and missed it the
first time around.
try something like
10, 2008 4:17 AM
To: user@xmlbeans.apache.org
Subject: Re: is XSD text file stored at all in XMLBeans output?
Hi Dave,
In most cases, running scomp will create a jar that includes the schemas
in at
schemaorg_apache_xmlbeans\src in the java archive.
If you need direct access to it, you can
Hi Paul,
Can you do a
System.out.println(contact.xmlText());
in each of the scenarios below?
How is Address defined in the schema?
Thanks,
-jacobd
On Jan 11, 2008 9:29 AM, Paul French [EMAIL PROTECTED] wrote:
Hello,
I have created a library using scomp from an xml schema.
I am building a
.
Cezar
From: Jacob Danner [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 10, 2008 4:17 AM
To: user@xmlbeans.apache.org
Subject: Re: is XSD text file stored at all in
XMLBeans output?
Hi Dave,
In most cases, running scomp will create a jar
this must be due to XMLBeans passing back a copy of the Calendar
object when calling contact.getDateTime()
_
From: Jacob Danner [mailto:[EMAIL PROTECTED]
Sent: 11 January 2008 17:52
To: user@xmlbeans.apache.org
Subject: Re: [newbie] difference between addNew
be due to XMLBeans passing back a copy of the Calendar
object when calling contact.getDateTime()
--
*From:* Jacob Danner [mailto:[EMAIL PROTECTED]
*Sent:* 11 January 2008 17:52
*To:* user@xmlbeans.apache.org
*Subject:* Re: [newbie] difference between addNew
snippet but
couldn't see how
Have a good weekend!!
--
*From:* Jacob Danner [mailto:[EMAIL PROTECTED]
*Sent:* 11 January 2008 18:56
*To:* user@xmlbeans.apache.org
*Subject:* Re: [newbie] difference between addNew and (Factory.newInstance+
set)
Thought I
Hi Dave,
In most cases, running scomp will create a jar that includes the schemas in
at
schemaorg_apache_xmlbeans\src in the java archive.
If you need direct access to it, you can always try accessing it via
resources and/or classloaders. AFAIK, xmlbeans does not provide any methods
for direct
Hi Nick,
I'm not sure I completely understand the issue, are you trying to write out
many standalone xml instances that all comprise a larger xml instance?
Wouldn't this be made simpler by keeping a reference to the 'parent'
instance around?
-jacobd
On Jan 4, 2008 7:44 AM, Nick Burch [EMAIL
701 - 800 of 1973 matches
Mail list logo