[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Turning escaped mixed content back to XML

Subject: Re: Re: Turning escaped mixed content back to XML
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 28 Mar 2014 21:18:37 +0000
Re:  Re: Turning escaped mixed content back to XML
On 28/03/2014 21:06, Martin Holmes wrote:
I spoke too soon. Passing this:

contains a single TEI-conformant document, comprising a TEI header and a
text, either in isolation or as part of a &lt;gi&gt;teiCorpus&lt;/gi&gt;
element.

into parse-xml-fragment() gets this fatal error:

FODC0006: First argument to parse-xml-fragment() is not a well-formed
and namespace-well-formed XML fragment. XML parser reported: I/O error
reported by XML parser processing
file:/home/mholmes/Documents/tei/council/translation/new_translations_into_specs.xsl:
404 Not Found for: http://www.saxonica.com/parse-xml-fragment/actual.xml

This is with Saxon 9.1.5.3 PE.

I must be missing something here. The default namespace is tei, the
xpath-default-namespace is tei, and all the other namespaces have
defined prefixes (tei has tei: too).

Cheers,
Martin

Don't you need to concatenate a start and end tag to the string?

You would get that error from an XML parser if you gave it a file with


contains a single TEI-conformant document, comprising a TEI header and a text, either in isolation or as part of a <gi>teiCorpus</gi>
element.



David


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.