[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [xml] validation and default attributes



On Wed, Jan 09, 2008 at 04:57:07PM +1300, gmcc051 ec auckland ac nz wrote:
> 
> 
> Is it possible to validate an xml file with an xsd schema and have it insert the
> missing default attributes as defined by the schema?
> 
> With xmllint it appears we can do it with a dtd schema but not the xsd schema.
> Is this the case?

 that's true, we don't augment the infoset with extra data from XSD validation

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]