[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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
British Telecommunications plc
Registered office: 81 Newgate Street London EC1A 7AJ
Registered in England no. 1800000
This electronic message contains information from British Telecommunications plc which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address above) immediately.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]