#110300 sp,opensp: architecture processing badly documented

Package:
opensp
Source:
opensp
Description:
OpenJade group's SGML parsing tools
Submitter:
Yann Dirson
Date:
2005-07-18 03:06:38 UTC
Severity:
normal
#110300#5
Date:
2001-08-26 15:18:22 UTC
From:
To:
1. the -A option to (o)nsgmls and (o)sgmlnorm, mentionned in the
archform.htm document, are not mentionned in the detailed syntax for
those commands.

2. both "(nsgmls|sgmlnorm) -A foo doc.sgml" exit with status 0 when foo
is not properly declared as an architecture for the document being
validated - nsgmls even outputs a single "C" line, as if the doc was
empty, but still conforming with something.

3. the archform.htm document shows "<?IS10744 ArcBase archname>" as a
synopsis but tells the name of the required attribute is "ArcDTD"

4. it looks like "sgmls -A archname" validates a document against the
named architecture _additionally_ to validating it against the
declared DTD, when there is a DOCTYPE.  This seems to imply that XML
documents without a doctype, but with an architecture declaration,
cannot be validated against an architecture

See below for the example I'm trying to get to work.  You'll note the
2 PIs I've tried to use (I've used others, but these ones were the
most likely) - the one that is active is derived from what I
understood of archform.htm, the one commented out is the syntax
dexcribed in http://www.isogen.com/papers/archintro.html

#110300#10
Date:
2001-08-28 21:21:40 UTC
From:
To:
After browsing quickly through the draft standard, I understand none of
those is correct, but did not find the correct formulation yet (no equals
sign is sure to be better, but something else is wrong - but the software
keeps keeping me ignorant of the problem)

#110300#15
Date:
2001-08-31 05:50:35 UTC
From:
To:
Yann Dirson <ydirson@altern.org> writes:

I wish I could help, but I've never worked with architectural forms.
Have you tried on the SGML usenet list or even the Mulberry DSSSL
list?

I will mark this bug (and the other) forwarded, opening a sourceforge
bug for them.  I can apply patches upstream and such too if you get
that ambitious.

Again, sorry I can't answer your question.

#110300#20
Date:
2001-09-04 22:19:18 UTC
From:
To:
No, but a google search finally gave me a sample, sent by jjc on a
list after sp began to support that.  It's
http://www.oasis-open.org/cover/archEngine.html IIRC (offline
mail-composing sucks).

I attach is a simpler example, which you may want to include in the
doc.

Will remain to fix this behaviour of silently accepting
syntactically-wrong PI, as well as arguments to -A that are not
declared as base architecture for the document.