|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: document() function and error-handling
I'm really not trying to beat a nearly-dead horse here (I swear!), but the XML spec says in '2.6: [17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l')) If I'm reading it correctly, this only reserves "xml", and variations in letter cases, for internal use. Whether or not it's bad form to create PIs of the form <?xml-whatever?> is a separate issue, but the spec doesn't forbid it. Like I said before, bad form is bad form and I'll alter it in the end, I just haven't thought of a better name for it yet. :( And again, thanks for the responses, they've been really helpful. ~ Scott -----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: Friday, January 04, 2008 5:13 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: document() function and error-handling > Wouldn't > "xml-" be the most appropriate prefix here? No, such names are reserved for other use. You can call it result-xml or _xml_result or pretty much anything you like. Why trample on the reserved names? even w3c specs avoid doing this, consider xslt for example an early draft had an attribute xml-declaration on xsl:output, but they thought better of it and changed to omit-xml-declaration http://www.w3.org/1999/08/WD-xslt-19990813#section-XML-Output-Method David
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Cast Your Vote
We need your help – Vote for DataDirect XML Products!
Winners and finalists announced at SOA World Conference in November. Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|







