On Mon, Oct 23, 2006 at 01:48:59PM -0400, Enrico Silterra wrote:
> Aleksey,
> we are switching from using a dtd - to using a schema -
> and are looking for the equivalent behavior - where, when

  Sorry I don't think this is implemented. Basically it's PSVI
add-on to the validated tree and that's a very sensible topic,
there is no PSVI support in libxml2 at this point.

> using a dtd, the default attributes were supplied.

> I am trying to understand why - what seems to be the
> correct behavior (in my opinion)  -- maybe I don't understand the c14n 
> spec --
> does not happen, and if, using schemas, there is a way to
> get it to happen.

Because DTD are part of XML-1.0 you can rely on them. XSD are an add-on 
with an awful lot of dark corners, I would not rely on it too heavilly.
C14N has no dependancy on XML Schemas as far as I can tell
  http://www.w3.org/TR/xml-c14n#bibliography
you can't expect XSD attribute or element defaulting when processing C14N .

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to