You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by Carlos Raza <ca...@yahoo.com> on 2004/08/13 10:47:16 UTC

Parser Exception during BUILD due to Embedded text in xsd:appinfo

Hi there,

Im new to JAXME, so maybe this a known issue but just
in case.

When I try to generate my Java classes from a specific
xsd file, then the compiler/parser generates the
exception below. It does this for every single
instance of elements containing embedded texts.

What can I do in order to resolve this issue, as you
may understand my application cannot live without the
embedded text in the xsd file.

Attached to this mail Im including the .xsd file Im
using in this scenario.

Thanks,

Carlos.

BUILD FAILED
file:C:/jwsdp-1.4/apache-ant/bin/../../../$user/build.xml:33:
java.lang.IllegalStateException: Embed
ded text is not supported in the 'xsd:appinfo'
element:8d5567d0d4ea11d88c71ecbac0a8902d
at
org.apache.ws.jaxme.generator.XJCTask.execute(XJCTask.java:958)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
at org.apache.tools.ant.Task.perform(Task.java:341)
at
org.apache.tools.ant.Target.execute(Target.java:309)
at
org.apache.tools.ant.Target.performTasks(Target.java:336)
at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at
org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Caused by: java.lang.IllegalStateException: Embedded
text is not supported in the 'xsd:appinfo' elem
ent:8d5567d0d4ea11d88c71ecbac0a8902d
at
org.apache.ws.jaxme.xs.parser.impl.AbstractXsSAXParser.characters(AbstractXsSAXParser.jav
a:135)
..............
.............
...........................
.............................


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

Re: Parser Exception during BUILD due to Embedded text in xsd:appinfo

Posted by Jochen Wiedmann <jo...@freenet.de>.
Carlos Raza wrote:

> java.lang.IllegalStateException: Embed
> ded text is not supported in the 'xsd:appinfo'
> element:8d5567d0d4ea11d88c71ecbac0a8902d

I have added a fix to the 0.3 branch and to the HEAD.


Jochen

---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org