BryanChilds | 4 Sep 12:27 2002

Illegal markup declaration

Hi everyone,

I'm using PSGML on XEmacs (cygwin) 21.4 (patch 9) "Informed Management" on NT 4 SP6.

The version of PSGML installed has me confused, the installer for XEmacs calls it version 1.31, but doing a
'describe-variable psgml-version' from within XEmacs after its loaded says 1.2.2

Anyway.

I'm not sure how / why but my install of PSGML is refusing to work well with any sort of markup document.

Right now, at this second, I'm trying to work with an HTML document, defined like this on the first line of the
file :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

I've also been trying to work with DocBook SGML and XML files, defined as (excuse the line breaks) :

<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN" >
and
<!DOCTYPE article PUBLIC "-//OASIS/DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">

respectively.

In *all* cases, when I try to parse the DTD so that I can use the features of PSGML for inserting elements etc. I
got one of the two following error messages (although the content of the file changes what it's
complaining about) :

Uppercase keyword expected (found DOCTYPE article PUBLIC "-//OASIS/DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">

(Continue reading)

Ville Skyttä | 4 Sep 19:25 2002
Picon

Re: Illegal markup declaration

On Wed, 2002-09-04 at 13:27, BryanChilds <at> hbosts.com wrote:

> The version of PSGML installed has me confused, the installer for
> XEmacs calls it version 1.31, but doing a 'describe-variable
> psgml-version' from within XEmacs after its loaded says 1.2.2

Version 1.31 is the XEmacs package version of psgml, which contains
psgml 1.2.2.  XEmacs package version numbers don't necessarily have
anything to do with the upstream versions.

[...]

> In *all* cases, when I try to parse the DTD so that I can use the
> features of PSGML for inserting elements etc. I got one of the two
> following error messages (although the content of the file changes
> what it's complaining about) :
> 
> Uppercase keyword expected (found DOCTYPE article PUBLIC "-//OASIS/DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
> 
> or
> 
> Illegal markup declaration DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">

We received a similar bug report in the xemacs-beta a couple of days
ago, and I'm planning to take a look at it soon, maybe tonight.  I'll
report here (possibly with a patch) if I find there's something wrong
with psgml.  If this is a known problem in psgml <= 1.2.2, I'd
appreciate a note about it.

I'm also planning to sync the XEmacs package with psgml 1.2.5.  Is
(Continue reading)

Ville Skyttä | 5 Sep 17:09 2002
Picon

Re: Illegal markup declaration

On Wed, 2002-09-04 at 20:25, Ville Skyttä wrote:

> We received a similar bug report in the xemacs-beta a couple of days
> ago, and I'm planning to take a look at it soon, maybe tonight.  I'll
> report here (possibly with a patch) if I find there's something wrong
> with psgml.  If this is a known problem in psgml <= 1.2.2, I'd
> appreciate a note about it.

Actually, it seems to me that this has nothing to do with psgml, but is
probably a XEmacs 21.4.9 (Windows [2]) bug.

Bryan, could you verify if you're running 21.4.9 (Windows [2]) or
(Windows [1])?  And this might be a bit offtopic on psgml-user, we'd
appreciate the bug details at <xemacs-beta <at> xemacs.org>.

Cheers,
--

-- 
\/ille Skyttä
ville.skytta at xemacs.org

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
BryanChilds | 5 Sep 17:49 2002

RE: Illegal markup declaration

I think you're right.

The version of XEmacs I'm on in :

"21.4 (patch 9) \"Informed Management (Windows [2])\" XEmacs Lucid"

Out of curiosity, I replicated the setup with NTEmacs, and it works fine there...

> -----Original Message-----
> From: Ville Skyttä [mailto:ville.skytta <at> xemacs.org]
> Sent: 05 September 2002 16:10
> To: Childs, Bryan (Treasury)
> Cc: psgml-user <at> lists.sourceforge.net
> Subject: Re: [Psgml-user] Illegal markup declaration
> 
> 
> On Wed, 2002-09-04 at 20:25, Ville Skyttä wrote:
> 
> > We received a similar bug report in the xemacs-beta a couple of days
> > ago, and I'm planning to take a look at it soon, maybe 
> tonight.  I'll
> > report here (possibly with a patch) if I find there's 
> something wrong
> > with psgml.  If this is a known problem in psgml <= 1.2.2, I'd
> > appreciate a note about it.
> 
> Actually, it seems to me that this has nothing to do with 
> psgml, but is
> probably a XEmacs 21.4.9 (Windows [2]) bug.
> 
(Continue reading)

Ville Skyttä | 5 Sep 21:37 2002
Picon

RE: Illegal markup declaration

On Thu, 2002-09-05 at 18:49, BryanChilds <at> hbosts.com wrote:

> I think you're right.
> 
> The version of XEmacs I'm on in :
> 
> "21.4 (patch 9) \"Informed Management (Windows [2])\" XEmacs Lucid"
> 
> Out of curiosity, I replicated the setup with NTEmacs, and it works fine there...

Thanks for the info, Bryan.  We have people already looking at this, and
I think we can expect a bugfixed Windows XEmacs release soon.

Cheers,
--

-- 
\/ille Skyttä
ville.skytta at xemacs.org

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
BryanChilds | 6 Sep 10:01 2002

RE: Illegal markup declaration

Thanks Ville,

I'll keep an eye on the xemacs mailing lists then!

Bry

> -----Original Message-----
> From: Ville Skyttä [mailto:ville.skytta <at> xemacs.org]
> Sent: 05 September 2002 20:38
> To: Childs, Bryan (Treasury)
> Cc: psgml-user <at> lists.sourceforge.net
> Subject: RE: [Psgml-user] Illegal markup declaration
> 
> 
> On Thu, 2002-09-05 at 18:49, BryanChilds <at> hbosts.com wrote:
> 
> > I think you're right.
> > 
> > The version of XEmacs I'm on in :
> > 
> > "21.4 (patch 9) \"Informed Management (Windows [2])\" XEmacs Lucid"
> > 
> > Out of curiosity, I replicated the setup with NTEmacs, and 
> it works fine there...
> 
> Thanks for the info, Bryan.  We have people already looking 
> at this, and
> I think we can expect a bugfixed Windows XEmacs release soon.
> 
> Cheers,
(Continue reading)

Fischer, Oliver | 10 Sep 16:22 2002
Picon

psgml and catalog files in XML format

Hello,

I installed a CATALOG file in XML format pointing to some DTD's. My 
xemacs knows the right location, since sgml-catalog-files has
the same value as the environment variable SGML_CATALOG_FILES.

Since I got always :

External entity book not found
   Public identifier -//OASIS//DTD DocBook XML V4.2//EN
   System identifier http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd

Is it possible that psgml can not deal with xml based catalog files?

Bye

Oliver

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
BryanChilds | 10 Sep 16:05 2002

PSGML / DocBook DTD

Hi,
 
Can anyone confirm whether or not PSGML's interpretation of what are valid tags at any given point in a DocBook document is correct or not ?
 
I'm having trouble...
 
I'm in the middle of writing a fairly simple document (so I'm using article as my base). In the middle of a table entry, I thought I could add a <simplelist> item. Certainly PSGML seems to think so, as it comes up in the list of valid tags...
 
However, onsgml doesn't seem to think simplelist *is* valid in that location, and when I get to the end of the simplelist, and attempt to carry on with the table, by inserting another <row> element, PSGML seems to have got well and truly confused, and doesn't believe <row> is a valid tag to have in the middle of my <tgroup>...
 
I'm on PSGML 1.2.2, on XEmacs 21.4.9 (Windows [3]), running on cygwin...
 
Thanks in advance to anyone who can shed any light...
 
Bryan Childs
Treasury Technology
Tel : 0207 574 8754 (ext 48754)

HBOS Treasury Services plc
33 Old Broad Street
London
EC2N 1HZ
 

------------------------------------------------------------------------------
For more information on HBOS Treasury Services, please visit http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes Halifax plc and Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 2692890. Registered in England.
Regulated by the Financial Services Authority.

The information contained in this message is confidential and is intended for the addressee only. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. This mail and any attachments have been scanned for viruses prior to leaving the HBOS Treasury Services plc network. HBOS Treasury Services plc will not be liable for direct, special, indirect or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record e-mail messages sent to and from this address for the purposes of investigating or detecting any unauthorised use of its system and ensuring its effective operation.

==============================================================================

Dave Pawson | 10 Sep 21:59 2002
Picon
Picon

Re: psgml and catalog files in XML format

At 15:22 10/09/2002, Fischer, Oliver wrote:
>Hello,
>
>I installed a CATALOG file in XML format pointing to some DTD's. My xemacs knows the right location, since
sgml-catalog-files has
>the same value as the environment variable SGML_CATALOG_FILES.

No, sorry. psgml doesn't hack xml catalog files.... yet :-)

As of today I'm starting to validate docbook stuff using 
Daniel Vaillard's catalog aware parser.
Needs one environmental variable (win32) or catalog in the right
position (Linux).
I now use emacs for editing, then check with xmllint from libxml.

Its fast, and failed only two of the oasis conformance tests.

Good enough for me at least.

I do wish someone would produce an editor to better emacs+psgml...
 but they haven't yet :-)

regards DaveP

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Ron Ross | 10 Sep 23:57 2002
Picon

Re: psgml and catalog files in XML format

Dave Pawson <dpawson <at> nildram.co.uk> writes:

> At 15:22 10/09/2002, Fischer, Oliver wrote:
>>Hello,
>>
>>I installed a CATALOG file in XML format pointing to some DTD's. My xemacs knows the right location, since
sgml-catalog-files has
>>the same value as the environment variable SGML_CATALOG_FILES.
>
> No, sorry. psgml doesn't hack xml catalog files.... yet :-)
>

I admit I don't use XML much except for my own DTDs with local system
identifiers, but testing now with

  <?xml version='1.0'?>
  <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
  ]>

where my catalog file has

PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "./dtd/docbookx/docbookx.dtd"
SYSTEM "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" "./dtd/docbookx/docbookx.dtd"

pointing to my local copy of the DTD, Emacs/psgml seems to work fine.

Emacs 21.2.90
Psgml 1.3.0 beta

Is an "xml catalog file" something different? I thought there wasn't any such thing.

> As of today I'm starting to validate docbook stuff using 
> Daniel Vaillard's catalog aware parser.
> Needs one environmental variable (win32) or catalog in the right
> position (Linux).
> I now use emacs for editing, then check with xmllint from libxml.
>
> Its fast, and failed only two of the oasis conformance tests.
>
> Good enough for me at least.
>
> I do wish someone would produce an editor to better emacs+psgml...
>  but they haven't yet :-)
>
> regards DaveP
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Psgml-user mailing list
> Psgml-user <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/psgml-user
>

--

-- 
Traductions Ron Ross Translations
ronross <at> colba.net
Tél. : (514) 282-9547
Fax :  (514) 284-0875

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

Gmane