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


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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