W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > March 2007

Re: minor issues with examples

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Sat, 24 Mar 2007 12:47:46 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87mz22wpu5.fsf@nwalsh.com>
/ ht@inf.ed.ac.uk (Henry S. Thompson) was heard to say:
| I'm working on the DTD, and this has turned up some problems with some
| of the examples:
|  p:validate should be p:xml-schema-validate in
|    choose.xml
|    fig1.xml
|    fig2.xml
|    pipeline.xml


|  p:viewport requires a p:output first child, in viewport.xml
| I think the former should be fixed in the examples -- what we do about
| the latter is less clear -- seems to me it could default w/o any
| problem to an un-named non-sequence output (decl). . .

It wouldn't be unnamed, it would be named "result". We let inputs
be defaulted and for atomic steps, we let outputs be defaulted.
(That is, you don't have to name the port.)

For all the other steps, you have to name the outputs (because there
could be several, or none). I'm on the fence about whether I think
it makes more sense to default the output on viewport or force it
to be present.

In the end, I'll probably be persuaded to let it default.

| Perhaps for the public WD just add a <p:output port="result"/>

That's what I did for now.

                                        Be seeing you,

Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Saturday, 24 March 2007 16:48:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:42 UTC