ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@turbinal.org>
To: sisyphus@altlinux.ru
Subject: [sisyphus] Re: sablotron sabcmd
Date: Wed, 12 Feb 2003 21:01:23 +0300
Message-ID: <20030212180123.GA20845@solemn.turbinal.org> (raw)
In-Reply-To: <20030212164556.GA6020@solemn.turbinal.org>


[-- Attachment #1.1: Type: text/plain, Size: 608 bytes --]

On Wed, Feb 12, 2003 at 07:45:56PM +0300, Alexey Tourbin wrote:
> Кажется, expat сломан.  Боюсь, что это из-за компилятора.
> Сейчас буду проверять.

Нет, от компилятора это не зависит.  Testcase приаттачен.
Всё оказалось несколько сложнее.  Проблема проявляется только при
использовании external entities.  Подписан ли кто-нибудь из mainainer'ов
sablotron'а или expat'а на какую-инбудь рассылку, в которую можно
послать bugreport?

$ sabcmd xsl.xsl xml.xml
Error [code:2] [URI:file:/home/at/tmp/expat/xsl.xsl] [line:1]
  XML parser error 18: unknown encoding
$


-- 
WBR, Alexey Tourbin
BIOZAK Ltd., Russia

[-- Attachment #1.2: xml.xml --]
[-- Type: text/xml, Size: 127 bytes --]

<?xml version="1.0" encoding="windows-1251"?>
<!DOCTYPE somedoc [
<!ENTITY someent SYSTEM "xsl.xsl">
]>
<page>&someent;</page>

[-- Attachment #1.3: xsl.xsl --]
[-- Type: text/xml, Size: 323 bytes --]

<?xml version="1.0" encoding="windows-1251"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" version="3.2" encoding="windows-1251" indent="no" doctype-public="-//W3C//DTD HTML 4.0 Translational//EN"/>
<xsl:template match="/page">
</xsl:template>
</xsl:stylesheet>

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2003-02-12 18:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-03  1:45 [sisyphus] " Alexey Tourbin
2003-02-03  8:04 ` Alexey V. Lubimov
2003-02-03  9:14   ` Anton V. Boyarshinov
2003-02-03 11:24   ` [sisyphus] " Vitaly Ostanin
2003-02-03 12:18     ` Alexey Tourbin
2003-02-12 16:45       ` Alexey Tourbin
2003-02-12 17:33         ` Michael Shigorin
2003-02-12 18:01         ` Alexey Tourbin [this message]
2003-02-03 19:00     ` Andrew Vorobey
2003-02-03 22:15       ` Vitaly Ostanin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030212180123.GA20845@solemn.turbinal.org \
    --to=at@turbinal.org \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git