Hi Dustin,
Good question... i checked the xml schema reference and could not find the
actual definition of the syntax of the schemaLocation attribute. That said,
even if the syntax allows it i can';t imagine it is used in practice very
often, and most certainly is discouraged i would think.
That said I think having the parser do a simple trim is no harm. If you want
to whip up a patch please do.
-Justin
On Tue, Nov 23, 2010 at 7:28 PM, Dustin Parker <[email protected]>wrote:
> A particular WFS I was using emitted an xsi:schemaLocation with leading
> whitespace, which caused an ArrayIndexOutOutBounds exception in
> ParserHandler on line 277. I think the fix is to trim the attribute before
> splitting it (line 254), but is it legitimate to have whitespace at the
> beginning of that attribute?
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel