Re: SCOMP not found on MAC

2009-02-04 Thread Youssef
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

Re: saving xml withour namesapce

2008-03-03 Thread Youssef
;); org.apache.xmlbeans.XmlOptions opts = new org.apache.xmlbeans.XmlOptions(); opts.setSavePrettyPrint(); opts.setSavePrettyPrintIndent(4); opts.setSaveSuggestedPrefixes(noPrefixMap); yourDocument.save(fileOutputStream, opts); -youssef -

Working with multiple namespace.

2007-11-16 Thread 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

Working with multiple namespace.

2007-11-13 Thread 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

Re: error: Unexpected element: CDATA

2007-10-09 Thread 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]

How to acced attribute-group

2007-10-03 Thread Youssef
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]

XmlBean support for expression with wildcard symbol

2007-07-23 Thread Youssef
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