- From: <bugzilla@jessica.w3.org>
- Date: Fri, 11 May 2012 16:44:05 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17040 Summary: Clarification on using defined prefixes in serialization and validate expr Product: XPath / XQuery / XSLT Version: Working drafts Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: XQuery 3.0 AssignedTo: jonathan.robie@gmail.com ReportedBy: cezar.andrei@gmail.com QAContact: public-qt-comments@w3.org Should the declared prefixes be serialized? Ex 1: explicit declaration declare namespace cat ='mycat'; <a t='cat:miau'>42</a> Should result in: <a t='cat:miau'>42</a> or <a xmlns:cat='mycat' t='cat:miau'>42</a> Ex 2: implicit declaration of xsi and xs prefix <a xsi:type='xs:integer'>42</a> Should result in: <a xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:integer">42</a> or <a xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:integer">42</a> Should the validate expression take into account the declared prefixes? Ex 3: validate validate lax { <a xsi:type='xs:integer'>42</a> } Should result in: Error: xs prefix not declared for QName value 'xs:integer'. or <a xsi:type='xs:integer'>42</a> with 'xs:integer' being a valid QName and 42 being an integer in PSVI. -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Friday, 11 May 2012 16:44:11 UTC