From owner-freebsd-doc@freebsd.org Mon Jul 18 00:32:08 2016 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3396B9CADC for ; Mon, 18 Jul 2016 00:32:08 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A36EA1B46 for ; Mon, 18 Jul 2016 00:32:08 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: by freefall.freebsd.org (Postfix) id A1DE71BE8; Mon, 18 Jul 2016 00:32:08 +0000 (UTC) Delivered-To: freebsd-docs@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by freefall.freebsd.org (Postfix) with ESMTP id 874821BE7 for ; Mon, 18 Jul 2016 00:32:08 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 58C1F1B45 for ; Mon, 18 Jul 2016 00:32:08 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: by mail-io0-x22e.google.com with SMTP id b62so147188365iod.3 for ; Sun, 17 Jul 2016 17:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:subject:date:message-id:user-agent:mime-version; bh=rpCxurEzlkFaFmDbjpmqnzf8VU4TWGE+yg7GT3sWunU=; b=DT+HLmKWWJRnAZHTaKX029c5k5YJGrKAe2BH7iICZ3J2009/cPBaRDVFq4cx/BV/7L +v9o2hHcwGChXhfPS9HD1RraPQDnoYB4Sdg/hQBHXeGKd7rSluIChkuaycxH8HWBLL/U 3y5zgdD95ZY4BV+Fh8BN8ts2//bY/ekbG4XQE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=rpCxurEzlkFaFmDbjpmqnzf8VU4TWGE+yg7GT3sWunU=; b=J8NAfiJw7Br5kXBzZbmT6nRjxp9yA37CN+vAZQQP4e0WSROCA0SSK6pIcOyMqFwRK1 1w3LHuNzMfqQK2ORKkWSVowHahDMEdcWaNxdo26Xx/izSlrOiMD7SITuIAPg//SxvFHq yEsSH48xPc7psfCwH2dJfDkuBFY+jjlIHQF5Nxtbn6iq71iYHeoX1zE4/xFnfUrhyfre MbERTjYZOdtvfJXNffaJVPfuTv81MrdgFdghwHFTE5ZudO/3++E1NejVMbxvRR4KEAm7 20tcbLOaZhIIwIzoMW9JogIIAqS9U7Ek+2vAuR4qIVQp7iODFu63zsOSxdeeT7C/5gbN dMBA== X-Gm-Message-State: ALyK8tLpd+x49b78uI6hKAyj44GGcPnQ41nfDYZDllnhBzU8yKPBieKpRcpZE+gvdW7MOQ== X-Received: by 10.107.58.65 with SMTP id h62mr34540833ioa.172.1468801927432; Sun, 17 Jul 2016 17:32:07 -0700 (PDT) Received: from phe.ftfl.ca.ftfl.ca (hlfxns017vw-142068084231.dhcp-dynamic.FibreOp.ns.bellaliant.net. [142.68.84.231]) by smtp.gmail.com with ESMTPSA id l195sm3685423itl.17.2016.07.17.17.32.06 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Jul 2016 17:32:06 -0700 (PDT) From: Joseph Mingrone To: freebsd-docs@freebsd.org Subject: validating individual files in a document Date: Sun, 17 Jul 2016 21:32:04 -0300 Message-ID: <86h9bnss57.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2016 00:32:08 -0000 --=-=-= Content-Type: text/plain Hi, I'm working on getting up on-file-fly validation working when editing FDP 'V5.0-Based DocBook Extension' content. Everything is working well using the compact relax NG schema in the tree, doc/head/share/xml/freebsd50.rnc, except for one issue that I am stumped on. If I am working on a file (e.g., doc/head/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml) that is included in a main document (for this example, docs.svn/head/en_US.ISO8859-1/books/fdp-primer/book.xml) and that file uses shared entites defined elsewhere (like &prompt.user defined in doc/share/xml/freebsd.ent), the document will not validate, because the validator is not aware of those shared entities. I can add an internal DTD subset to chapter.xml that references those entities and chapter.xml will validate, but I do not believe this is correct since the book isn't using XInclude. Doing so means running make in the root directory of the book will fail. Suggestions? Thanks, Joseph --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJXjCOEAAoJEDakDIOw1u+eqSIP/1Nb2DnEjwPyJ0GRZ74r5Pgt tQvN0BLwmvpLwCJ3YwWo27fEY4gIoQrQUsug67NRrmAqUg1rwCKe7DBDlwIEmmZU lXqa6FpYGiLVzSxwkX9KiALqdXuN3kzqo3gvOq/Z7PtLfn3HExyjWDldKQY6WiX3 I2zDf9UvqTF+NZT3v+nVwfi7nALP0N2HaVnDqlMRym2mLYacWa3t7mi3aBkk8cPd ONzu8Pcr9/D8Vl6DYuc53fio8TMkW9eZNilxaUuENyGfV/cKRJ+ACr9DkChpnf8B z4wLSQpJRQ32zOGSsA2ODCz7t7zLl89s8chMeZV1JkRVj9eMUtPVGGg14zyXFrrp Dd99v16ObONJA6N29uDVoBJdD0JMrEvX+pd946EDIAafFhcWVCLvnEgM3vFhIJiD bVNKXScpd0aWMeKNXgWSphj/D9B2vt9F3H5oVsNAXeam6oy5j1gz5iOQfQWHW9b1 qM2Xc2tWZthH+rqcXGElU0j6lBfz8dWYQs8jeNVkuSWxDYpLWqQIeh1r3jEpuMci aLhcs0Ejer7PfbiBLYz0l2PDxVHBl9lBFoFl5u0oN0dKZd2u3cp0MI9g2e3OBN9F H/Z4rC5UCyQh6nxPu5bG6kimALAV1Sg58o3/CMXCoT/ITBsnxmb5KCnhAWnhwz2l DVJKfRjQpMaD4KR0zYek =naYH -----END PGP SIGNATURE----- --=-=-=--