Re: minor issues with examples

/ 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

Fixed.

|  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,
                                          norm

-- 
Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

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