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

 


Help: OASIS Mailing Lists Help | MarkMail Help

cam message

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


Subject: Default Namespaces


Title: Default Namespaces

Hi,
        The CAM spec needs to specify what will happen with default namespaces.

        In one of the samples based on the BOD two occurances of default namespaces exist:

        one for CAM and one within the structure.  The problem with this is that XPATH can not handle default namespaces, ie. A namespace-uri that has not associated prefix.  It can handle no namespace.

        This must be explained in the document as processing the contents is not possible where the xpath expressions do not use any prefixes if there is a default namespace uri.

Exactly.  /ApplicationArea will only match <ApplicationArea> but not <ApplicationArea xmlns="http://somenamespace.org/"/>

        This means that CAM templates need to be more carefully created.

Martin Roberts
xml designer,
BT Exact
e-mail: martin.me.roberts@bt.com
tel: +44(0) 1473 609785 
clickdial
fax: +44(0) 1473 609834
Intranet Site :
http://twiki.btlabs.bt.co.uk/twiki
pp 16 Floor 5, Orion Building, Adastral Park, Martlesham, Ipswich IP5 3RE, UK



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