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

Re: NCName, QName and colons

Subject: Re: NCName, QName and colons
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 22 Feb 2010 22:47:00 +0000
Re:  NCName
On 22/02/2010 22:37, Justin Johansson wrote:
Accordingly it appears perfectly valid for an XSLT 2 processor to
both process as a source and serialize out the same by way of an
identity transform the following document

No, I don't think so, the part you quoted says


The XDM data model defined in [Data Model] is capable of representing either
an XML 1.0 document (conforming to [XML 1.0] and [Namespaces in XML 1.0])
or an XML 1.1 document (conforming to [XML 1.1] and [Namespaces in XML 1.1]),



the xdm data model can only model documents that conform to xml 1.0+namespaces 1.0 or xml 1.1+namespaces 1.1.


Of course the actual external document might be anything 9a comma separated text file, or <:/> or html or anything else but the tree reported by the parser used needs to be representable in XDM, wgich means that element node names have to match the Name production as defined in the relevant namespaces spec.

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.