Re: Can default attibute values defined in xsd be referenced?
Michael Cervenak Ahern <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Alan, I haven't played with this particular area but do check out the Xerces feature setting: http://xerces.apache.org/xerces2-j/features.html These three seem to jump out as promising: http://apache.org/xml/features/validation/schema http://apache.org/xml/features/validation/schema-full-checking http://apache.org/xml/features/validation/schema/normalized-value Good luck -Mike On Sat, Jul 24, 2010 at 2:00 AM, Altimes <[email protected]> wrote: > > Daniel, followed up on the suggestion of validation. I was assuming that > "some magic" happened inside the freemarker code to validate and inject > default attributes, clearly not, and that's OK once you understand. > > I've worked through the process of building the validator and validating > the > xml. Now, I'm stuck on the issue that the "validated" xml that is the > result of the "validate" call not only doesn't it have defaulted > attributes, > it is removing the ones that I specified. No complaints....just silently > chops them out...... > > OK, this is NOT a freemarker issue but rather one that lives in the > somewhat > Byzantine maze of java, xml and the legion of parser/processor/transformer > apis. > > When I find a solution (and to date Google has NOT been my friend), I post > back here. > > Alan > -- > View this message in context: > http://freemarker.624813.n4.nabble.com/Can-default-attibute-values-defined-in-xsd-be-referenced-tp2283206p2300896.html > Sent from the freemarker-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > FreeMarker-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freemarker-user > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ FreeMarker-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freemarker-user