[erlang-questions] Re: xmerl namespace handling

Dave Pawson dave.pawson@REDACTED
Mon Aug 3 13:11:57 CEST 2009


2009/8/3 Robert Raschke <rtrlists@REDACTED>:
> Hmm replying to myself, sorry 'bout that.

> I figured out that namespaces are kept as atoms in the xmlNamespace record
> and the 'default' field of that record has a default value of []. So if I
> change the first clause of mk_Ell_namespace/3 to read like follows, I can
> get my XML validated:

Differentiate between default namespace and null namespace?
http://www.w3.org/TR/xml-names/#defaulting

An element without a namespace inherits from it's nearest ancestor
specifying a namespace

http://www.w3.org/TR/REC-xml-names/#scoping


HTH



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk


More information about the erlang-questions mailing list