Re: [xml] post-XInclude validation using schema, not DTD



Daniel Veillard wrote:

  The problem only occurs for DTD because DTD validation is defined as
part of the parsing phase ! For RelaxNG or XSD, you parse an existing tree,
so postvalid is by definition of these validation schemes and that flag
should not be used for those !


Not by definition, no. You can validate a document that uses XIncludes before or after the includes are resolved. Which to do is up to the user. None of the specs require this to be done in any particular order, regardless of schema language. Doing it with DTDs, post-XInclude may require a reparse, though.

--
Elliotte Rusty Harold  elharo metalab unc edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/



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