Regular Fragmentations and the PSVI
-
Creating the explicit from the implied
Both W3C XML Schema and Regular Fragmentations allow developers to make statements about the nature of XML content. Both come with an implied processing model, though regular fragmentations is much smaller.
-
Always easily serialized to XML
Although there is an XML representation of the PSVI available from the XSV validator, this representation isn't especially workable for transmission. The output of regular fragmentations is always directly serializable as XML and can be used as XML by other processors with no understanding of the fragmentation processing that took place.
-
Validation a separate stage
W3C XML Schema processors perform several different tasks, both validating documents and painting (annotating) them with type and other information which is accessible from the PSVI. Regular fragmentation only performs painting/annotation. Validation could be performed with another filter, but this is not required.
-
Saving the Infoset with syntax, of a sort
The Infoset, especially in its PSVI incarnation, has grown immense. By sticking to an explicit subset of the Infoset (SAX events) with a clear mapping to XML syntax, regular fragmentations offers an alternate model that can provide services like those of the PSVI without requiring any understanding of XML Schema.
Previous Page <
TOC
> Next Page