Re: XInclude XPointers

Michael Kay <[email protected]> Wed, 3 Nov 2021 15:57:42 +0000
Newsgroups gmane.text.xml.saxon.help
Message-ID <[email protected]>
--===============7649068632835621926==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_E5B0930D-479C-43B5-8367-4DC11C0EB1BC"


--Apple-Mail=_E5B0930D-479C-43B5-8367-4DC11C0EB1BC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Saxon doesn't do anything with XInclude other than pass the request on =
to the XML parser. I'm afraid I don't know any details about exactly =
what the JDK parser supports. Is XInclude being recognised at all, or is =
it specifically the use of @xpointer?

Michael Kay
Saxonica

> On 3 Nov 2021, at 11:20, Bauman, Syd <s.bauman-4Y/TWYOca5dXfO9P/[email protected]> =
wrote:
>=20
> Does Saxon-HE 10.3J support the @xpointer=E2=80=8B attribute of =
<xi:include>?
>=20
> I am having trouble making it work either via the commandline (using =
-xi=E2=80=8B switch) or via ant (using
>       <xslt force=3D"yes" style=3D"@{xslt}" in=3D"@{in}" out=3D"@{out}">=

>         <factory name=3D"net.sf.saxon.TransformerFactoryImpl">
>           <attribute name=3D"http://saxon.sf.net/feature/xinclude-aware =
<http://saxon.sf.net/feature/xinclude-aware>" value=3D"true"/>
>         </factory>
>       </xslt>
> ), whether the value of @xpointer=E2=80=8B is a shorthand pointer or =
uses the element() scheme.
>=20
> (I will be happy to post more details of the problem if that would be =
helpful; but if the answer is just =E2=80=9Cno=E2=80=9D, then those =
details are probably moot. :-)
>=20
>=20
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/ =
<http://saxon.markmail.org/>
> [email protected] =
<mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/saxon-help =
<https://lists.sourceforge.net/lists/listinfo/saxon-help>

--Apple-Mail=_E5B0930D-479C-43B5-8367-4DC11C0EB1BC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">Saxon=
 doesn't do anything with XInclude other than pass the request on to the =
XML parser. I'm afraid I don't know any details about exactly what the =
JDK parser supports. Is XInclude being recognised at all, or is it =
specifically the use of @xpointer?<div class=3D""><br =
class=3D""></div><div class=3D"">Michael Kay</div><div =
class=3D"">Saxonica<br class=3D""><div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D"">On 3 Nov 2021, at 11:20, =
Bauman, Syd &lt;<a href=3D"mailto:s.bauman-4Y/TWYOca5dXfO9P/[email protected]" =
class=3D"">s.bauman-4Y/TWYOca5dXfO9P/[email protected]</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><meta =
charset=3D"UTF-8" class=3D""><div style=3D"font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; font-family: Calibri, Arial, Helvetica, =
sans-serif; font-size: 12pt;" class=3D"">Does Saxon-HE 10.3J support =
the<span class=3D"Apple-converted-space">&nbsp;</span><code =
class=3D"">@xpointer</code>=E2=80=8B attribute of<span =
class=3D"Apple-converted-space">&nbsp;</span><code =
class=3D"">&lt;xi:include&gt;</code>?</div><div style=3D"font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; font-family: Calibri, Arial, Helvetica, =
sans-serif; font-size: 12pt;" class=3D""><br class=3D""></div><div =
style=3D"font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; font-family: =
Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class=3D"">I am =
having trouble making it work either via the commandline (using<span =
class=3D"Apple-converted-space">&nbsp;</span><code =
class=3D"">-xi</code>=E2=80=8B switch) or via ant (using</div><div =
style=3D"font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; font-family: =
Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class=3D""><span =
style=3D"font-family: &quot;Courier New&quot;, monospace; font-size: =
9pt;" class=3D"">&nbsp; &nbsp; &nbsp; &lt;xslt force=3D"yes" =
style=3D"@{xslt}" in=3D"@{in}" out=3D"@{out}"&gt;</span><div =
class=3D""><span style=3D"font-family: &quot;Courier New&quot;, =
monospace; font-size: 9pt;" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; =
&lt;factory =
name=3D"net.sf.saxon.TransformerFactoryImpl"&gt;</span></div><div =
class=3D""><span style=3D"font-family: &quot;Courier New&quot;, =
monospace; font-size: 9pt;" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &lt;attribute name=3D"<a =
href=3D"http://saxon.sf.net/feature/xinclude-aware" =
class=3D"">http://saxon.sf.net/feature/xinclude-aware</a>" =
value=3D"true"/&gt;</span></div><div class=3D""><span =
style=3D"font-family: &quot;Courier New&quot;, monospace; font-size: =
9pt;" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; =
&lt;/factory&gt;</span></div><span style=3D"font-family: &quot;Courier =
New&quot;, monospace; font-size: 9pt;" class=3D"">&nbsp; &nbsp; &nbsp; =
&lt;/xslt&gt;</span><br class=3D""></div><div style=3D"font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; font-family: Calibri, Arial, Helvetica, =
sans-serif; font-size: 12pt;" class=3D"">), whether the value of<span =
class=3D"Apple-converted-space">&nbsp;</span><code =
class=3D"">@xpointer</code>=E2=80=8B is a shorthand pointer or uses the =
element() scheme.</div><div style=3D"font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; font-family: Calibri, Arial, Helvetica, =
sans-serif; font-size: 12pt;" class=3D""><br class=3D""></div><div =
style=3D"font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; font-family: =
Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class=3D"">(I =
will be happy to post more details of the problem if that would be =
helpful; but if the answer is just =E2=80=9Cno=E2=80=9D, then those =
details are probably moot. :-)</div><div style=3D"font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; font-family: Calibri, Arial, Helvetica, =
sans-serif; font-size: 12pt;" class=3D""><br class=3D""></div><div =
style=3D"font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; font-family: =
Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class=3D""><br =
class=3D""></div><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 13px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" =
class=3D"">_______________________________________________</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
13px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
13px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">saxon-help mailing list archived =
at<span class=3D"Apple-converted-space">&nbsp;</span></span><a =
href=3D"http://saxon.markmail.org/" style=3D"font-family: Helvetica; =
font-size: 13px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" =
class=3D"">http://saxon.markmail.org/</a><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><a =
href=3D"mailto:[email protected]" style=3D"font-family: =
Helvetica; font-size: 13px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" =
class=3D"">[email protected]</a><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><a =
href=3D"https://lists.sourceforge.net/lists/listinfo/saxon-help" =
style=3D"font-family: Helvetica; font-size: 13px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" =
class=3D"">https://lists.sourceforge.net/lists/listinfo/saxon-help</a><spa=
n style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
13px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" =
class=3D""></span></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_E5B0930D-479C-43B5-8367-4DC11C0EB1BC--


--===============7649068632835621926==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============7649068632835621926==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
--===============7649068632835621926==--