From: David C. <dc...@st...> - 2009-06-08 14:02:02
|
SAXON also runs on .NET and if you have the pay version, you get XML Schema Validation as well. So yes, there are alternatives besides just the Microsoft parser and validator. Dave Stefan Bodewig wrote: > On 2009-06-06, Maxim Filimonov <tpa...@gm...> wrote: > > >> I'm looking at the .net version of Validator class now >> > > great > > >> and it's quite strange for me that this class contains >> implementation of validation while java version is only abstract >> class without knowledge of any validation API. >> > > In the Java case I knew there'd be (at least) two implementations, > while I only expected a single implementation for .NET. Do you > envision a different validation API (I may just not be aware of > alternatives so please bear with me) for .NET as well? > > If there is more than one implementation for .NET then we can and > should split Validator the same way we did for Java, otherwise I'd > feel it would be speculative design and defer the decision to later > (YAGNI). > > If we leave Validator as it is it may be a good idea to remove the > public constructor, though. That way people would be forced to use > the factory method and we'd be free to change the implementation > later. > > If you feel my code is wrong, please don't hesitate to jump in and fix > it 8-) > > Stefan > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Xmlunit-general mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlunit-general > > |