RE: Jar file internals?

2005-08-01 Thread Jacob Danner
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 PRO

Jar file internals?

2005-08-01 Thread Steve Davis
Which parts of the jar file generated by scomp are needed for runtime execution? I am seeing directories: com\... META-INF\... schema\element\... schema\javaname\... schema\namespace\... schema\src\... schema\system\... schema\type\...

RE: RE : Validate an XML file against a schema

2005-08-01 Thread Rajiv Balachandran
Hi Celino, Do take a look at the following sample for validation which might be useful - http://xmlbeans.apache.org/samples/Validation.html. -Rajiv -Original Message- From: Celinio Fernandes [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 6:26 AM To: user@xmlbeans.apache.org S

Re: RE : Validate an XML file against a schema

2005-08-01 Thread Brian Bonner
You're correct. Brian Celinio Fernandes wrote: I think I got it wrong, I should spend more time reading the API before posting a question. boolean isValid = newEmp.validate(validateOptions); ==> validates the XML file against the schema. Can anyone quickly confirm this please ? Sorry, T

RE : Validate an XML file against a schema

2005-08-01 Thread Celinio Fernandes
I think I got it wrong, I should spend more time reading the API before posting a question. boolean isValid = newEmp.validate(validateOptions); ==> validates the XML file against the schema. Can anyone quickly confirm this please ? Sorry, Thanks -Message d'origine- De : Celinio Fern

Validate an XML file against a schema

2005-08-01 Thread Celinio Fernandes
Hi, How do you specify the name and location of the Schema file .xsd against which the validate() method will validate the XML file ? In the following example, where/how do you specify the name / location of the schema .xsd file ? // Create an XmlOptions instance and set the error listener. Xm

Re: Problem compiling a set of schemas with xmlbeans 2.0.0

2005-08-01 Thread Johannes Echterhoff
Hello. Does someone know what causes the errors and how to solve this problem? Is it a problem with the schemas or with xmlbeans? This error is blocking me from moving forward. :-( Regards, Johannes Echterhoff - To unsubs