Thanks Justin ...

> One of two things. Pass in a MLConfiguration(), which has the schema
> reference "built in" to it. Or ensure that teh schema reference is exactly
> correct in the instance document you are parsing.

I was trying to avoid that in order to show the difference adding
bindings makes. I can have another look.

>> - it did not bind the xsd simple types (such as int) - what do we need to
>> do for that to work?
>
> That is because the XMLConfiguration(), and the schema does not declare any
> of the types, it just contains a few attributes link lang, and some other
> stuff. Not really too sure of its purpose actually.
>
> The one you want is XSConfiguration(), which declares all the types (and
> bindings) for xml simple types.

I tried that one as well; it produced the same result (ie xs:int was
not picked up).

Once we sort this out as an example can I commit the test case and add
it to the wiki.

Jody

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to