Search the archive

Tip: search operators
from:NAME · list:NAME (alias tc:) · subject:"PHRASE" · year:YYYY · -term (exclude) · "exact phrase" · namesp* (prefix)
Refine
Technical committees
From (authors)
Date ranges
2,350 results · showing 1–200
group: msgs threads date: full day month density: comfy compact dense
Download CSV
Timeline · November 2004 – July 2024 · 2,350 hits in 190 months · click a bar · drag to select a range · shift+scroll to zoom
November 2004: 6 total · 6 hits December 2004: 59 total · 59 hits January 2005: 24 total · 24 hits February 2005: 42 total · 42 hits March 2005: 35 total · 35 hits April 2005: 57 total · 57 hits May 2005: 37 total · 37 hits June 2005: 21 total · 21 hits July 2005: 18 total · 18 hits August 2005: 49 total · 49 hits September 2005: 21 total · 21 hits October 2005: 31 total · 31 hits November 2005: 31 total · 31 hits December 2005: 37 total · 37 hits January 2006: 20 total · 20 hits February 2006: 11 total · 11 hits March 2006: 31 total · 31 hits April 2006: 20 total · 20 hits May 2006: 22 total · 22 hits June 2006: 14 total · 14 hits July 2006: 30 total · 30 hits August 2006: 15 total · 15 hits September 2006: 31 total · 31 hits October 2006: 11 total · 11 hits November 2006: 10 total · 10 hits December 2006: 27 total · 27 hits January 2007: 29 total · 29 hits February 2007: 18 total · 18 hits March 2007: 21 total · 21 hits April 2007: 7 total · 7 hits May 2007: 6 total · 6 hits June 2007: 7 total · 7 hits July 2007: 6 total · 6 hits August 2007: 19 total · 19 hits September 2007: 26 total · 26 hits October 2007: 33 total · 33 hits November 2007: 22 total · 22 hits December 2007: 13 total · 13 hits January 2008: 21 total · 21 hits February 2008: 67 total · 67 hits March 2008: 11 total · 11 hits April 2008: 18 total · 18 hits May 2008: 12 total · 12 hits June 2008: 7 total · 7 hits July 2008: 13 total · 13 hits August 2008: 12 total · 12 hits September 2008: 27 total · 27 hits October 2008: 14 total · 14 hits November 2008: 20 total · 20 hits December 2008: 19 total · 19 hits January 2009: 18 total · 18 hits February 2009: 30 total · 30 hits March 2009: 16 total · 16 hits April 2009: 10 total · 10 hits May 2009: 13 total · 13 hits June 2009: 35 total · 35 hits July 2009: 16 total · 16 hits August 2009: 49 total · 49 hits September 2009: 16 total · 16 hits October 2009: 7 total · 7 hits November 2009: 19 total · 19 hits December 2009: 2 total · 2 hits January 2010: 9 total · 9 hits February 2010: 6 total · 6 hits March 2010: 14 total · 14 hits April 2010: 15 total · 15 hits May 2010: 11 total · 11 hits June 2010: 2 total · 2 hits July 2010: 11 total · 11 hits August 2010: 12 total · 12 hits September 2010: 18 total · 18 hits October 2010: 8 total · 8 hits November 2010: 17 total · 17 hits December 2010: 53 total · 53 hits January 2011: 17 total · 17 hits February 2011: 15 total · 15 hits March 2011: 10 total · 10 hits April 2011: 7 total · 7 hits May 2011: 10 total · 10 hits June 2011: 4 total · 4 hits July 2011: 6 total · 6 hits August 2011: 4 total · 4 hits September 2011: 6 total · 6 hits October 2011: 10 total · 10 hits November 2011: 5 total · 5 hits December 2011: 9 total · 9 hits January 2012: 6 total · 6 hits February 2012: 23 total · 23 hits March 2012: 5 total · 5 hits April 2012: 8 total · 8 hits May 2012: 1 total · 1 hits June 2012: 10 total · 10 hits July 2012: 20 total · 20 hits August 2012: 17 total · 17 hits September 2012: 12 total · 12 hits October 2012: 6 total · 6 hits November 2012: 3 total · 3 hits December 2012: 4 total · 4 hits January 2013: 10 total · 10 hits February 2013: 5 total · 5 hits March 2013: 9 total · 9 hits April 2013: 8 total · 8 hits May 2013: 1 total · 1 hits June 2013: 2 total · 2 hits July 2013: 2 total · 2 hits August 2013: 15 total · 15 hits September 2013: 6 total · 6 hits October 2013: 18 total · 18 hits November 2013: 43 total · 43 hits December 2013: 8 total · 8 hits January 2014: 2 total · 2 hits February 2014: 18 total · 18 hits March 2014: 9 total · 9 hits April 2014: 11 total · 11 hits May 2014: 2 total · 2 hits July 2014: 5 total · 5 hits August 2014: 4 total · 4 hits September 2014: 3 total · 3 hits October 2014: 3 total · 3 hits December 2014: 3 total · 3 hits January 2015: 2 total · 2 hits February 2015: 1 total · 1 hits March 2015: 4 total · 4 hits April 2015: 2 total · 2 hits May 2015: 11 total · 11 hits June 2015: 9 total · 9 hits August 2015: 1 total · 1 hits September 2015: 3 total · 3 hits October 2015: 7 total · 7 hits November 2015: 1 total · 1 hits December 2015: 2 total · 2 hits February 2016: 2 total · 2 hits April 2016: 16 total · 16 hits May 2016: 4 total · 4 hits June 2016: 1 total · 1 hits July 2016: 3 total · 3 hits August 2016: 4 total · 4 hits September 2016: 8 total · 8 hits October 2016: 9 total · 9 hits November 2016: 5 total · 5 hits December 2016: 3 total · 3 hits January 2017: 3 total · 3 hits February 2017: 9 total · 9 hits March 2017: 5 total · 5 hits April 2017: 4 total · 4 hits May 2017: 7 total · 7 hits June 2017: 4 total · 4 hits August 2017: 9 total · 9 hits September 2017: 8 total · 8 hits October 2017: 4 total · 4 hits November 2017: 9 total · 9 hits December 2017: 4 total · 4 hits January 2018: 10 total · 10 hits February 2018: 3 total · 3 hits March 2018: 5 total · 5 hits April 2018: 2 total · 2 hits May 2018: 2 total · 2 hits June 2018: 4 total · 4 hits July 2018: 4 total · 4 hits August 2018: 3 total · 3 hits September 2018: 4 total · 4 hits August 2019: 1 total · 1 hits November 2019: 2 total · 2 hits June 2020: 1 total · 1 hits November 2020: 2 total · 2 hits August 2021: 3 total · 3 hits September 2021: 2 total · 2 hits November 2021: 7 total · 7 hits December 2021: 9 total · 9 hits January 2022: 37 total · 37 hits February 2022: 14 total · 14 hits March 2022: 14 total · 14 hits April 2022: 2 total · 2 hits May 2022: 9 total · 9 hits June 2022: 9 total · 9 hits July 2022: 11 total · 11 hits August 2022: 12 total · 12 hits September 2022: 5 total · 5 hits November 2022: 3 total · 3 hits December 2022: 3 total · 3 hits January 2023: 2 total · 2 hits February 2023: 4 total · 4 hits April 2023: 5 total · 5 hits May 2023: 6 total · 6 hits June 2023: 6 total · 6 hits July 2023: 2 total · 2 hits August 2023: 2 total · 2 hits December 2023: 1 total · 1 hits June 2024: 2 total · 2 hits July 2024: 3 total · 3 hits November 2004: 6 hits December 2004: 59 hits January 2005: 24 hits February 2005: 42 hits March 2005: 35 hits April 2005: 57 hits May 2005: 37 hits June 2005: 21 hits July 2005: 18 hits August 2005: 49 hits September 2005: 21 hits October 2005: 31 hits November 2005: 31 hits December 2005: 37 hits January 2006: 20 hits February 2006: 11 hits March 2006: 31 hits April 2006: 20 hits May 2006: 22 hits June 2006: 14 hits July 2006: 30 hits August 2006: 15 hits September 2006: 31 hits October 2006: 11 hits November 2006: 10 hits December 2006: 27 hits January 2007: 29 hits February 2007: 18 hits March 2007: 21 hits April 2007: 7 hits May 2007: 6 hits June 2007: 7 hits July 2007: 6 hits August 2007: 19 hits September 2007: 26 hits October 2007: 33 hits November 2007: 22 hits December 2007: 13 hits January 2008: 21 hits February 2008: 67 hits March 2008: 11 hits April 2008: 18 hits May 2008: 12 hits June 2008: 7 hits July 2008: 13 hits August 2008: 12 hits September 2008: 27 hits October 2008: 14 hits November 2008: 20 hits December 2008: 19 hits January 2009: 18 hits February 2009: 30 hits March 2009: 16 hits April 2009: 10 hits May 2009: 13 hits June 2009: 35 hits July 2009: 16 hits August 2009: 49 hits September 2009: 16 hits October 2009: 7 hits November 2009: 19 hits December 2009: 2 hits January 2010: 9 hits February 2010: 6 hits March 2010: 14 hits April 2010: 15 hits May 2010: 11 hits June 2010: 2 hits July 2010: 11 hits August 2010: 12 hits September 2010: 18 hits October 2010: 8 hits November 2010: 17 hits December 2010: 53 hits January 2011: 17 hits February 2011: 15 hits March 2011: 10 hits April 2011: 7 hits May 2011: 10 hits June 2011: 4 hits July 2011: 6 hits August 2011: 4 hits September 2011: 6 hits October 2011: 10 hits November 2011: 5 hits December 2011: 9 hits January 2012: 6 hits February 2012: 23 hits March 2012: 5 hits April 2012: 8 hits May 2012: 1 hits June 2012: 10 hits July 2012: 20 hits August 2012: 17 hits September 2012: 12 hits October 2012: 6 hits November 2012: 3 hits December 2012: 4 hits January 2013: 10 hits February 2013: 5 hits March 2013: 9 hits April 2013: 8 hits May 2013: 1 hits June 2013: 2 hits July 2013: 2 hits August 2013: 15 hits September 2013: 6 hits October 2013: 18 hits November 2013: 43 hits December 2013: 8 hits January 2014: 2 hits February 2014: 18 hits March 2014: 9 hits April 2014: 11 hits May 2014: 2 hits July 2014: 5 hits August 2014: 4 hits September 2014: 3 hits October 2014: 3 hits December 2014: 3 hits January 2015: 2 hits February 2015: 1 hits March 2015: 4 hits April 2015: 2 hits May 2015: 11 hits June 2015: 9 hits August 2015: 1 hits September 2015: 3 hits October 2015: 7 hits November 2015: 1 hits December 2015: 2 hits February 2016: 2 hits April 2016: 16 hits May 2016: 4 hits June 2016: 1 hits July 2016: 3 hits August 2016: 4 hits September 2016: 8 hits October 2016: 9 hits November 2016: 5 hits December 2016: 3 hits January 2017: 3 hits February 2017: 9 hits March 2017: 5 hits April 2017: 4 hits May 2017: 7 hits June 2017: 4 hits August 2017: 9 hits September 2017: 8 hits October 2017: 4 hits November 2017: 9 hits December 2017: 4 hits January 2018: 10 hits February 2018: 3 hits March 2018: 5 hits April 2018: 2 hits May 2018: 2 hits June 2018: 4 hits July 2018: 4 hits August 2018: 3 hits September 2018: 4 hits August 2019: 1 hits November 2019: 2 hits June 2020: 1 hits November 2020: 2 hits August 2021: 3 hits September 2021: 2 hits November 2021: 7 hits December 2021: 9 hits January 2022: 37 hits February 2022: 14 hits March 2022: 14 hits April 2022: 2 hits May 2022: 9 hits June 2022: 9 hits July 2022: 11 hits August 2022: 12 hits September 2022: 5 hits November 2022: 3 hits December 2022: 3 hits January 2023: 2 hits February 2023: 4 hits April 2023: 5 hits May 2023: 6 hits June 2023: 6 hits July 2023: 2 hits August 2023: 2 hits December 2023: 1 hits June 2024: 2 hits July 2024: 3 hits
2004 2006 2008 2010 2012 2014 2016 2018 2020 2022 2024
All messages Query hits
Date Subject From Committee Snippet
Jan 2006 Fw: Sexy [thread] [month] mike (200) xml-dev
Jan 2006 Word file [thread] [month] mike (200) xml-dev hello, i send the file. bye
Jan 2006 Hello [thread] [month] mike (200) xml-dev i attached the details. Thank you
Jan 2006 Fw: [thread] [month] mike (200) xml-dev
Jan 2006 Fw: Sexy [thread] [month] mike (200) xml-dev
10 Nov 2004 RE: [xml-dev] Hello XQuery ... Goodbye XSLT? [thread] [month] Michael Kay (200) xml-dev Recursion is a technique that takes time to learn: no doubt about it. Same is true of set-at-a-time processing in SQL. Probably, the longer you've been programming without it, the harder it is to change your ways. But I'm not sure how it's relevant to a discussion of the relativ
12 Nov 2004 RE: [xml-dev] Excellent Insight on Standards Development vs Invention [thread] [month] Michael Kay (200) xml-dev >RSS is the most successful application of XML to date I am staggered that anyone could think this! Michael Kay
12 Nov 2004 RE: [xml-dev] Excellent Insight on Standards Development vs Invention [thread] [month] Michael Kay (200) xml-dev > > > > >RSS is the most successful application of XML to date > > > > I am staggered that anyone could think this! > > Please provide counter examples. Heck, provide one. I think I first need to know your measure of "success". Michael Kay
12 Nov 2004 RE: [xml-dev] Excellent Insight on Standards Development vs Invention [thread] [month] Michael Kay (200) xml-dev > > XSLT. Just a guess though. I suspect that the usage of XSLT is still > just a smidge wider than RSS-- Oddly, of the hundreds of XSLT stylesheets I see in an average week, a miniscule proportion have anything to do with RSS. Perhaps that explains my astonishment. Michael
18 Nov 2004 RE: [xml-dev] Validness, doctype, and Schema Instance [thread] [month] Michael Kay (200) xml-dev > > This is perfectly legal-- however there are a lot of situations where > the validity of a document is assumed by a business process. > For example > you and a trading partner are passing documents back and forth-- that > trading partner assumes your document is construct
24 Nov 2004 RE: [xml-dev] Re: Hostility to "binary XML" [thread] [month] Michael Kay (200) xml-dev > I think that if you really wanted to, you could get 99% of this speed > up anyway. Don't check the characters, check the name against the > DTD, and then only if it isn't declared check the characters and > then fake a declaration so it will be quick next time. You don't even
2 Dec 2004 RE: [xml-dev] XML-aware programming language? [thread] [month] Michael Kay (200) xml-dev > From: Dare Obasanjo [mailto:[email protected]] > > Exactly, that's why as a programmer I'd rather stick with the > language I'm doing most of the application development with > anyway (i.e. C#, Javascript, etc) as opposed to dealing with > the [familiar] complexity of th
2 Dec 2004 RE: [xml-dev] XML-aware programming language? [thread] [month] Michael Kay (200) xml-dev > > Developers who prefer XSLT to > C#/Java/Perl/PHP/Python/Javascript are in the minority and at > best are a niche market. Developers are a niche market. It all depends on your perspectives. Michael Kay
2 Dec 2004 RE: [xml-dev] XML-aware programming language? [thread] [month] Michael Kay (200) xml-dev > It seems odd to me that I've never seen an article comparing > actual XSLT and > XQuery code for say moderately complex operations. Apart from my Knight's Tour, which Jonathan cited (and which is a very untypical application), I thought I'd try a very simple transformation th
2 Dec 2004 RE: [xml-dev] XML-aware programming language? [thread] [month] Michael Kay (200) xml-dev > Of course, I wouldn't expect people who've only considered the XQuery > data model for read only operations such as members of the > working group > like yourself and Dana to have come across these issues. Dare, that is quite unnecessarily insulting. If you said this of me,
3 Dec 2004 RE: [xml-dev] XML-aware programming language? [thread] [month] Michael Kay (200) xml-dev > That is just bizzarre to me. (I hope you're missing something but I > have no clue what it might be) Where does XSLT get namespace mojo > that XQuery doesn't have? Since XSLT and XQuery are based on the same > data model, and neither fragment does anything explicit to preser
3 Dec 2004 RE: [xml-dev] XML-aware programming language? [thread] [month] Michael Kay (200) xml-dev > This preserves the semantics according to [REC-xml-names] -- > it's the namespace URI that's important, not the prefix -- > and preserves *most* of the Infoset semantics. ... > > This last might be problematic ... If we didn't have prefixes-in-content then we wouldn't have a
3 Dec 2004 RE: [xml-dev] XML-aware programming language? [thread] [month] Michael Kay (200) xml-dev > People *are* indeed always using the same prefixes (xsl, xsd, xsi...) > and declaring them in the root... 99% of people may be doing so, but it's wishful thinking to imagine that we can write off the rest. Tiny incompatibilities can cause users vast costs. Michael Kay
4 Dec 2004 RE: [xml-dev] The XML Backlash [thread] [month] Michael Kay (200) xml-dev > I wonder if there are analogous cases in the history of technolgy > (ahem, besides SGML?) where a set of good ideas got out of control. SQL?
4 Dec 2004 RE: [xml-dev] Data streams [thread] [month] Michael Kay (200) xml-dev > In everything I have read, it appears that every chunk of content > must be encapsulated by tags, such as: > > <data>123.456</data> > > But, what about streams of data, like from a x/y recorder where one > may have thousands of pieces of data? Is there some way to wrap this
5 Dec 2004 RE: [xml-dev] [XQuery] FLWOR (for-let-where-order-return) equivalent to FOR (for-order-return)? [thread] [month] Michael Kay (200) xml-dev I think the where clause is indeed redundant. "where X return Y" can always be replaced by "return if (X) then Y else ()". The let clause is also redundant - not because it can be replaced by a "for" clause, which is what you are suggesting, but because references to the variabl
6 Dec 2004 RE: [xml-dev] [XQuery] FLWOR (for-let-where-order-return) equivalent to FOR (for-order-return)? [thread] [month] Michael Kay (200) xml-dev Yes, I think you are right. I thought about this again last night and came to the same conclusion. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Daniela Florescu [mailto:[email protected]] > Sent: 06 December 2004 06:41 > To: Michael Kay > Cc: xml-
6 Dec 2004 RE: [xml-dev] Schema: decimal data type with blank value [thread] [month] Michael Kay (200) xml-dev Or if you don't want to change the instance documents, specify the data type as the union of xs:decimal and z:emptyString, where z:emptyString is a user-defined simpleType that derives from xs:string and restricts the value to be zero-length (e.g. by using the length facet). Mic
6 Dec 2004 RE: [xml-dev] Schema: decimal data type with blank value [thread] [month] Michael Kay (200) xml-dev Further to my other reply, another approach is to define the type as a list-valued type with an itemType of xs:decimal and a maxLength of 1. (This isn't precisely equivalent - this approach allows " " (a single space) as a value.) Michael Kay http://www.saxonica.com/ > -----Or
6 Dec 2004 RE: [xml-dev] RE: Incremental transformations with Xalan and performance issues? [thread] [month] Michael Kay (200) xml-dev . Daniela Florescu, Chris Hillery, Donald Kossmann, Paul Lucas, Fabio Riccardi, Till Westmann, Michael J. Carey, Arvind Sundararajan: The BEA streaming XQuery processor. VLDB Journal Volume 13, Number 3, September 2004 http://www.vldb.org/conf/2003/papers/S30P01.pdf An in
6 Dec 2004 RE: [xml-dev] RE: Incremental transformations with Xalan and performance issues? [thread] [month] Michael Kay (200) xml-dev > Considering that XSLT/XQuery is orders of magnitude more complex than > simple crypto algorithms, I'm wondering to what extent hardware > addresses compliance, implementation bugs, upgrades, dynamic callback > features, effective programming language integration, etc. I'v
6 Dec 2004 RE: [xml-dev] Data streams [thread] [month] Michael Kay (200) xml-dev > Use the number 10, now the difference is 51 to 2 or a ratio of ~26 to > 1. Use the number 100 and the ratio is 52 to 3 or ~17 to 1. Six > digits? 56 to 6 or ~10 to 1. Now add multiple columns of data (as any > realistic example would do) and the ratio falls even farther. Now
6 Dec 2004 RE: [xml-dev] Data streams [thread] [month] Michael Kay (200) xml-dev (a) the longer the tags or the shorter the data > elements, the > less sense it makes to transport the data via XML and (b) the > shorter the > tags or the longer the data elements, the more sense it makes > to transport > the data via XML. Anyone disagree? If long tags are c
7 Dec 2004 RE: [xml-dev] RE: Incremental transformations with Xalan and performance issues? [thread] [month] Michael Kay (200) xml-dev > Michael, you read a two years old version of the paper, the one I was pointing to is the journal (i.e. longer) and newer version of it. The architectural main idea didn't change, but the numbers are better (like any other new processor, the performance improves with 10% per da
7 Dec 2004 RE: [xml-dev] Data streams [thread] [month] Michael Kay (200) xml-dev > The trick is to give the CSV those capabilities in innovative > ways, without > bloating it, and to use it in conjunction with (e.g., as a > gateway to) XML > when processing data arrays. > > Steve You have totally missed the point, Steve. The benefit of XML is that we no
7 Dec 2004 RE: XPath Push/Pull Was: RE: Incremental transformations with Xalan and performance issues? [thread] [month] Michael Kay (200) xml-dev > > I am curious how you decide which to choose, is this just > down to the context/structure of the expression or are > there other criteria involved? > You start in one mode or the other depending how the expression/query/stylesheet is invoked, and you only change modes whe
8 Dec 2004 RE: [xml-dev] What niche is XQuery targeting? [thread] [month] Michael Kay (200) xml-dev > > > 2. Heavily recursive programming in XSLT is far less common that it > > seems to be perceived here. > > Are you saying that XSLT stylesheets that revolve around > <xsl:apply-templates/> are not common? Most people don't think of xsl:apply-templates as recursion. In th
8 Dec 2004 RE: [xml-dev] What niche is XQuery targeting? [thread] [month] Michael Kay (200) xml-dev > So Dave, we had this argument a couple of times, and I never > understood > your answer: what exact benefit do you get from the the fact > that XSLT is represented in it's current XML syntax ? I think the benefits are: (a) many stylesheets consist of two-thirds data to be c
9 Dec 2004 RE: [xml-dev] What niche is XQuery targeting? [thread] [month] Michael Kay (200) xml-dev > Dear Michael, > > Discussions about syntax are what they are. I understand you > seem to see > general advantages in XML syntax. If this is so, I disagree. > You have entirely misread my posting. Dana asked what the benefits of using an XML syntax for XSLT were, so I liste
9 Dec 2004 RE: [xml-dev] XSLT syntax (was: Re: What niche is XQuery targeting?) [thread] [month] Michael Kay (200) xml-dev > That's not to throw cold water on the idea: To paraphrase Alan Kay, > rather than try to predict when W3C will do such a thing, invent it: > propose a non-XML syntax for some subset of XSLT; prototype it > yourself, start a mailing list to discuss it (you can bootstrap it > he
9 Dec 2004 RE: [xml-dev] What niche is XQuery targeting? [thread] [month] Michael Kay (200) xml-dev > I'm surprised by the continuing length of this thread. Isn't > it obvious > that both XSLT and XQuery have advantages, a reason to exist, > and a market? I think people are trying to understand which language to use for which purposes, and to understand the reasons for thei
10 Dec 2004 RE: [xml-dev] What niche is XQuery targeting? [thread] [month] Michael Kay (200) xml-dev > You don't hear from them I think because you mostly hear from people > who *like* XSLT. This is something we all need to remember. We all spend too little time talking to people outside our own field. (Remember my surprise on this list about someone who appeared to believe t
10 Dec 2004 RE: [xml-dev] What niche is XQuery targeting? [thread] [month] Michael Kay (200) xml-dev > I think I wasn't clear enough. The fact that the program is half > preparsed and encoded in XML, and half unparsed and contained > in strings, makes impossible certain queries over XSLTs (unless > parsing the attribute values). See the example I just gave to Michael > Kay. I
10 Dec 2004 RE: [xml-dev] Basic XSD question [thread] [month] Michael Kay (200) xml-dev > > How can I define in XMLSchema that an element should provide a text > value? When I validate the following XML with the XSD I get no error, > because the empty string seems to be a valid string as well. You can define a simple type derived from xs:string, with a minLength
10 Dec 2004 RE: [xml-dev] [newbie] Mapping a Map 101? [thread] [month] Michael Kay (200) xml-dev > Is there a more or less "agreed upon" scheme to define a map type > structure in XML? No. I tend to use <entry key="key">value</entry> probably because it uses only two names and I have trouble thinking of names. Michael Kay http://www.saxonica.com/
11 Dec 2004 RE: [xml-dev] [newbie] Mapping a Map 101? [thread] [month] Michael Kay (200) xml-dev > If you have a Macintosh, the disks are just stuffed with "plists", > which are an XML expression of a map, sort of; the XML syntax > is rather > horrible: > > <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" > "http://www.apple. > com/DTDs/PropertyList-1.0.dtd
13 Dec 2004 RE: [xml-dev] XML-aware programming language? [thread] [month] Michael Kay (200) xml-dev > "Tim Bray declared that to understand XSLT you must first reach up > with both hands and grab the two halves of your brain peeling each > back until you have successfully turned your brain completely inside > out ...Are we all masochists???!!!" " > The same was true, in my pe
13 Dec 2004 RE: [xml-dev] [newbie] Mapping a Map 101? [thread] [month] Michael Kay (200) xml-dev > > I wouldn't rely on sibling relationships. > > Ok. Why would relying on such relationships be a "bad" thing though? > What are the benefits of introducing an <entry> tag in the <dict> > structure? It makes the processing code much more clear. Compare <xsl:value-of select
13 Dec 2004 RE: [xml-dev] [newbie] Mapping a Map 101? [thread] [month] Michael Kay (200) xml-dev > Out of curiosity, if <dict> was simply defined as an ordered sequence > of elements, where the even elements are the keys and the odd > elements > the values, how would the XQuery look like? > Doing this without the sibling axis, I think you would have to do something like
13 Dec 2004 RE: [xml-dev] [newbie] Mapping a Map 101? [thread] [month] Michael Kay (200) xml-dev > Would a fully "spelled out" structure like the following make > it easier > for XSLT to process? Or is that "over-normalized"? > > <dict> > <entry> > <key> > <string>aKey</string> > </key> > <value> > <integer>101</integer> > </value> >
13 Dec 2004 RE: [xml-dev] What niche is XQuery targeting? [thread] [month] Michael Kay (200) xml-dev > The implementations are there, and > they're mostly good, so now the question to ask is why aren't people > using them in the numbers you were expecting? That simply isn't true. There are a number of fairly complete (and good) in-memory implementations, like Saxon, but that
13 Dec 2004 RE: [xml-dev] What niche is XQuery targeting? [thread] [month] Michael Kay (200) xml-dev > > I wonder what the impact will be of the IBM announcement > of an architecture in which an XML native database and > a relational database sit side by side. Anyone know if > this will be using XQuery? > > http://www.theregister.co.uk/2004/12/09/ibm_database_goalposts/ >
13 Dec 2004 RE: [xml-dev] What niche is XQuery targeting? [thread] [month] Michael Kay (200) xml-dev > The XQuery implementation that I participated in was meant for > transforming messages in an orchestration engine. Seems to > me that that > is probably the best niche for XQuery overall, but time will tell. Well, you can use XQuery in that role, and some people will, but
14 Dec 2004 RE: [xml-dev] XQuery collections [What niche is XQuery targeting?] [thread] [month] Michael Kay (200) xml-dev > On the subject of XML databases, providing the 'collection' function > seems like an afterthought in the overall scheme of things, mostly > passing the buck to the vendors to figure out how to virtualize their > storage systems for the XQuery engine, rather than approaching
14 Dec 2004 RE: [xml-dev] What niche is XQuery targeting? [thread] [month] Michael Kay (200) xml-dev > I'm missing something here -- "translating messages" is pretty much at > the core of "data integration scenarios". For accessing multiple heterogeneous data sources, the hard part is translating the queries. Translating results is much easier. Michael Kay http://www.saxonica
15 Dec 2004 RE: [xml-dev] Query decomposition [was: What niche is XQuery targeting?] [thread] [month] Michael Kay (200) xml-dev > If we are querying over a bunch of back-end relational > databases, why is > XQuery better than some flavor of SQL? At least the type system > mismatch could be manageable. There are many people who seem to think that 99% of the world's data is held in relational databases.
15 Dec 2004 RE: [xml-dev] Query decomposition [was: What niche is XQuery targeting?] [thread] [month] Michael Kay (200) xml-dev > The bank I used to work for estimated that about 80% of all accounts > had errors in the "indicative" (non-monetary) data: address, > phone number, > SSN, etc. Part of the problem, of course, was that the bank's > systems had no concept of "customer", so if a customer had mul
15 Dec 2004 RE: [xml-dev] Query decomposition [was: What niche is XQuery targeting?] [thread] [month] Michael Kay (200) xml-dev > So you want perform a query against a backend source that > only has a decimal numeric type using XPath which only has a > floating point numeric type. Bad example, because XPath does now have a decimal data type. But of course it's true that the operations in one query lang
15 Dec 2004 RE: [xml-dev] Valid reference to external namespace? [thread] [month] Michael Kay (200) xml-dev You need to import the namespace (xsd:import) before you can refer to a type in that namespace. Castor's validation of XML Schemas is far from thorough. Michael Kay http://www.saxonica.com/ _____ From: Ezell, Joel M (Joel) [mailto:[email protected]] Sent: 15 December 20
16 Dec 2004 RE: [xml-dev] draft-rsalz-qname-urn [thread] [month] Michael Kay (200) xml-dev The spec feels a bit skimpy: there's a lot of detail missing. For example, the semantic difference between a prefix of "" and a prefix of "*" is left almost entirely to the reader's guesswork. The main problem seems to be in the area of character encoding and escaping. The abst
16 Dec 2004 RE: [xml-dev] Amazon Books on XML [thread] [month] Michael Kay (200) xml-dev > I guess the serious question is whether the cost of a few laughable > failures of the heuristic algorithms outweighs the cost of building > ontologies maintaining a lot of semantic metadata in the instances? > My guess is "no", by a couple orders of magnitude. > > Of course
16 Dec 2004 RE: [xml-dev] A Systematic Approach to using Simple XMLVocabularies to Implement Large (Complex) Systems [thread] [month] Michael Kay (200) xml-dev > Has anyone tried to express the validity or 'life' of information? Yes, there is a lively research stream under the name "temporal databases", and many more-or-less ad-hoc approaches in fields such as medical records and genealogy. Michael Kay http://www.saxonica.com/
17 Dec 2004 RE: [xml-dev] Valid reference to external namespace? [thread] [month] Michael Kay (200) xml-dev Now, the problem is that the XML that castor produces for the RegisterDevice request doesn't have any indication on the device element that indicates that it belongs to the csta namespace. Is this a bug in castor or should we be doing something different in the schema to enable
20 Dec 2004 RE: [xml-dev] XML Schema Either Text Or Sequence [thread] [month] Michael Kay (200) xml-dev > > I'd like to assert that the element set either contains a simple > type or more set elements. > > > I can't figure out how to make a union of the two. I'm beginning > to think that this is non-deterministric, or in some other > way a bad design. > It'
22 Dec 2004 RE: [xml-dev] Xerces, schema caching, and namespaces [thread] [month] Michael Kay (200) xml-dev It's very much a design assumption in XML schema that a namespace has only one schema. It's a slightly odd assumption really, because it's at variance with another design principle of XML Schema, which is that the same document can be validated against different rules depending
23 Dec 2004 RE: [xml-dev] ANN: Amara XML Toolkit 0.9.0 [thread] [month] Michael Kay (200) xml-dev Interesting. We seem to be rediscovering co-routines, plus a lot of other machinery from Jackson structured programming. It's a powerful solution to the push-pull dilemma, but it does need support at the programming language level (because the process has multiple stacks). I trie
23 Dec 2004 RE: [xml-dev] Compare two xml files [thread] [month] Michael Kay (200) xml-dev > Can anybody suggest me for any better comparison techniques for > comparing two XML documents for content. > http://www.deltaxml.com/ Michael Kay http://www.saxonica.com/
23 Dec 2004 RE: [xml-dev] XPath and XPattern (was Re: [xml-dev] More on taming SAX) [thread] [month] Michael Kay (200) xml-dev > Thanks again to Uche for the clarification (I already thanked him > privately) -- I either never knew or have completely forgotten the > term "XPattern" for an XSLT pattern, but I wasn't much involved with > the XSL people in the late 1990s. > > Perhaps the term 'XPattern' wou
23 Dec 2004 RE: [xml-dev] More on taming SAX (was Re: [xml-dev] ANN: Amara XML Toolkit 0.9.0) [thread] [month] Michael Kay (200) xml-dev > So when the event stream reached /foo/bar2/baz2/text() you would have > the following in a DOM like structure: > > foo > \ > bar1 (... no children) > bar2 > \ > baz1 (... no children, just the previous sibling and attrs) > baz2 (o
23 Dec 2004 RE: [xml-dev] XPath and XPattern (was Re: [xml-dev] More on taming SAX) [thread] [month] Michael Kay (200) xml-dev > There's also the question of context -- would the only context be the > stack, or do people hope to have access to left siblings as well? I found it very useful also to have a one-event lookahead. Michael Kay http://www.saxonica.com/
29 Dec 2004 RE: [xml-dev] Streaming XML (WAS: More on taming SAX (was Re: [xml-dev] ANN: Amara XML Toolkit 0.9.0)) [thread] [month] Michael Kay (200) xml-dev > Do I have to say anything more !? > > We are 30 years after Ted Codd, and many, many billions dollars > market later. I find it really strange that I need to argue > in favor of > the > declarativity in 2004, almost 2005. As always, it's horses for courses. On the Saxon
29 Dec 2004 RE: [xml-dev] performant templating language for XML [thread] [month] Michael Kay (200) xml-dev > Now on to my assertions: > > *** XSL is not performant > When answering requests, a templating language that forces > the document in > its entirety to be held in memory quickly hits load limits. My > understanding is that XSLT either cannot be streamed or current > im
31 Dec 2004 RE: [xml-dev] XSLT2 - which parts solve real 1.0 problems, which makes coffee? - was Re: [xml-dev] Streaming XML [thread] [month] Michael Kay (200) xml-dev > Going off on a tangent here ... that is a subject which intrigues me. > It is clear that much of XSLT2 really does offer simpler ways of doing > things that are possible but tedious in XSLT 1. It's hard to know, > before XSLT 2 gets into people's hands and the wheat and chaff
31 Dec 2004 RE: [xml-dev] XSLT2 - which parts solve real 1.0 problems, whichmakes coffee? - was Re: [xml-dev] Streaming XML [thread] [month] Michael Kay (200) xml-dev > > and try/catch. > > Ooh. Intriguing. We had a discussion about such extensions in the > 4Suite mailing list a few years back. My own proposal was for special > XSLT error templates that could "match" or trigger on error > conditions, > assuming a very simple XML vocab for
31 Dec 2004 RE: [xml-dev] The Airplane Example (was Re: [xml-dev] Streaming XML) [thread] [month] Michael Kay (200) xml-dev >By the end of this century, I will be amazed if you will >still be able to call yourself a 'software engineer/progammer' without a >legally mandated certification, license and professional standards. Which doesn't solve the problem, because good programmers write bugs too. An
2 Jan 2005 RE: [xml-dev] Re: XSLT2 - which parts solve real 1.0 problems,which makes coffee? - was Re: [xml-dev] Streaming XML [thread] [month] Michael Kay (200) xml-dev > I find Mike Kay's recounting of the history of the try/catch idea very > interesting as an illustration of how close integration with XQuery > proved detrimental in the development of XSLT and XPath 2.0. On the contrary, the XQuery group has much more expertise in formal langu
2 Jan 2005 RE: [xml-dev] The Airplane Example (was Re: [xml-dev] Streaming XML) [thread] [month] Michael Kay (200) xml-dev > Still, if someone was going to use XML in some capacity to > shoot missles > or aid in flying airplanes (which, given the increasing > variety of things > XML is used for, could happen soon!), One of the biggest mistakes is to assume that systems are only safety-critical if
3 Jan 2005 RE: [xml-dev] Validate a XML againist a schema.... [thread] [month] Michael Kay (200) xml-dev The JAXP 1.3 API, which is supported by both Xerces and Saxon, makes this fairly straightforward. Look for the file SchemaValidator.java in the JAXP 1.3 distribution, or an improved version of this called SchemaValidatorExample.java in the Saxon samples directory. Michael Kay ht
5 Jan 2005 RE: [xml-dev] The Airplane Example (was Re: [xml-dev] StreamingXML) [thread] [month] Michael Kay (200) xml-dev > Finally, as I recall the knight's tour XSLT, a lot of the params are > integers. Would you say the argument transposition error was > fortuitously one where different WXS types *could* be > asserted, and that > static typing would have been no help if 2 integer values had bee
6 Jan 2005 RE: [xml-dev] An unclear point with W3C XML 1.0 Specification [thread] [month] Michael Kay (200) xml-dev > There isn't much difference between: > > <product_item> > <part_description>3 1/2" Spanner</part_description> > </product_item> > > and: > > <product_item> > part_description&="3 1/2^" Spanner" > </product_item> > There's one rather significant
6 Jan 2005 RE: [xml-dev] Where are XML types ? [thread] [month] Michael Kay (200) xml-dev > > Where are XML types ? > People know xs:string, xs:int and xs:QName, because they are > taken from > raw data, but is there high level types for XML items such as > xml:element, xml:attribute, or xml:namespace ? > I have to name (with a QName) objects (that can be XML item
7 Jan 2005 RE: [xml-dev] XML Compression (Was RE: [xml-dev] An unclear point with W3C XML 1.0 Specification) [thread] [month] Michael Kay (200) xml-dev > > PS: Sometimes I think the main difficulty the W3C XML Binary > > Characterization Working Group has is in living down such a > > long Working Group name, but that's another story :-) I tend to think of it as the Character Binarization Working Group. Michael Kay http
7 Jan 2005 RE: [xml-dev] Large xml processing into SQL Server [thread] [month] Michael Kay (200) xml-dev Last time someone told me they had a big XML file it turned out to be only 500Kb, so my advice was all wrong. What do you mean by "big"? Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: [email protected] > [mailto:william.j.boxall@accentu
7 Jan 2005 RE: [xml-dev] Large xml processing into SQL Server [thread] [month] Michael Kay (200) xml-dev > But the size of the file IS big.. The sample file we received > was 72 meg. That equates into roughly 819,000 records. 72 megs is well within Saxon's capabilities but using XSLT or XQuery in-memory on this kind of size certainly requires careful tuning; splitting it into sma
10 Jan 2005 RE: [xml-dev] XML Syntax for XQuery 1.0 (XQueryX) invalid? [thread] [month] Michael Kay (200) xml-dev > I have attempted to validate the XML Schema for > XQuery, but it does not seem to be valid. I used > XMLSPY and the gotdotnet website. Any ideas? > > The schema is included below. I obtained from this > schema from: > > http://www.w3.org/TR/xqueryx/#Schema > > Regard
10 Jan 2005 RE: [xml-dev] XML Syntax for XQuery 1.0 (XQueryX) invalid? [thread] [month] Michael Kay (200) xml-dev I think the spec is quite clear that you can validly derive xs:string by restriction from union(xs:string, ...) Generally, if XMLSpy differs from Xerces, XMLSpy is usually wrong. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: David P. Nesbitt [mailt
12 Jan 2005 RE: [xml-dev] A bunch of components, but no mandated organization - reasonable? [thread] [month] Michael Kay (200) xml-dev > > If I assemble some of the components into a certain > > structure, and send the structure to you, will you be able to > > understand my structure? > > Regarding the multiple references to "you": Is "you" a person, or a > machine, or both? Which rather illustrates the poin
13 Jan 2005 RE: [xml-dev] A bunch of components, but no mandated organization - reasonable? [thread] [month] Michael Kay (200) xml-dev Of course it's possible to set up a system in which anyone who receives a customer record is expected to interpret it as meaning "please update the information you hold on this customer". Equally, it's possible to set up a system in which anyone who receives a customer record is
14 Jan 2005 RE: [xml-dev] XLink - anyone using? [thread] [month] Michael Kay (200) xml-dev > My question is this: Is anyone using XLink? How useful do > you find it? My personal view is that XLink serves no useful purpose. I would prefer to call my links something like <my:further-reading> rather than calling them <xlink:xlink>, and I've never seen any good reason
17 Jan 2005 RE: [xml-dev] XPath Binding API (Was: XPattern Specification) [thread] [month] Michael Kay (200) xml-dev > I'm looking at Saxon, Jaxon, and Xalan, and they all have a > different Java language binding for XPath, which is annoying for > me as an application developer. JAXP 1.3 and DOM Level 3 have both tried to solve this problem. Over on the XOM list, Elliotte Rusty Har
17 Jan 2005 RE: [xml-dev] XPath Binding API (Was: XPattern Specification) [thread] [month] Michael Kay (200) xml-dev > No, the other way round. XPath to target language. > > That's not in the XPath API, unless I'm totally missing something. > Ths JAXP 1.3 API does tackle calling from XPath to Java. Michael Kay http://www.saxonica.com/
18 Jan 2005 RE: [xml-dev] Appending XML to File [thread] [month] Michael Kay (200) xml-dev Use parsed external entities. The document never changes and reads <log> &data; </log> The data file contains the records: <entry>...</entry> <entry>...</entry> <entry>...</entry> <entry>...</entry> and you can append to it any time you like. This is about the only time I
22 Jan 2005 RE: [xml-dev] XQueryX Schema whereClause like? [thread] [month] Michael Kay (200) xml-dev The XPath 2.0 function library, which XQuery uses, has a matches() function that exceeds the functionality of the SQL LIKE operator. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: David P. Nesbitt [mailto:[email protected]] > Sent: 22 Januar
22 Jan 2005 RE: [xml-dev] XQueryX Schema whereClause like? [thread] [month] Michael Kay (200) xml-dev XQueryX can represent any function call, the matches() function is just another function, so it doesn't need any special support in the XQueryX schema. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: David P. Nesbitt [mailto:[email protected]]
28 Jan 2005 RE: [xml-dev] Even if you're not ... was If you're going to the W3C meeting in March [thread] [month] Michael Kay (200) xml-dev > yet, at the same time, the amount of use of xml in business seems > if anything to be declining.... in a typical industrial > area, Sydney, > Germany, UK, there isn't a lot of practical use of xml.. I don't believe for a minute that the IT director of a large company can me
28 Jan 2005 RE: [xml-dev] Well-formed BinXML [thread] [month] Michael Kay (200) xml-dev > I have been doing some work with a binary encoding of > something akin to a serialisation of SAX events as > generated from an XPath object model. I thought it might be > an interesting exercise to try and quantify the performance > penalty of applying well-formed constrain
29 Jan 2005 RE: [xml-dev] Even if you're not ... was If you're going to the W3C meeting in March [thread] [month] Michael Kay (200) xml-dev > This is a general problem I'm having, how do you create hooks, > callbacks, er, how do you create an XSLT framework? One answer is to run XSLT tasks under the control of a pipeline processor such as Orbeon. OK, it's yet another tool to master, and we all have our lim
30 Jan 2005 RE: [xml-dev] 3 XML Design Principles - a rebuttal [thread] [month] Michael Kay (200) xml-dev > The only time they need their data > normalised is at the end of a message flow, when it goes into a > database, but certainly not in XML transit. I think that's the key point. Normalization was invented for databases - persistent shared updateable data stores used by many pe
30 Jan 2005 RE: [xml-dev] 3 XML Design Principles - a rebuttal [thread] [month] Michael Kay (200) xml-dev > information is ultimately persisted in a receiving system I do hate "persist" as a transitive verb. Not only because it's not in the dictionary as such, but because it's such a perversion of Malcolm Atkinson's original concept that instead of programs reading and writing data
3 Feb 2005 RE: [xml-dev] xml 2.0 - so it's on the way after all? [thread] [month] Michael Kay (200) xml-dev > I can see your point. I guess they chose the less and greater than > characters because they look a bit smoother on the screen Screen? We're talking about the 1960s. Michael Kay http://www.saxonica.com/
5 Feb 2005 RE: [xml-dev] xml 2.0 - so it's on the way after all? [thread] [month] Michael Kay (200) xml-dev > > > > > > Screen? We're talking about the 1960s. > > > > Are you saying xml is that old? I'd be interested any reading any > > links about xml in the sixties... > Joan M. Smith, SGML and Related Standards, Ellis Horwood, 1992. from Appendix A, A brief history... "Many cred
5 Feb 2005 RE: [xml-dev] IT Manager Survey Finds 59% Of UK Businesses Are Now Using XML [thread] [month] Michael Kay (200) xml-dev > Subject: [xml-dev] IT Manager Survey Finds 59% Of UK > Businesses Are Now Using XML And that, of course, is only the ones who Know They Are Using It. Michael Kay http://www.saxonica.com/
5 Feb 2005 RE: [xml-dev] IT Manager Survey Finds 59% Of UK Businesses Are Now Using XML [thread] [month] Michael Kay (200) xml-dev > As with the pyramid effect, the large majority of businesses > are small businesses and don't even have an IT Manager. Actually, it wasn't long ago that I read that the majority of businesses in the UK didn't have a computer. Maybe not true any more, but totally irrelevant to
5 Feb 2005 RE: [xml-dev] xml 2.0 - so it's on the way after all? [thread] [month] Michael Kay (200) xml-dev > The fact that it's > hard to write an XML parser means it's hard to understand how to use > XML, too. Well said. All the features that trip parser-writers up also trip up users. Most notably, the dreadful blurring of layers that occurs with entity expansion (and character e
8 Feb 2005 RE: [xml-dev] XSLT stylistics query [thread] [month] Michael Kay (200) xml-dev You can use the XSLT current() function if you prefer this to using variables. (Some people prefer variables). You can also make do with a single variable: <xsl:for-each select="document($cfgschema)/ConfigSchema/RootSection"> <xsl:variable name="x" select="." /> <xsl:vari
10 Feb 2005 RE: [xml-dev] Schemas As Anti-bodies and Dynamical Systems [thread] [month] Michael Kay (200) xml-dev Most of this goes into my "incomprehensible to a mere computer scientist" bucket, but the idea of an anti-schema is one I like. I wonder how many of the restrictions in the capability of XML Schema disappear if we define the constraints on a document using expressions such as sat
10 Feb 2005 RE: [xml-dev] Re: Where does the "nothing left but toolkits" myth come from? [thread] [month] Michael Kay (200) xml-dev > > lossless roundtripping. > > This doesn't work today. Of course it doesn't. The biggest single failing in the XML spec, sadly unremedied in subsequent versions, is that it doesn't define the information content of an XML document. Without that "lossless" cannot be defined
10 Feb 2005 RE: [xml-dev] XML jargon: declaration vs. definition [thread] [month] Michael Kay (200) xml-dev > > Consider the following XML element: > > <!ELEMENT value (#PCDATA)> > <!ATTLIST value year CDATA #IMPLIED> > > Is this a declaration or a definition ? It is not an XML element, it is not a declaration, and it is not a definition. It is an element type dec
11 Feb 2005 RE: [xml-dev] Re: Where does the "nothing left but toolkits" myth come from? [thread] [month] Michael Kay (200) xml-dev > > Of course it doesn't. The biggest single failing in the XML > spec, sadly > > unremedied in subsequent versions, is that it doesn't > define the information > > content of an XML document. Without that "lossless" cannot > be defined, and > > it can't be defined, then it ca
11 Feb 2005 RE: [xml-dev] @href or @src? [thread] [month] Michael Kay (200) xml-dev > This is the answer: 1) There's no pattern, it's all random; > 2) Frans should go do something useful. > > Right? More or less. But there is also an explanation. Given that you're designing a language (say XSLT) you've got to decide whether to make an attribute name consisten
12 Feb 2005 RE: [xml-dev] Re: use of xslt.rnc or xslt.xsd? [thread] [month] Michael Kay (200) xml-dev There is an official (though not normative) schema for XSLT 2.0 at http://www.w3.org/2005/02/schema-for-xslt20.xsd Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: news [mailto:[email protected]] On Behalf Of Dimitre Novatchev > Sent: 12 February 2
12 Feb 2005 RE: [xml-dev] what is the difference between "xs" and "xsd" for XML schema? [thread] [month] Michael Kay (200) xml-dev Namespace prefixes make no difference, it's the namespace URI that counts. So long as the URI is http://www.w3.org/2001/XMLSchema you can use any namespace prefix you like. As far as I can tell, "xs" and "xsd" are equally popular. Perhaps "xsd" is used more in the Microsoft com
14 Feb 2005 RE: [xml-dev] URLs of DTDs question [thread] [month] Michael Kay (200) xml-dev > > when specifying a DTD for an XML document on my web server, > the only way > that I got it to work is using an absolute URL: > > <!DOCTYPE foo SYSTEM "/www/myserver/pathToDTD/myDTD.dtd"> That isn't an absolute URL! An absolute URL always has a scheme name, e.g. http: or f
15 Feb 2005 RE: [xml-dev] Article on JAXP 1.3 "Fast and Easy XML Processing" [thread] [month] Michael Kay (200) xml-dev > You talk about the benefits of an "object model neutral" > XPath API, yet > provide no examples of how any object model other than W3C DOM might > work. DOM already provides its own XPath API, and I'm > guessing that by > promoting the JAXP version you believe it's a bette
16 Feb 2005 RE: [xml-dev] Why associate an attribute with a namespace ? [thread] [month] Michael Kay (200) xml-dev The rationale is to allow attributes whose semantics are independent of the element they appear on: examples are xml:lang, xml:base, xsi:type, xsl:version. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: [email protected] [mailto:[email protected]
16 Feb 2005 RE: [xml-dev] Why associate an attribute with a namespace ? [thread] [month] Michael Kay (200) xml-dev > For that > you only need a > special syntax like: > > :AllLowerCase: > :lang: > :space: > :base: > Sure. Prefix your attribute names with an underscore and they are guaranteed to be different from attribute names invented by anyone else. Michael Kay http://www.saxonica.com
16 Feb 2005 RE: [xml-dev] choice, sequence, all: 'easy' XML Schema question [thread] [month] Michael Kay (200) xml-dev > Huh? Grammars aren't good at expressing position independence? I'm > having troubling thinking of any grammars for any language (not just > XML) that don't handle constraints similar to the one that the poster > describes. It's common to have such constraints in a language,
16 Feb 2005 RE: [xml-dev] Article on JAXP 1.3 "Fast and Easy XML Processing" [thread] [month] Michael Kay (200) xml-dev > The Source interface does not have close to > enough functionality to allow it to be used as input to a > transform or > validation or anything else. The whole interface is two methods, > getSystemId() and setSystemId(). There's so little useful > functionality > here on
16 Feb 2005 RE: [xml-dev] Why associate an attribute with a namespace ? [thread] [month] Michael Kay (200) xml-dev > >>For that > >>you only need a > >>special syntax like: > >> > >>:AllLowerCase: > >>:lang: > >>:space: > >>:base: > >> > For your described case (special attributes) you need merely > syntax changes and > not namespaces. Are namespaces just syntax ? > Sorry my reply was to
17 Feb 2005 RE: [xml-dev] Article on JAXP 1.3 "Fast and Easy XML Processing" [thread] [month] Michael Kay (200) xml-dev > > > > Have you seen the alternatives, like the .NET transformation > > API with about 20 overloaded transform() methods? > > So given the choice of methods that take useless interfaces > (since they > have to cast to get anything useful) and APIs with lots of overloaded > m
17 Feb 2005 RE: [xml-dev] sequence with elements with the same name is not allowed? [thread] [month] Michael Kay (200) xml-dev If the same element name appears twice in a model group, then the two elements must have the same type. See Schema part 1, section 3.8.6: Schema Component Constraint: Element Declarations Consistent Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Ha
17 Feb 2005 RE: [xml-dev] What should TrAX look like? (Was: Re: [xml-dev] Article on JAXP 1.3 "Fast and Easy XML Processing") [thread] [month] Michael Kay (200) xml-dev > I think we've all implicitly agreed that Source is pretty > useless. The > primary argument in its favor has been a lot of hand waving > and pointing > at some .NET thing, and saying, "That's even worse" but > nobody's really > stepped up to defend Source on its own merit
17 Feb 2005 RE: [xml-dev] What should TrAX look like? (Was: Re: [xml-dev] Article on JAXP 1.3 "Fast and Easy XML Processing") [thread] [month] Michael Kay (200) xml-dev Actually, I think the IXPathNavigable interface is an excellent piece of design, but I think the many overloaded transform methods are horrible. But of course, this is largely a question of aesthetic judgement and people can therefore legitimately differ. Michael Kay > -----
18 Feb 2005 RE: [xml-dev] Transmitting XML between different applications [thread] [month] Michael Kay (200) xml-dev > I have a requirement to pass XML between 2 different > applications. The 2 applications are running on > different machines, and are Java based. The sender > application will generate XML to be sent, and would > send the XML to the receiving application. If the two application
18 Feb 2005 RE: Re: [xml-dev] What should TrAX look like? (Was: Re: [xml-dev] Article on JAXP 1.3 "Fast and Easy XML Processing") [thread] [month] Michael Kay (200) xml-dev > Translation: Source isn't any more useful than just using > java.lang.Object There is one advantage. If you hand the transform() method a Date, or a List, or a Gremlin, you will get a compile time type error. For me, that's a good enough reason to invent a marker interface rat
18 Feb 2005 RE: Re: [xml-dev] What should TrAX look like? (Was: Re: [xml-dev] Article on JAXP 1.3 "Fast and Easy XML Processing") [thread] [month] Michael Kay (200) xml-dev > Of course the thought that Source may evolve - maybe > wishful thinking on my part:-( Sadly Java seems to have got itself into the hole that interfaces cannot evolve - or at least if they do, it causes serious disruption. I've had to do major reengineering of Saxon to keep it
19 Feb 2005 RE: Re: [xml-dev] What should TrAX look like? (Was: Re: [xml-dev] Article on JAXP 1.3 "Fast and Easy XML Processing") [thread] [month] Michael Kay (200) xml-dev > But I always end up with a feeling that there must be > better way for things to evolve. The current approach > of "CAN'T TOUCH INTERFACES" - is I feel flawed - how > do you evolve in such an environment? I find it surprising that one can't add a method to an interface with a
19 Feb 2005 RE: [xml-dev] Substitution Groups [thread] [month] Michael Kay (200) xml-dev > File A defines a complex data type AType and an element A of > that type. > > File B defines a complex type BType that is an extension of > AType and an > element B of that type. Element B is in the substitution > group for element > A. > > It as an error if File B does no
19 Feb 2005 RE: [xml-dev] Transmitting XML between different applications [thread] [month] Michael Kay (200) xml-dev > Hello Mr. Kay, > When you say "the best serialization format for XML > documents is... XML" , what do you mean? I understand, > that serialization means - encoding of objects into a > stream of bytes which can be transmitted over the > wire. Serialization is essentialy used for
19 Feb 2005 RE: [xml-dev] Transmitting XML between different applications [thread] [month] Michael Kay (200) xml-dev > Hello Mr. Kay, > When you say, "probably not to encode it at all, > i.e. send the XML document as is", do you mean send > the XML document as a string? Yes. An XML document is a string. > > My sending application will create XML (for e.g. from > browser input). I think best
19 Feb 2005 RE: [xml-dev] Transmitting XML between different applications [thread] [month] Michael Kay (200) xml-dev > 1) The binary XML idea. I would appreciate some > reference. How it fits into technical architecture, > vendor support etc? I'm not recommending this approach. I just mentioned that there's a long-running thread on xml-dev on the subject, which you might be interested in. > >
19 Feb 2005 RE: [xml-dev] What should TrAX look like? (Was: Re: [xml-dev] Article on JAXP 1.3 "Fast and Easy XML Processing") [thread] [month] Michael Kay (200) xml-dev > > I suspect it would be much cleaner to take an approach like > Jaxen's. In > this approach there's a core set of basic operations that all > model-connectors must implement (getChild, getAttribute, getParent, > etc.). However most other axes have default implementations
19 Feb 2005 RE: [xml-dev] Substitution Groups [thread] [month] Michael Kay (200) xml-dev > > You gloss is not accurate. The REC also says, wrt the semantics of > <import> [1], > We had a discussion on this on xmlschema-dev in October and I thought the conclusion was that 3.15.3 was indeed flawed. If document A includes document B (or if C includes A and B), th
19 Feb 2005 RE: [xml-dev] Transmitting XML between different applications [thread] [month] Michael Kay (200) xml-dev > I want to understand the below statement, you have > written.. "not if you serialize it using the default > Java object serialization". Is it possible to > serialize Java DOM objects by some other methods than > default Java serialization method? Yes, you can write your own s
21 Feb 2005 RE: Re: [xml-dev] What should TrAX look like? (Was: Re: [xml-dev] Article on JAXP 1.3 "Fast and Easy XML Processing") [thread] [month] Michael Kay (200) xml-dev > And if you pass it > > public class EmptySource implements Source{ > > private String systemId = "http://www.example.com/myidentifier"; > > > public void setSystemId(String systemId){ this.systemId = > systemId; } > > public String getSystemId(){ return this.systemId
22 Feb 2005 RE: [xml-dev] schema keyref to other schema. [thread] [month] Michael Kay (200) xml-dev The scope of XML Schema validation is a single document. The only way to do validation across multiple documents is to do a transformation that assembles them into a single document and then apply validation to that. Michael Kay http://www.saxonica.com/ > -----Original Messag
23 Feb 2005 RE: [xml-dev] Why you should avoid Notation Declarations (by Kohsuke Kawaguchi) [thread] [month] Michael Kay (200) xml-dev > > Personally, I don't think the problem NOTATIONs were > designed to solve > > has gone away, and I think they still can be used to solve it. > > Would you mind reminding me what that problem was? I've been > trying to figure that out for about seven years now. Or more to t
27 Feb 2005 RE: [xml-dev] Quiz: XML flexibility [thread] [month] Michael Kay (200) xml-dev Yes, it's a stupid question, and a stupid answer. Sounds like it came from an XML accreditation test: such things are nearly always stupid. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Razvan MIHAIU [mailto:[email protected]] > Sent: 27 Febru
27 Feb 2005 RE: [xml-dev] Quiz: XML flexibility [thread] [month] Michael Kay (200) xml-dev > What about flexibility ? I am more interested in what you > have to say about that. > Yes, but that takes time. I spent three years of my life trying to come up with ways of measuring flexibility in IT systems (we called it "potential for change") so that we could build b
27 Feb 2005 RE: [xml-dev] Document order calculation [thread] [month] Michael Kay (200) xml-dev Where Saxon does this on external models such as DOM, JDOM, or XOM, the algorithm is: calculate the depth of each node find the ancestor of the deeper node whose depth is the same as that of the shallower node if this is the same node, we're done (the deeper node comes later)
27 Feb 2005 RE: [xml-dev] Quiz: XML flexibility [thread] [month] Michael Kay (200) xml-dev > I will try to clarify the question. The answer from this > quiz suggests that > flexibility can only be achieved by using mixed content > models. Should I just > discard this (as Michael Kay suggested) or there is some true > behind this > affirmation ? I would define "
4 Mar 2005 RE: [xml-dev] [About Unicode] Why the symbol LOGICAL NOT is missing from the UCS ? [thread] [month] Michael Kay (200) xml-dev > imo that's an ugly character, the "¬" symbol. Hey, that's a good way to keep the size of Unicode down. We'll only allow characters that no-one thinks are ugly. Michael Kay http://www.saxonica.com/
4 Mar 2005 RE: [xml-dev] [About Unicode] Why the symbol LOGICAL NOT is missing from the UCS ? [thread] [month] Michael Kay (200) xml-dev > a way that the xml can easily handle what we do most... and for many > that is transporting business data around the place. Let's be thankful that there are people in the world who are interested in higher things than doing business, and let's allow them to use the symbols the
4 Mar 2005 RE: [xml-dev] [About Unicode] Why the symbol LOGICAL NOT is missing from the UCS ? [thread] [month] Michael Kay (200) xml-dev > I can't comment on the usability of any alphabet other than Latin, but > is it "fair" that Chinese ideograms chew up tens of thousands of code > points in Unicode? It's balanced by the unfairness that Latin letters only occupy one byte in UTF-8, whereas Chinese ideograms occu
4 Mar 2005 RE: [xml-dev] Do I need XML parser ? [thread] [month] Michael Kay (200) xml-dev In many cases it's easy enough to generate XML just by writing it out directly as a print file. You can do this in any programming language. The only things you need to be a little careful about are: (a) the character encoding of the text file that you write must be correctly d
4 Mar 2005 RE: [xml-dev] Schema, BNF and parsing [thread] [month] Michael Kay (200) xml-dev If the stylesheet is simply checking against a grammar, then you would certainly be better off using a grammar-based validator. There are essentially three candidates: DTDs, XML Schema, and RelaxNG. Which you choose depends on all sorts of factors, personal, political and technic
4 Mar 2005 RE: [xml-dev] Schema, BNF and parsing [thread] [month] Michael Kay (200) xml-dev > My real "beef" is the 2666 line script. It has numerous > redundancies (i.e. duplicate code) and looks like a nightmare > to maintain. It's a common problem. I once reduced a 2000-line stylesheet to 20 lines plus some data tables. There are lots of people who learn how to w
4 Mar 2005 RE: [xml-dev] [About Unicode] Why the symbol LOGICAL NOT is missing from the UCS ? [thread] [month] Michael Kay (200) xml-dev > it always existed in ebcdic ... but had a sorry history of being overlaid onto the same codepoint as tilde and/or overline and/or macron. Michael Kay http://www.saxonica.com/
4 Mar 2005 RE: [xml-dev] [About Unicode] Why the symbol LOGICAL NOT is missing from the UCS ? [thread] [month] Michael Kay (200) xml-dev my suggestion would be a-z wh nds vwls? MHK
4 Mar 2005 RE: [xml-dev] Schema, BNF and parsing [thread] [month] Michael Kay (200) xml-dev > do you have an example? Not one that can be published without a considerable amount of work, unfortunately. But to take one example, a client was churning out multiple stylesheets to do different reports on the same data. They were all 90% the same. We found a way of paramet
4 Mar 2005 RE: [xml-dev] Tamino status [thread] [month] Michael Kay (200) xml-dev > A good sign for this > "maturity" is probably the fact that more and more customers > are using Tamino in mission-critical scenarios. Nice to hear from you Frank. I'm working with one Tamino user who's using the product in fairly complex but not really mission-critical HR
6 Mar 2005 RE: [xml-dev] clarification needed for include [thread] [month] Michael Kay (200) xml-dev I believe that the spec is unclear in this area; others seem to believe it is clear. However, the consensus is that B does not have to include A. The explanation for this is that a schema that contains references to undefined components is not actually "invalid": it just means th
6 Mar 2005 RE: [xml-dev] Is there a way to reuse and extend an enumeration in XML schema [thread] [month] Michael Kay (200) xml-dev > I can't speak to Kenneth Stephen's requirements, but I'm pretty sure > that UBL wants to give users some way of extending (and restricting) > currency codes (inter alia) without modifying any of the > distributed UBL schemas. Surely the right way to tackle this is for the "di
8 Mar 2005 RE: [xml-dev] XPATH expression [thread] [month] Michael Kay (200) xml-dev > > Can somebody explain to me what is the meaning of the following > expression: > > a[not(following::x=.)] In XPath 1.0: The set of elements named "a" whose string-value is different from the string-value of all following elements named "x". In XPath 2.0: the sequence
8 Mar 2005 RE: [xml-dev] Is possible to have choice type facility for an attribute of schema [thread] [month] Michael Kay (200) xml-dev Sadly, no. I've never quite understood why: XML Schema when to a lot of efforts to make elements and attributes symmetric, but they are handled quite differently in content models. Michael Kay http://www.saxonica.com/ _____ From: Baisak, Ranjan [mailto:ranjan_baisak@me
8 Mar 2005 RE: [xml-dev] XPATH expression [thread] [month] Michael Kay (200) xml-dev > > it seems to mean something like this : > all <a> elements which string value is not in any <x> sibling element the expression used following::x rather than following-sibling::x Michael Kay http://www.saxonica.com/
8 Mar 2005 RE: [xml-dev] Is possible to have choice type facility for an attribute of schema [thread] [month] Michael Kay (200) xml-dev You can declare 3 different local versions of element "a", each with a different attribute - or one global version and 2 local. This should allow what you need. Not if the three versions are interchangeable in terms of where they may appear. Michael Kay http://www.saxonica.co
10 Mar 2005 RE: [xml-dev] Schema builder API like DOM [thread] [month] Michael Kay (200) xml-dev > XercesJ, for example, creates a "flattened" representation that shows > the net result of a type derivation tree for each particle. This is > great for validation but not so great if you want to see the actual > topology of the schema. The Saxon schema processor provides a
15 Mar 2005 RE: [xml-dev] Aggregated content, fact checking, PICS, Atom/RSS (was Rigged Aggregators) [thread] [month] Michael Kay (200) xml-dev > Michael Gorman, President of the American Library > Association, recently wrote a > Los Angeles Times op-ed piece about digitizing books for Google: > > "Hailed as the ultimate example of information retrieval, > Google is, in fact, > the device that gives you thousands of "
15 Mar 2005 RE: [xml-dev] xpath check if value-atribute is empty [thread] [month] Michael Kay (200) xml-dev You're better off asking xpath coding questions on the xsl-list at www.mulberrytech.com, which tends to stick to its intended subject, unlike xml-dev which tends to wander off into discussions about google and black helicopters. boolean(string(@value)) will be true only if @va
17 Mar 2005 RE: [xml-dev] Xml in audit [thread] [month] Michael Kay (200) xml-dev I am having troubles finding documents (papers, websites, articles, ...) about audit issues related to the usage of XML. I think you would have similar difficulties finding papers about audit issues related to the usage of the telephone, for the same reason. Michael Kay htt
20 Mar 2005 RE: [xml-dev] XPath case insensitive queries [thread] [month] Michael Kay (200) xml-dev > > If you use the lower-case or upper-case function of XPath, you can > > make you query readable and case insensitive very easily. > Technically, with XPath 2.0, the correct solution is not to normalize both strings to upper or lower case, but to use a case-blind collation.
27 Mar 2005 RE: [xml-dev] XSLT with DOM or SAX ? [thread] [month] Michael Kay (200) xml-dev > What kind of parser is best to use for XSLT transformations ? > SAX or DOM XSLT processors will in general build a tree representation of the source document in memory. And in general, many of them will build a tree representation that is much more efficient than using a gen
27 Mar 2005 RE: [xml-dev] Quiz: static transformation vs. JIT generation [thread] [month] Michael Kay (200) xml-dev I would interpret "static transformation" here as meaning "eager transformation", i.e doing the transformation as soon as new information arrives. And that's possibly a sensible strategy, though there is far too little information to say this definitively. For example, if prices
27 Mar 2005 RE: [xml-dev] XSLT with DOM or SAX ? [thread] [month] Michael Kay (200) xml-dev > I am curious of whether it is possible to still approach a > special tailored > tree approach, which is popular among processors and which I have > understanding for, while still being collaborative with plain DOM. Sure, that's exactly what Saxon does. Michael Kay http://w
28 Mar 2005 RE: [xml-dev] XSLT with DOM or SAX ? [thread] [month] Michael Kay (200) xml-dev > Concerning your discussion about performance of > transformation, I have a related question: > > Suppose we have a big XML document (>10MB) that rarely > changes. Now we want to transform it very often (>100 per > minute) in different ways, to extract and transform differen
28 Mar 2005 RE: [xml-dev] XSLT with DOM or SAX ? [thread] [month] Michael Kay (200) xml-dev > > You could stick it into the XSL stylesheet itself (using XInclude > perhaps an entity). Then you can cache the Templates object. That might work with some processors. With Saxon, it won't. Saxon never pre-evaluates the document() function at compile time. There could be a
28 Mar 2005 RE: [xml-dev] XSLT with DOM or SAX ? [thread] [month] Michael Kay (200) xml-dev > Does document('') load the XSL from the source again? > In Saxon, document('') always reparses the stylesheet document. There are several reasons: (a) If you're using XML external entities, document('') gives you the current external entity, not the whole document. (b) Saxo
29 Mar 2005 RE: [xml-dev] XSLT with DOM or SAX ? [thread] [month] Michael Kay (200) xml-dev > Anyway, unfortunately there seems to be no processor-independent way. > Wouldn't it be helpfull, if JAXP offers such feature? The transformation API in JAXP is DOM-centric. The newer XPath API tries to be object-model-neutral, so perhaps some of this thinking will cross over i
30 Mar 2005 RE: [xml-dev] XQuery Adoption Survey Results [thread] [month] Michael Kay (200) xml-dev > XQuery .56 million > XPath 1.1 million > C# 6.4 million > SQL 22.7 > Java 91.6 > an interesting beauty-contest: XSLT 2.9
31 Mar 2005 RE: [xml-dev] Problem parsing XML file with Xerces-J [thread] [month] Michael Kay (200) xml-dev The XML parser is trying to access the document at http://host/x.dtd (using the java.net library) and gets a timeout because it isn't accessible. The fact that you didn't request validation is irrelevant. It's a common, and erroneous, belief that if you don't request validation
31 Mar 2005 RE: [xml-dev] Problem parsing XML file with Xerces-J [thread] [month] Michael Kay (200) xml-dev What does your EntityResolver actually do? Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Midsummer Sun [mailto:[email protected]] > Sent: 31 March 2005 11:25 > To: [email protected] > Subject: Re: [xml-dev] Problem parsing XML file with X
31 Mar 2005 RE: [xml-dev] Problem parsing XML file with Xerces-J [thread] [month] Michael Kay (200) xml-dev You need to do two things (a) register your EntityResolver with the parser - you've done this (b) use your EntityResolver to resolve URI references - you seem to have omitted this step. This means you need to implement the resolveEntity() method to do something useful when pre
31 Mar 2005 RE: [xml-dev] Problem parsing XML file with Xerces-J [thread] [month] Michael Kay (200) xml-dev I'm not the right person, and this isn't the right place, to teach you Java programming. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Midsummer Sun [mailto:[email protected]] > Sent: 31 March 2005 13:20 > To: Michael Kay > Cc: xml-dev@lists
31 Mar 2005 RE: [xml-dev] Problem parsing XML file with Xerces-J [thread] [month] Michael Kay (200) xml-dev I doubt it will work, I think you have to supply a Reader that reads an empty document, e.g. inputSource.setReader(new StringReader("")). Check the spec. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Midsummer Sun [mailto:[email protected]] >
31 Mar 2005 RE: [xml-dev] all group composition [thread] [month] Michael Kay (200) xml-dev I think you can just omit the xs:all from the groups you want to compose. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Carlos Pita [mailto:[email protected]] > Sent: 31 March 2005 14:09 > To: [email protected] > Subject: [xml-dev] al
1 Apr 2005 RE: [xml-dev] Problem parsing XML file with Xerces-J [thread] [month] Michael Kay (200) xml-dev I'm glad you've got it working. Looks good. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Midsummer Sun [mailto:[email protected]] > Sent: 01 April 2005 08:35 > To: Michael Kay > Cc: [email protected] > Subject: Re: [xml-dev] Problem pars
1 Apr 2005 RE: [xml-dev] Problem parsing XML file with Xerces-J [thread] [month] Michael Kay (200) xml-dev > > My 2 questions are unanswered: > 1) Which method is faster - implementing EntityResolver or pre-editing > the XML file. This consideration is important for me. My program is > pooling a remote process very frequently(every 15 seconds) and > fetching the XML documents. If the
1 Apr 2005 RE: [xml-dev] REST, SOAP, Speech Acts and the mustUnderstand model of SOA communications (was: Re: What Does SOAP/WS Do that A REST System Can't?) [thread] [month] Michael Kay (200) xml-dev Not to mention xml:mustUnderstand="7": receiver may misunderstand. This is also very common in eCommerce. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Peter Rodgers [mailto:[email protected]] > Sent: 01 April 2005 11:55 > To: [email protected]
1 Apr 2005 RE: [xml-dev] What is an XSLT tree ? [thread] [month] Michael Kay (200) xml-dev > An XSL processor recognizes 7 kinds of nodes: Root, elements, text, > attributes, namespaces, processing instructions and comments. > XSLT only deals with the above mentioned four nodes. Absolute crap. Michael Kay http://www.saxonica.com/
1 Apr 2005 RE: [xml-dev] all group composition [thread] [month] Michael Kay (200) xml-dev > It's actually not a favor to users to allow unconstrained order where > order doesn't matter, e.g., in 'data records'. I think that's a matter of opinion and it's an area where the document designer should not be constrained by what the tools allow and don't allow. My own r
2 Apr 2005 RE: [xml-dev] XLINK support in browsers [thread] [month] Michael Kay (200) xml-dev > > What's wrong with XLINK ? At first sight it seems to be > quite powerful. > It's at the wrong place in the architecture. XML caught on because people liked the idea of separating information content from presentation, and XLink never recognized that. XML says you can
2 Apr 2005 RE: [xml-dev] XLINK support in browsers [thread] [month] Michael Kay (200) xml-dev XLINK is primarily about defining links between documents in a standard manner and not about defining relations Can you explain the difference between a link and a relation[ship]? Honestly I do not understand your complain here: XLINK is a specification, so, like any s
3 Apr 2005 RE: [xml-dev] XLINK support in browsers [thread] [month] Michael Kay (200) xml-dev > How would you define a link within an XML document? > No external > schemas. No stylesheets. You're an author, who has zero control over > presentation, beyond using tags. In much the same way you > might use an > <emphasis> tag to emphasize a given word, you want
3 Apr 2005 RE: [xml-dev] XLINK support in browsers [thread] [month] Michael Kay (200) xml-dev > You're an author, who has zero control over > presentation, beyond using tags. ... How do you get "your own attributes for > defining relationships" if you don't have control over your schema? Sorry, I missed this part of the question. I thought I was the document designer.
3 Apr 2005 RE: [xml-dev] XLINK support in browsers [thread] [month] Michael Kay (200) xml-dev This mid-level tech writing professional has > no idea about > the deep history of linking in the markup world, and has to > figure out how > he's going to make this work. He also has a mandate to use > standard tools > to transform this stuff into HTML content on his compa
3 Apr 2005 RE: [xml-dev] XLINK support in browsers [thread] [month] Michael Kay (200) xml-dev > And in this case will the default templates be called ? Does this > transformation do anything ? Yes, it outputs the string value of the input document, that is, the concatenation of its text nodes. Michael Kay http://www.saxonica.com/
4 Apr 2005 RE: [xml-dev] [xsl] Value of <id> element not returned [thread] [month] Michael Kay (200) xml-dev XSLT coding questions are best asked on the xsl-list at www.mulberrytech.com There's nothing obviously wrong with the code you've shown us, which usually means that the problem is in stuff that you haven't shown us. I suggest you provide a complete stylesheet and complete source
4 Apr 2005 RE: [xml-dev] How can I constrain publicly available schemas? [thread] [month] Michael Kay (200) xml-dev This is an excellent question, and the problem isn't confined to publicly available schemas. Even with your own schemas, you might have some applications that want to impose tighter constraints than others, for example some applications might be prepared to deal with incomplete d
4 Apr 2005 RE: [xml-dev] archiving with xml [thread] [month] Michael Kay (200) xml-dev > > i've been thinking of archiving with xml, but i'm going to stick with > pdf's for documents at the moment. I would think the general rule is that you should archive the message that formed the original interaction. If you sent the user a PDF you should archive a PDF; if yo
5 Apr 2005 RE: [xml-dev] Problem parsing XML file with Xerces-J [thread] [month] Michael Kay (200) xml-dev > Can the new StAX streaming parser provide a performance boost to my > application! In this case, my application will pull events from the > XML (in a serial fashion). This will give me same performance as SAX. > I cannot use SAX, because there is no way to push events to my > a
5 Apr 2005 RE: [xml-dev] Replacing the XML parser in JRE 1.4&later [thread] [month] Michael Kay (200) xml-dev You can't replace the parser in JDK 1.4 but you can set system properties to make your application load a different one. However, it depends on how your application is obtaining a parser - is it through the JAXP ParserFactory class, or the SAXParserFactory, or perhaps a DocumentB
5 Apr 2005 RE: [xml-dev] xsd:redefine issue using xsd:include [thread] [month] Michael Kay (200) xml-dev > I have three schema files a.xsd, b.xsd, c.xsd within the same > namespace. > > a.xsd includes b.xsd (<xsd:include schemaLocation="b.xsd"/>) > > c.xsd redefines some types from a.xsd (<xsd:redefine > schemaLocation="a.xsd">) > > Since a.xsd is including b.xsd I was thinking
5 Apr 2005 RE: [xml-dev] XQuery/XSLT drafts [thread] [month] Michael Kay (200) xml-dev These appear to have been available intermittently during the day. They appear to be available now. Michael Kay > -----Original Message----- > From: Jeff Rafter [mailto:[email protected]] > Sent: 05 April 2005 16:37 > To: [email protected] > Subject: [xml-dev] XQuery/
6 Apr 2005 RE: [xml-dev] XML Performance Improvements through Interdisciplinary Factor Assessment and Application [thread] [month] Michael Kay (200) xml-dev Why does everyone parse XML from left to right when you could do it just as well from right to left? Michael Kay _____ From: Andrew Layman [mailto:[email protected]] Sent: 06 April 2005 18:57 To: [email protected] Subject: [xml-dev] XML Performance Improvements
7 Apr 2005 RE: [xml-dev] Open source request.... [thread] [month] Michael Kay (200) xml-dev 1. Have a good idea 2. Write some good code (quickly) 3. Make it available and tell the world about it 4. If the world ignores you then either it wasn't such a good idea after all, or you're a prophet in the wilderness: at this stage you can either give up or decide that you're i
7 Apr 2005 RE: [xml-dev] Open source request.... [thread] [month] Michael Kay (200) xml-dev > Michael > > What has you experience been with the split licensing model? The > Saxon-B versus Saxon-SA? Reasonably successful, I think. Saxonica lives mainly on consultancy, but there's enough license revenue coming in to finance the continued development of the
7 Apr 2005 RE: [xml-dev] The Rising Sun: How XML Binary Restored the Fortunes of Innovato rs [thread] [month] Michael Kay (200) xml-dev > No, not at all. You can't just skip to the end-tag. You have to check > everything in between for well-formedness errors that may be there > irrespective of whether the end-tag is correctly placed or not. One of the ways XML parsing could be made faster, whether it's in bina
7 Apr 2005 RE: [xml-dev] Generating intelligent Error messages [thread] [month] Michael Kay (200) xml-dev > Is there a way to convert the XML parser error messages to a more > intelligent string. Switch to a parser (or in this case, schema validator) whose error messages were written by a human being. If you'd like to send me the source document and schema, I'll tell you what Saxo
8 Apr 2005 RE: [xml-dev] Java library for parsing customer Type definition [thread] [month] Michael Kay (200) xml-dev Xerces and Saxon both provide the ability to compile a schema and access the information in the compiled schema using a Java API. Michael Kay http://www.saxonica.com/ _____ From: Li Yuejiong(John) [mailto:[email protected]] Sent: 08 April 2005 12:31 To: xml-dev@l
11 Apr 2005 RE: [xml-dev] Re: Non-infoset [thread] [month] Michael Kay (200) xml-dev > Certainly not. I am trying to get a feel of the existing > views on how much relevance the non-infoset part of an XML > document has for the creator of the document (be it a program > or a person). I'm puzzled about the way you ask the question. Surely the things that are
11 Apr 2005 RE: [xml-dev] Re: Non-infoset [thread] [month] Michael Kay (200) xml-dev > they were deprecated following a W3C XML plenary > ballot, which resolved that future specifications would define no > interpretation for them. Which must be the best example of the rule that the more people you involve in a technical decision, the worse the decision. Michae
12 Apr 2005 RE: [xml-dev] get attribute node value [thread] [month] Michael Kay (200) xml-dev It rather depends what technology you are using. XSLT, XQuery, DOM, Java....? Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Nishi Prafull [mailto:[email protected]] > Sent: 12 April 2005 21:55 > To: [email protected] > Subject: [xml-dev]
14 Apr 2005 RE: [xml-dev] Is the XML Schema Test Collection still alive [thread] [month] Michael Kay (200) xml-dev > I generally agree, except that more and more tools are forced to add > "buggy tool compatibility modes" to make this happen with minimal > customer pain. That's a road to ruin. It only prolongs the pain. Conforming to the schema spec may be hard, but conforming to another
15 Apr 2005 RE: [xml-dev] Is the XML Schema Test Collection still alive [thread] [month] Michael Kay (200) xml-dev It's worth pointing out that anyone whose schema doesn't conform to UPA is going to have problems when they start using schema-aware queries or transformations, because it's going to be unpredictable what the types (and therefore the typed values) of the nodes are. Michael Kay