on my MAC, full path to scomp works fine for me like this
/Volumes/Build/XmlBeans/xmlbeans-2.3.0/bin/scomp -out MyJar.jar
/Volumes/Build/MyLibrary/X/MySchema.xsd
Radu Preotiuc-Pietro wrote:
Hi,
Could there be any problem with permissions, that sort of thing?
I don't have access to a Mac mys
;);
org.apache.xmlbeans.XmlOptions opts = new org.apache.xmlbeans.XmlOptions();
opts.setSavePrettyPrint();
opts.setSavePrettyPrintIndent(4);
opts.setSaveSuggestedPrefixes(noPrefixMap);
yourDocument.save(fileOutputStream, opts);
-youssef
-
= parentOfHouse.addNewHouse();
XmlBeans throws this exception:
org.apache.xmlbeans.SchemaTypeLoaderException: Simple type does
not have a recognized variety
(schemaorg_apache_xmlbeans.system.sD448ABDEBD4BBC3ADEE1B5462D433319.hous
e87ebtype) - code 8
how can i fix this?
thx in advance.
-youssef
exception:
org.apache.xmlbeans.SchemaTypeLoaderException: Simple type does
not have a recognized variety
(schemaorg_apache_xmlbeans.system.sD448ABDEBD4BBC3ADEE1B5462D433319.hous
e87ebtype) - code 8
how can i fix this?
thx in advance.
-youssef
hi,
can you please post the java code source you use to parse your xml file?
i had the same strange exceptions when i use
FooDocument.Factory.parse("MyXmlFile.xml"); but when i use
File xmlFile = new File("MyXmlFile.xml");
FooDocument.Factory.parse(xmlFile);
this exception strangely deseppears!!
cheers,
Youssef
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
attributeGroup , something
like Enum enum1 = FooDocument.getFoo().getBarGroupAttributeGroupe();
thkx in advance
youssef
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
HI !
i execute XQueryXPath sample coming with xmlbeans.jar . everything goes
right. but when i change the expression in path or query expressions
like that : (adding the wildcard symbol *)
pathCursor.selectPath(m_namespaceDeclaration +
"$this//ns:Channel/ns:Name/*");
XmlBeans jump over an
7 matches
Mail list logo