RE: Support for id() and idref() in XPath

2006-07-20 Thread Radu Preotiuc-Pietro
I *think* what this boils down to is that the free version of Saxon (which is what XMLBeans is using) does not support typing and so getId()-type Xpaths cannot work. Of course (before you rush out and buy Saxon :p) no one had the non-opensource version to integrate XMLBeans with it so it will not

Re: Support for id() and idref() in XPath

2006-07-20 Thread cbryant
Here is a simple example: __ id_ref.xsd __ http://www.w3.org/2001/XMLSchema"; xmlns="http://sample.com/id_ref"; targetNamespace="http://sample.com/id_ref"; elementFormDefault="qualified" attributeFormDefault="unqualified">

How to preserve CDATA sections?

2006-07-20 Thread Lewis, David
Using XMLBeans 2.2.0, if I parse an XML document that contains CDATA sections to escape blocks of text, when I save the document to a file system – the CDATA sections are no longer preserved and literals that may be interpreted as markup (such as an ampersand) are written out in their escap

RE: schema jars

2006-07-20 Thread Cezar Andrei
You have to compile base.xsd alone first, than compile schema1.xsd having the first generated jar on classpath.   scomp –out base.jar base.xsd scomp –cp base.jar –out schema1.jar schema1.xsd scomp –cp base.jar;schema1.jar –out schema2.jar schema2.xsd   Cezar   From: sri [m