Just to preface this, I am writing automated tests for a program that uses XML to define actions and whatever else...so the xsd's will most likely change every once in a while while the developers work things out and develop new things...
I want to be able to generate code using generateDS and would like to have it generate validator methods for simpleTypes. I am not super familiar with xml but it seems like simpleTypes will have a xs:restriction defined and that can be used to generate code for the validator methods. I wouldn't mind adding in the code to do this but am not sure where would be the best place to do it... I was thinking of adding it into the getValidatorBody but that method only gets a string of the name of the simpleType...to figure out the code to generate I would need access to the xsd element containing the restrictions...is there a place in the code I could look for that and maybe save it later for when getValidatorBody is called? Thanks, -Brandon
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users