Groups | Search | Server Info | Login | Register


Groups > comp.text.xml > #904

Re: Schematron questions

From Peter Flynn <peter@silmaril.ie>
Newsgroups comp.text.xml
Subject Re: Schematron questions
Date 2018-06-29 22:32 +0100
Message-ID <fpnmrhFpih8U1@mid.individual.net> (permalink)
References (5 earlier) <87vabltltf.fsf@gmail.com> <fm8pg0Fdrn9U1@mid.individual.net> <87o9hcuucq.fsf@gmail.com> <fme7s4Fjlm8U1@mid.individual.net> <87y3gdsof3.fsf@gmail.com>

Show all headers | View raw


On 21/05/18 04:00, N. Raghavendra wrote:
> At 2018-05-20T22:32:52+01:00, Peter Flynn wrote:
> 
>> I haven't used LaTeX for authoring since the early 90s: everything has
>> been in SGML and then XML, and transformed to LaTeX for formatting, so
>> its lack of formal structure has not concerned me: it's basically an API
>> to create PDFs.
> 
> I indeed like the phrase "an API to create PDFs"!  I wish I knew, in the
> 90s, someone who could tell me that.

I was certainly saying it, but obviously not loud enough.

> Now, to use PSGML, I have to convert the RNC to a DTD.  However, when I
> try to do that with `trang', the command aborts with several errors:
> 
> $ trang mono.rnc mono.dtd
> 
> /home/raghu/xml/xml/mono.rnc:14:1: error: sorry, combining definitions
> with combine="choice" is not supported
> 
> /pkg/docbook/rng/docbookxi.rnc:264:6: error: sorry, ambiguous attribute
> choice not handled (attribute "type" from namespace
> "http://www.w3.org/1999/xlink")

I'm not an Relax expert. I suspect you just need to avoid using
constructs that do not map to DTD's facilities. This may mean expanding
any combined definitions, for example.

> I have enclosed the schema `mono.rnc' below.  I would be grateful if you
> have any suggestions.

I'm afraid I won't now get a chance to look at this until October.

///Peter

Back to comp.text.xml | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Schematron questions "N. Raghavendra" <raghu@hri.res.in> - 2018-05-11 12:58 +0530
  Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-11 13:44 +0530
  Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-12 13:43 +0530
  Re: Schematron questions George Bina <george@oxygenxml.com> - 2018-05-14 06:52 -0700
    Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-14 20:46 +0530
      Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-14 21:24 +0530
        Re: Schematron questions Peter Flynn <peter@silmaril.ie> - 2018-05-17 22:51 +0100
          Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-18 13:52 +0530
            Re: Schematron questions Manuel Collado <m-collado@users.sourceforge.net> - 2018-05-18 15:39 +0200
              Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-18 20:40 +0530
            Re: Schematron questions Peter Flynn <peter@silmaril.ie> - 2018-05-18 20:56 +0100
              Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-19 10:15 +0530
                Re: Schematron questions Peter Flynn <peter@silmaril.ie> - 2018-05-20 22:32 +0100
                Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-05-21 08:30 +0530
                Re: Schematron questions Peter Flynn <peter@silmaril.ie> - 2018-06-29 22:32 +0100
                Re: Schematron questions "N. Raghavendra" <nyraghu27132@gmail.com> - 2018-07-01 00:24 +0530

csiph-web