On Dec 31, Allen Chan ([EMAIL PROTECTED]) wrote: > Package: opensp > Version: 1.5.2-1 > Severity: normal > > After upgrading from 1.5.1.0-4 to 1.5.2-1, the command: > onsgmls -s test.xhtml > generates a lengthy error message that begins with: > > onsgmls:/usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd:237:27:E: > omitted tag minimization parameter can be omitted only if OMITTAG NO is > specified > onsgmls:/usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd:239:8:E: > character ":" invalid: only "CDATA", "ENTITIES", "ENTITY", "ID", > "IDREF", "IDREFS", "NAME", "NAMES", "NMTOKEN", "NMTOKENS", "NOTATION", > "NUMBER", "NUMBERS", "NUTOKEN", "NUTOKENS" and parameter separators > allowed > onsgmls:/usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd:253:49:E: > omitted tag minimization parameter can be omitted only if OMITTAG NO is > specified > onsgmls:/usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd:256:8:E: > character ":" invalid: only "CDATA", "ENTITIES", "ENTITY", "ID", > "IDREF", "IDREFS", "NAME", "NAMES", "NMTOKEN", "NMTOKENS", "NOTATION", > "NUMBER", "NUMBERS", "NUTOKEN", "NUTOKENS" and parameter separators > allowed > onsgmls:/usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd:265:25:E: > omitted tag minimization parameter can be omitted only if OMITTAG NO is > specified > ... > > Downgrading opensp to 1.5.1.0-4 avoids the problem.
I get the same errors with that command line with both 1.5.1.0 and 1.5.2. If I add the XML declaration to the command line, I get no errors with both: onsgmls -s declaration/xml.dcl test.xhtml Can you confirm that you get different results with 1.5.1.0 and 1.5.2? -- Neil Roeth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]