OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Binary XML" proposals



On Wed, 11 Apr 2001, Christopher R. Maden wrote:

[namespace prefixes irrelevant]
> Maybe; it depends on what exactly you're discarding.  Some XML 
> applications, such as XSLT and XML schemas, assert that some strings may 
> contain QNames, and that those QNames are interpreted relative to the 
> current namespace declarations in scope.  So you can discard which prefix 
> foo:hello and bar:hello used, but you need to hang on to the fact that the 
> mapping of both to "asdf" is in scope.

In general, it seems that the namespace prefixes can't be dropped... this
will slightly complicate the format, but hey :-)

SYMBOL("xmlns")        -- id 1
SYMBOL("xsl")          -- id 2
...
ATTRIBUTE(0,1)         -- xmlns="uri-to-HTML"
 CDATA("uri-to-HTML")
ENDATTR
ATTRIBUTE(1,2)         -- xmlns:xsl="uri-to-XSL"
 CDATA("uri-to-XSL")
ENDATTR

> 
> -Chris
> 

ABS

-- 
                               Alaric B. Snell
 http://www.alaric-snell.com/  http://RFC.net/  http://www.warhead.org.uk/
   Any sufficiently advanced technology can be emulated in software