Re: extraneous :'s?
Jonathan A Rees <[email protected]> Thu, 21 Dec 2006 11:18:07 -0500
| Newsgroups | gmane.lisp.scheme.ssax-sxml |
|---|---|
| Message-ID | <[email protected]> |
On Dec 8, 2006, at 7:23 PM, [email protected] wrote: [...] > I'd like to point out confusion first: between QNames (qualified > names) and expanded names. The definitions of both are given in > Section 2.1 of the W3C Recommendation `Namespaces in XML 1.0 (Second > edition)'. In short, QNames appear in an XML document. An expanded > name is what QNames are mapped to after parsing and namespace > processing. That is, an application only sees expanded names. In the > example above: ``x:thing'' is a QName. To be precise, it is a prefixed > QName. The colon is _mandatory_: see the productions [7-11] of Section > 4 of the XML Namespace Recommendation, in particular, production [8]. [...] Thanks to you and Doug for taking the time to explain things for me. It appears I can create whatever structure I like (records, symbols without colons, etc.) simply by copying and modifying the definition of ssax:xml->sxml. I could even make a custom parser for RDF/XML. So I am not stuck now. Best Jonathan Rees ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV