|
|
|
 |
Article:
 |
 |
An XML Fragment Reader
|
| Subject: |
Misleading Premise |
| Date: |
2003-07-17 18:29:24 |
| From: |
Alex Milowski |
|
|
|
|
This article states "While many potential uses of XML result in fragments of XML text, not complete documents, XML parsers require complete documents to do their jobs properly." From an XML perspective, this is a complete document. Besides, the concept of "complete" is very abiguous. Does that mean sufficient to parse, validate, application valid, well-formed, or what?
In addition, java.io.SequenceInputStream does most of this already. I don't see how this is really that significant.
|
- Misleading Premise
2003-07-17 20:33:16 William Brogden
[Reply]
It is true that SequenceInputStream comes close. However if you use it, your SAX error reporting is by line number within the entire sequence - which I found pretty hard to interpret. By keeping track of line numbers within the separate chunks of text, it is easier to find the source of a parse error.
|
 |
Sponsored By:
|
|