[jdev] xml processing question

Scott Cotton wsc at mindowl.com
Sun Aug 13 15:11:37 CDT 2006


On 8/13/06, Joe Hildebrand <hildjj at gmail.com> wrote:
>
>
> On Aug 11, 2006, at 7:24 PM, Scott Cotton wrote:
> > I'm still unclear on what "treat as if does not exist" means.
> > First and foremost, I don't know whether ignoring is
> > passing through untouched  and uninterpreted or
> > removing it.
>
> Another option, which resolves this ambiguity is to say that the
> receiving entity MUST disconnect from the sending entity, the same as
> if non-well-formed XML had been sent.



I like this option, so long as the receiving entity also sends a descriptive
error
message to the sending entity.
-- 
scott

PS I am developing an xml parser in java which works on byte buffers instead
of streams, but uses the java 1.6 / java EE  javax.xml.stream XMLEvent
interface so that it can more easily interoperate with other xml tools.
This
makes it easier to work with non-blocking io for a server, but also
unfortunately seemed
to require a dedicated xml parser.  Minimizing the required work for that
parser
is what originally triggered the question, but I'm more concerned about
being
very clear with respect to what  happens to message  content.

--
> Joe Hildebrand
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20060813/ae23dce6/attachment-0002.htm>


More information about the JDev mailing list