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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [ubl-dev] Ken's example (UBL 2.0 and Schema Extensibility)


Yes, Ken, thanks for the great explanation;  it's more than what 
I expected.


Best Regards,
Chin Chee-Kai
SoftML
Tel: +65-6820-2979
Fax: +65-6820-2979
Email: cheekai@SoftML.Net
http://SoftML.Net/


On Thu, 18 May 2006, G. Ken Holman wrote:

>>At 2006-05-18 23:19 +0800, Chin Chee-Kai wrote:
>>>A bit of detour... I didn't quite understand how parsing
>>>the fragment at
>>>
>>>                    <hello xmlns="">...</hello>
>>>
>>>would get by without producing an error of invalid namespace value.
>>
>>It isn't an invalid namespace, it is the null-URI ... it is
>>explicitly declaring there is now no default namespace.
>>
>>So, "hello" is an element in no namespace.  Had I not had that, it
>>would have been in the Order namespace since that was the default
>>namespace in scope.
>>
>>>Unless the entire content within <LineItemExtension> was wrapped
>>>within CDATA section,
>>
>>(which would make it text, not markup)
>>
>>>wouldn't <hello> need to conform to XML
>>>spec and so end up as a parsed entity within processor memory
>>>(instead of, say, pure textual segment)?
>>
>>It does.
>>
>>>Anyone able to lend me some insight?
>>
>>Namespaces in XML 1.1
>>
>>http://www.w3.org/TR/2004/REC-xml-names11-20040204
>>
>>Section 6.2: "The attribute value in a default namespace declaration
>>MAY be empty. This has the same effect, within the scope of the
>>declaration, of there being no default namespace. "
>>
>>
>>I hope this helps, Chee-Kai.
>>
>>. . . . . . . . Ken



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]