Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.text.xml > #904

Re: Schematron questions

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Peter Flynn <peter@silmaril.ie>
Newsgroups comp.text.xml
Subject Re: Schematron questions
Date Fri, 29 Jun 2018 22:32:32 +0100
Lines 35
Message-ID <fpnmrhFpih8U1@mid.individual.net> (permalink)
References <87vabuodmk.fsf@hri.res.in> <c30e5652-67cf-431a-af95-7da3533718d8@googlegroups.com> <871see5kta.fsf@gmail.com> <87sh6u44hh.fsf@gmail.com> <fm6br2Fs67sU1@mid.individual.net> <87vabltltf.fsf@gmail.com> <fm8pg0Fdrn9U1@mid.individual.net> <87o9hcuucq.fsf@gmail.com> <fme7s4Fjlm8U1@mid.individual.net> <87y3gdsof3.fsf@gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace individual.net i4gdlQ3SoQyLcXcJKxJliAR5m798FwlwzsTiKO4oOYG/9VGT9I
Cancel-Lock sha1:ecqHfJ6dMtxPuvCu9hFd//Sxb/U=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
In-Reply-To <87y3gdsof3.fsf@gmail.com>
Content-Language en-US
Xref csiph.com comp.text.xml:904

Show key headers only | 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