I don't think any.
All of the files beginning with schema contain the .xsb files that
maintain sync with the xml infoset. I'm not sure what would happen if
you deleted those, but I'm sure things like validate and parse would
fail.
-Original Message-
From: Steve Davis [mailto:[EMAIL
Title: Message
There was something proposed on the list
by a representative although I havent seen any code yet.
During the proposal, someone on the list
noted another project with similar features to xmlbeans
http://touk.pl/svn/projects/xmlbeansxx
Hope that helps,
-Jacobd
You can also scomp the WSDL schema. Take a look on w3c for the schema.
I've had some success with this method.
-Jacobd
-Original Message-
From: Gregor Urbanek [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 28, 2005 7:23 AM
To: user@xmlbeans.apache.org
Subject: Re: Unmarshalling
Hey Uday,
Sorry I can't post an answer, you may want to post to the axis mailing
list. They usually have a better depth of knowledge on the axis toolkit.
-Jacobd
-Original Message-
From: Uday Kamath [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 11, 2005 1:49 PM
To:
You might be getting this because the schema is 1999 and not 2001
-Original Message-
From: Alistair Young [mailto:[EMAIL PROTECTED]
Sent: Friday, January 13, 2006 8:32 AM
To: user@xmlbeans.apache.org
Subject: IMS cp 1.0 xsd not recognised
XMLBeans builds from the IMS CP 1.1 xsd fine
Young [mailto:[EMAIL PROTECTED]
Sent: Monday, January 16, 2006 4:02 AM
To: user@xmlbeans.apache.org
Subject: Re: IMS cp 1.0 xsd not recognised
thanks for that - why would 2001 be special? or is there something
special about 1999?
thanks,
Alistair
On 13 Jan 2006, at 16:31, Jacob Danner wrote
I know the compilation at runtime is possible, and from there it SHOULD be
possible to use the APIs if you load them right.
When you compile you can get information about the Schema type system that you
may find helpful rather than using reflection.
Here is a code snippets you might find useful:
Title: Unable to parse xml got this exception! help needed
This actually seems like one for the user list.
XML object is not of type D=ROOT ELEMENT
Ive seen this when Ive had an invalid XML
fragment. Although the error is not terribly clear, when Ive seen this
its because I was missing a
Title: Unable to create a soap message using xmlbeans [2.1.0]
at quick glance, it looks like you might want to add the
SAAJ jars to your classpath
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006
10:38 AMTo: user@xmlbeans.apache.orgSubject: Unable to
create
It is more than possible to use work with fragments or different schema
types and not a whole document.
In your code below, try something like:
Request request = new Request.Factory.newInstance();
Also, I'm not sure if this line:
request.setOper(OperType.CLEAN);
is correct as I'm not used to
You can work with easily generate XML without the normal
schema types. If you are using the 2.x version there are a few ways to do
this.
The way I prefer is via the XmlCursor
API.
Additionally, in the 2.x version of XmlBeans, you can
manipulate the xmlbeans via the DOM implementation that
Try the xsd:all model group
-Original Message-
From: Asaf Lahav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 10:09 AM
To: user@xmlbeans.apache.org
Subject: RE: a simple xsd question
What would be the best way to define a complex type without forcing a
specific order of
II find it easiest with an editor that has
code completion.
If this is not available to you (eclipse,
jedit), the naming and methods get generated based on the following:
All classes extend org.apache.xmlbeans.XmlObject,
you can find the javadoc for this class online.
The packages
There is a utility to generate sample xml instances from XSD via a
command line tool.
Check out xmlbeans_trunk\bin\xsd2inst
The main class is located in
org.apache.xmlbeans.impl.xsd2inst.SchemaInstanceGenerator
I'm not sure this will help you terribly as it sounds like you want to
know about all
I think the easiest thing would be to using xpath.
I learned the basics of it from a zvon tutorial. Try a search for xpath
tutorial.
There is also a sample using xmlbeans
http://xmlbeans.apache.org/samples/XQueryXPath.html
I think your xpath would be something like:
//[EMAIL
I modified the schema to work (at least compile) with xmlbeans.
The fixes were simple, but I don't know if they maintain complete
compatibility with the 2000/10 version.
To update the schema, I:
1) updated the 2000/10 namespace to 2001
2) changed any references to the 2000/10
Hey Fermin,
I haven't seen a previous post on the list about this topic. That may
be why you didn't get an answer :)
What problems are you seeing when you try the code you list below?
If I understand your problem correctly, you have something like:
el1/el1 and you want to determine what type
I haven't tried, but do you have problems with
Class.forName(someRootAsString).newInstance() ?
The only thing I can think of that might cause problems would be in
the lookup of the xsbs.
Can you update teh list with what issues you have?
Thanks,
-Jacobd
On 3/12/07, Fermin Da Costa Gomez [EMAIL
Can we see the stack traces?
On 3/12/07, Fermin Da Costa Gomez [EMAIL PROTECTED] wrote:
I haven't tried, but do you have problems with
Class.forName(someRootAsString).newInstance() ?
Correct. Assuming i'm not making some very silly misstake
The only thing I can think of that might cause
Cool, Thanks much for the code Christopher.
Fermin, does this work for you?
-Jacobd
On 3/12/07, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I think what you actually want to be doing is the following:
Object result = null;
Class destClass = Class.forName(beanId);
Class[]
Hi Krister,
I have not had any troubles working with xmlbeans under JDK 1.4 or JDK
1.5. There exists a version that should run on 1.3 as well, but I have
not tinkered with that much.
There is a feature to generate getters and setters for generics in the
generated scomp code via 'scomp
Hi Alexander,
I'm far from an expert in xpath/xquery etc, but I've worked a little
with it. I would recommend starting by taking a look at the
XQueryXPath Sample on the xmlbeans site:
http://xmlbeans.apache.org/samples/XQueryXPath.html .
I've found that useful for clearing up some of my
Hi Garth,
From my experiences with Xmlbeans, Error #1 is expected whenever
bad/invalid xml is encountered. XMLBeans was not made to work with bad
xml.
As far as error #2, I'm not sure why you are getting that, but I'll
investigate a little bit more.
So I understand, are you saying error #2
is good). That's why I'm guessing
that something is becoming corrupted in the Factory.
Thanks,
Garth
On 3/15/07, Jacob Danner [EMAIL PROTECTED] wrote:
Hi Garth,
From my experiences with Xmlbeans, Error #1 is expected whenever
bad/invalid xml is encountered. XMLBeans was not made to work with bad
Hi Peter,
Here's my biased opinion, use XMLBeans for everything you can ;)
I was able to build schema types using scomp (schema compiler) and the
gmlBase.xsd with only minor modifications. The modifications I made
were to schemaLocation paths in the xsd:import statements.
OUTPUT:
scomp
Hi Siddharth,
A couple of things. First, this functionality (generating an instance
from a schema) is already available in XMLBeans. If you look int he
bin directory there is even a cmd/sh script for it where you pass in
the name of the type you want to generate an instance for, etc.
That might
Also, if you are curious about schema type compilation, I wrote some
test code that got contributed a couple of years ago. It lives under
test/src/compile/ ...
Best of luck,
-Jacobd
On 3/17/07, Jacob Danner [EMAIL PROTECTED] wrote:
Hi Siddharth,
A couple of things. First, this functionality
Take a peek at the link below. I have a copy of src from SVN.
http://xmlbeans.apache.org/sourceAndBinaries/index.html#Binary+or+source%3F
-Jacobd
On 3/21/07, asaf.lahav [EMAIL PROTECTED] wrote:
Hi all,
Where can I download the xmlbeans 2.2 source from?
the tool sdownload, does not provide proxy configuration parameters
I'm not behind a proxy so I'm not positive if this will work but ...
You can try to configure your JRE proxy settings as described at the link below
http://www.java.com/en/download/help/520600.xml
if your XSD/WSDL has
I don't believe so.
-Jacobd
On 4/5/07, Rafael Tatsuya Icibaci [EMAIL PROTECTED] wrote:
Hi all,
Anyone knows if XMLBeans support SchemaTron ?
Atenciosamente
Rafael T. Icibaci
IBM Middleware EAI Team
( + 55 11 2113-7685
È + 55 11 9299-7840
* [EMAIL PROTECTED]
How are you trying to validate without parsing?
If you are doing something like:
XmlObject.Factory.parse(yourContent).validate();
then this is expected behavior as you are NOT validating against a type.
-Jacob Danner
On 4/10/07, Diego García González [EMAIL PROTECTED] wrote:
Hi. I need
://issues.apache.org/jira/browse/XMLBEANS-319
2) I think this is standard apache infrastructure and might be better
directed towards those alias'.
Jacob Danner
On 4/11/07, Ivan Balashov [EMAIL PROTECTED] wrote:
Hi,
Just want to say a couple of things, which might have been already told, if
so, my
Can we see the output of the following:
XmlObject[] elems = null;
// ADD this line
System.out.println(document.xmlText());
elems = document.selectPath(namespaceDeclaration +
$this/bs:bookstore/book[author='author2']/author);
On 4/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Ciao Radu,
your changed XPathRepro.java class.
Thanks again
Patrizio
-Original Message-
From: Jacob Danner [mailto:[EMAIL PROTECTED]
Sent: martedì, 17. aprile 2007 18:06
To: user@xmlbeans.apache.org
Subject: Re: troubles executing XmlObject.selectPath
Hi Patrizio,
I've attached the source I used
I've seen this error when I don't have the right xmlbeans jars on my
classpath. I usually add xbean.jar, etc. Are these jar on your
applications path?
-Jacob Danner
On 4/22/07, Jacob Danner [EMAIL PROTECTED] wrote:
Forwarding to the xmlbeans-user list
setSaveAggressiveNamespaces()
Causes the saver to reduce the number of namespace prefix
declarations.
Hope this helps,
-Jacob Danner
On 4/24/07, Stefan Offermann [EMAIL PROTECTED] wrote:
Hallo,
how can I remove the prefix when saving a xml-document?
My current output looks like this:
xid:rss xmlns:xid
Have you tried increasing the memory space of the JVM?
What is the current size? How big is the String you are parsing?
Thanks,
-Jacob Danner
On 4/24/07, inandjo [EMAIL PROTECTED] wrote:
Hi, I have an app that generated XML file using xmlBeans, and to do so, I
have to feed the xmlobject
in the schema should be defined by
type xmlns=http://www.gvt.com/store; ... /
In your case, I think the change should be something like this
OLD:
parametropacote
NEW:
parametropacote xmlns=http://www.gvt.com/store;
Best of Luck,
-Jacob Danner
On 4/24/07, Fernando Gomes Bernardino [EMAIL PROTECTED] wrote
are still having troubles,
-Jacob Danner
On 4/24/07, Stefan Offermann [EMAIL PROTECTED] wrote:
Jacob Danner schrieb:
XmlOptions setUseDefaultNamespace()
If this option is set, the saver will try to use the default
namespace for the most commonly used URI.
XmlOptions
Hi Stefan,
I'm not seeing any issues with v2.1 or 2.0.
-Jacob Danner
On 4/24/07, Stefan Offermann [EMAIL PROTECTED] wrote:
Jacob Danner schrieb:
Please let me know if you are still having troubles,
-Jacob Danner
Hi Jakob,
I just checked versionnumbers, I used xmlbeans 2.1.0, upgraded
predecessor and
follows are defined with respect to the order of the lists which
constitute R and B.
Hope this helps,
-Jacob Danner
On 4/25/07, Tomas Barros [EMAIL PROTECTED] wrote:
Hi,
I need to add some restrictions on the XML SIgnature standard (Actually to
force some optional fields), which
.
For example via DOM apis
ElementXObj.getNewDomNode() ...
Best of Luck,
-Jacob Danner
On 4/26/07, asaf.lahav [EMAIL PROTECTED] wrote:
Hi all,
How can I resolve a namespace prefix when all I have is ElementXObj instance
(taken from a valid xmlObject
Hi Pasi,
Just to clarify, you mean the code from SVN right? What revision are you at?
I've got a Dell Latitude D820 and I have NOT had any similar issues.
Might you be able to share some code with in your project that's
causing this?
Thanks,
-Jacob Danner
On 4/27/07, Pasi [EMAIL PROTECTED] wrote
Hi Inandjo,
Thanks for the update, glad all is well for you now ;)
-Jacob Danner
On 4/27/07, Inandjo Taurel [EMAIL PROTECTED] wrote:
Hi,
Sorry for the late reply but I finally got it working. Indeed, the save
function works, and the file size was 257Mb.
Thanx again!!
From: Jacob Danner
,
-Jacob Danner
On 5/2/07, Vance Vagell [EMAIL PROTECTED] wrote:
Hi folks,
First, thanks for the tip earlier about atomic type validation, Cezar. Here is
another issue I've been working on, that I hope someone has insight into. It
is similar to this old thread:
http://mail-archives.apache.org
I know you can get line information from the XmlError, will this not
work for you?
What about getting the XmlCursor using the
XmlError.getCursorLocation() or even XmlError.getObjectLocation()?
I have had success with those in the past, is there something
preventing you from using them?
-Jacob
the types I want are
not POJOs as I want to access them.
As far as simple atomic types, are you having problems using
XmlInt.setValue, etc?
Thanks,
-Jacob Danner
On 5/8/07, Vance Vagell [EMAIL PROTECTED] wrote:
Hi Jacob,
Ah, I can see how you that could be confusing. Imagine an editor display like
AFAIK it is not possible directly from a DTD. What I've done in the
past is use a DTD to XSD tool and created XmlBeans from there. I think
the last tool I used came from a sourceforge.net project.
Best of Luck,
-Jacob Danner
On 5/13/07, asaf.lahav [EMAIL PROTECTED] wrote:
Hi all
[X] +1 - I am in favor of this release, and can help
-Jacob Danner
On 5/23/07, Cezar Andrei [EMAIL PROTECTED] wrote:
[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
changelist
(413705).
-Jacob Danner
On 5/30/07, Mike Perham [EMAIL PROTECTED] wrote:
How do we get the 2.2.0 source? I don't see a zip download or an SVN
tag/branch.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
schemaType is the new type.
http://xmlbeans.apache.org/docs/2.2.0/reference/org/apache/xmlbeans/XmlObject.html#changeType(org.apache.xmlbeans.SchemaType)
Please let the list know if you have any other problems.
Thanks,
-Jacob Danner
On 5/31/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi all,
I would
won't
know what to do with it.
Do you know of another parser that works with this? In other words,
how are you making your import / element work currently?
Thanks,
-Jacob Danner
On 6/12/07, Bo Wen [EMAIL PROTECTED] wrote:
Hi, All,
I have multiple XML files related through my own import tag
Hi Asaf,
There is a Jira issue to track this and would be a great way to get
involved if you have the expertise.
http://issues.apache.org/jira/browse/XMLBEANS-100
-Jacob Danner
On 6/10/07, asaf.lahav [EMAIL PROTECTED] wrote:
Hi all,
Is there any plan to complete the dom document level 3
Hi Bo,
This will not work as a new XmlObject (think xml instance) is created
on each call.
XmlObject.Factory.parse(FileA);
XmlObject.Factory.parse(FileB);
XmlObject.Factory.parse(FileC);
If you concatenate into one instance that should work.
-Jacob Danner
On 6/12/07, Bo Wen [EMAIL PROTECTED
will lead to
LOTS of maintenance issues.
Hope this helps,
-Jacob Danner
On 6/12/07, Muzaffer Ozakca [EMAIL PROTECTED] wrote:
Hi all,
I'm using XMLBeans to create a document. Then I'm importing the
generated document into another DOM tree using the DOM API (by calling
getType.getDomMode() first
);
...
CompositeDocument c = CompositeDocument.Factory.newInstance();
c. /// other init stuff
s.setAType(AXmlInstance);
s.setBType(BXmlInstance);
-Jacob Danner
On 6/12/07, Bo Wen [EMAIL PROTECTED] wrote:
Thanks Jacob! So there is no way to parse multiple XMLs through XMLBean and
I have to concatenate them. It would
using the axis container. In other words can
we attempt to repro this using only xmlbeans?
Thanks,
-Jacob Danner
On 6/13/07, Spike Mulligan [EMAIL PROTECTED] wrote:
So that link seems to imply that Axis2 doesn't support substitution groups
and I have to tweak the generated code to support them.
I
/ExtensionInterfacesFeature
http://dev2dev.bea.com/pub/a/2004/05/XMLBeans_raj.html
http://dev2dev.bea.com/pub/a/2004/11/Configuring_XMLBeans.html
Best of luck,
-Jacob Danner
On 6/25/07, Pieter Cogghe [EMAIL PROTECTED] wrote:
Hi,
I want to add some functionality to the generated classes, without touching
Hi Siddharth,
It looks like you want the SampleXmlUtil.createSampleForTypes() method
to allow you to specify a prefix. Unfortunately for you this is a not
a feature of the class, however there are other options you can use to
specify the prefix.
String genDoc =
.
-Jacob Danner
On 6/27/07, baisa, darwin [EMAIL PROTECTED] wrote:
Can any one help me to get Validation errors when we validate a node or
file? The method validate() is giving whether the node is valid or not.
But I am unable to get the validation errors. When I validate a XML file
against a XSD using
It's hard to tell exactly why you are seeing this from the snippets
but here are some suggestions.
does DP,xsd have a targetNamespace? (it doesn't in the snippet)
Does this work if an xsd:include is used instead?
Are there any typo's in the namespace declarations.
Best of Luck,
-Jacob Danner
Try
XmlOptions xo = new XmlOptions().setSavePrettyPrint();
then xmlText(xo), will produce the desired result.
-Jacob Danner
On 6/28/07, Gustavo Aquino [EMAIL PROTECTED] wrote:
Hi friends,
Anyone know how i can generate my XML in Pretty format ?
Today when i generate xml using xmlText() my
That is correct, XmlBeans use the factory creation pattern for
instantiation. I'm unfamiliar with this aspect of websphere but the
websphere group may have more infomration on how to get past this.
Thanks,
-Jacob Danner
On 7/23/07, rsg [EMAIL PROTECTED] wrote:
I am trying to create webservice
I have seen this when using different JDK versions with compiled types.
Specifically, if I compiled an XSD using JDK 1.6 and then try to run
my code using that XSD with say JDK 1.4.
Can you let us know if this is the problem you are having?
Thanks,
-Jacob Danner
On 7/30/07, Jethro Borsje [EMAIL
:// ... /disclaimers.xsd
information on valid values for an anyURI type can be found at this URL
http://www.w3.org/TR/xmlschema-2/#anyURI
Hope this helps,
-Jacob Danner
On 7/30/07, Dicks, Matthew [EMAIL PROTECTED] wrote:
I have an XSD that uses xs:import to import another everything validates
in XMLSPY however, I
Hi Asaf,
Have you considered an xpath or xquery to get this data and then cast
or change it to the type you've discovered.
Maybe something along the lines of:
SoapEnvelopeDocument.executeQuery(//body)
Please let us know if this won't work for you or isn't what you were asking for.
-Jacob Danner
is that
if the array length grows greater than 5 it would fail validation.
Hope this helps clarify things, please let the list know if you have further
questions,
-Jacob Danner
On 7/24/07, Schalk Neethling [EMAIL PROTECTED] wrote:
Greetings everyone,
I recently inherited a project from another
If you use the other method Cezar mentioned
parent.setWIPKEYS(keys.getWIPKEYS())
you can replace the entire WIPKEYS array.
Otherwise if you only want to replace one at a time there are some
methods for that too like insert, etc.
-Jacob Danner
On 8/15/07, bob bob [EMAIL PROTECTED] wrote:
Thanks
the xsd:gYear type? I'm
guessing it would save you a lot of time trying to validate things,
etc.
-Jacob Danner
On 8/21/07, Leszczynski, Leszek [EMAIL PROTECTED] wrote:
Hi,
I am starting with XMLBeans and just hit the wall. I have a XSD schema with
an element defined:
xs:element name=year
();
Is that not working for you?
Thanks,
-Jacobd
On 8/22/07, Scott Sauyet [EMAIL PROTECTED] wrote:
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
://www.wwp.com/XMLSchema/moConfig.xsd;
xmlns:tns=http://www.wwp.com/XMLSchema/moConfig.xsd;
elementFormDefault=qualified
...
xs:attribute name=task type=tns:stringListType use=required/
...
Please let the list know if you still have problems,
-Jacob Danner
On 9/5/07, Bo Wen [EMAIL PROTECTED
structure for a tree-structured xml schema?
Not AFAIK, however you may want to look into the venetian blind
pattern as you can work 'Type' classes in a manner like you are
seeking.
Hope this helps,
-Jacob Danner
On 9/6/07, Ole Laurisch [EMAIL PROTECTED] wrote:
Hello,
I have a problem
layer' to abstract from changes
associated with versioning, but without the details or knowing what
exactly you mean by transfer objects its hard to know true pros and
cons.
Hope this helps,
-Jacob Danner
On 9/13/07, zulu [EMAIL PROTECTED] wrote:
Hi All,
We have a requirement where in we need
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
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 way to do this because xsd:list
FooDocument.Factory.parse(MyXmlFile.xml);
is an incorrect usage of the api. The string value you intend to should be
something along the lines of:
String fooDoc = foobazsomeVal/baz/foo;
FooDocument.Factory.parse(fooDoc);
In this case, I think the error message is to be expected as FooDocument is
would restricting it via an enumeration work for you Albert?
-Jacobd
On 10/10/07, Wing Yew Poon [EMAIL PROTECTED] wrote:
This one is not a bug. true and 1 are both valid values for the
schema type. When XMLBeans writes the xml, it uses the canonical lexical
representation, which is true.
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
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 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]
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
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
*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
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
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 causes failure
From: Jacob Danner [EMAIL PROTECTED
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
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
Is there additional content at the start of the file?
can you check the start of the contents of the stream too? i.e, I
think there may be some additional bytes being added that are causing
this. Do you get this problem when you are not using a byte stream?
-jacobd
On 11/11/07, Balakumar
From previous posting on teh mailing list it sounds like some folks have had
some success with hibernate.
I can't say I've needed to do what you are describing, but it should be
possible with some additional impl on your part.
As far as managing the database side of things, XMLBeans doesn't do any
How are you saving the file? XmlBeans has an method that will write the
contents out to a file and as far as I remember should add the ?xml ...
With regard to adding the namespaces, you can add them via the XmlOptions
class or XmlCursor Api.
best of luck,
-jacobd
On Nov 16, 2007 7:29 AM, Regis
.
I invoke the document.save(OutputStream out) to save the content in a XML
file.
Is there a way to save xml file without the prefixes nfe: from the tags?
I tried the method insertNamespace() from XmlCursor and it works! =c)
Thanks for help
Regis
-Mensagem original-
*De:* Jacob
I'm confused, does the instance you are parsing already have the
namespace defined?
Why is the namespace being set as the default?
Thx,
-jacobd
On 11/26/07, bob bob [EMAIL PROTECTED] wrote:
I have an xml bean that I load an xml document by adding the namespace
programatically (because the xml
If your web service was using rpc/enc (I'm gathering that from the
soap:enc) you may want to make sure the namespace values you are
getting back match properly with what is expected by responseDocument.
Otherwise, I know I've only used XmlBeans with doc/literal services.
What happens when you
As far as I remember, xmlText was best suited for system.out display.
If you want to save the file with the xml pi, try the XmlObject.save()
method.
Hope this helps,
-jacobd
On 11/28/07, baisa, darwin [EMAIL PROTECTED] wrote:
Hi,
I am generating XML text using my XMLBeans document object.
As its an industry schema, you may just want to wait if you can. What
errors are you seeing and what have you done to correct the issues?
-jacobd
On 11/27/07, Adrián Cuartero [EMAIL PROTECTED] wrote:
Hi list
I'm developing a program who parses files from this schema file
but i haven't solved the problem.
Thanks for your message.
- Mensaje original
De: Jacob Danner [EMAIL PROTECTED]
Para: user@xmlbeans.apache.org
Enviado: sábado, 1 de diciembre, 2007 8:03:40
Asunto: Re: Rv: Help with a schema file
As its an industry schema, you may just want to wait
I'm asking because, the link returns a page not found on the server
-jacobd
On Dec 3, 2007 9:27 AM, Jacob Danner [EMAIL PROTECTED] wrote:
What is the error you are seeing?
-jacobd
On Dec 3, 2007 9:21 AM, Adrián Cuartero [EMAIL PROTECTED] wrote:
I can't wait because i must finish my
:51 AM, Adrián Cuartero [EMAIL PROTECTED] wrote:
Sorry, i paste a bad link
http://www.imsglobal.org/xsd/AccessForAll_v1p0.xsd that's right.
Thanks
- Mensaje original
De: Jacob Danner [EMAIL PROTECTED]
Para: user@xmlbeans.apache.org
Enviado: lunes, 3 de diciembre, 2007 18:30:07
If you do give Saxon 8.9 a try will you let us know how it turns out?
-jacobd
On 12/3/07, Wing Yew Poon [EMAIL PROTECTED] wrote:
The problem with Saxon is that it makes non-backward-compatible
API changes from one dot release to another (8.x to 8.y).
XMLBeans 2.3.0 was tested with Saxon 8.8,
1 - 100 of 233 matches
Mail list logo