Download presentation
Presentation is loading. Please wait.
Published byWaylon Blacklock Modified over 10 years ago
1
XBRL Technology Track TECH7, Formula CR Extensions Update Herm Fischer October 20, 2010
2
2002 - FDIC contract motivates solutions “ - Rule base Requirements IWD 2003 - XPath syntax chosen “ - Functions spec drafted. 2004 - Formula drafts, some implementations 2006 - Alternative approach with XQuery 2007 Jan- Issued Formula PWD Feb, Mar - Survey of users, feedback June, Dec, Feb – PWD updates after PWD feedbacks Mar 2008 – Candidate Release (spec) & Test Suite May 2008 – Implementations of processors Sept 2008 – Production formulas (COREP, FINREP) Dec 2008 – CR-2 (dimensions and other fixes) Jun 2009– Recommendation 2010 – CR extension modules
3
People want more ◦ Authoring tools ◦ Debuggers ◦ Books People want less ◦ Simplified meta-language ◦ OWL/RDF/Sparql ◦ Business like language ◦ Cheaper, not closed community CR progress on features
4
PWD Item PWD review period feedback Main PWD action CR State Impl’s AspectCover Filtersyes, wiki pageapply after other filters now2 Concept Relation Filterdecoupled from XMLindependent of XML objects now2 Custom Function Implementation nonenow2 Generic Messagesnonenow2 Validation Messagesnonenow Instances (multi- instance, and variable-set chaining) nonecan split specs for CR now2 Tuple outputnonelater1
5
PWD Item PWD review period feedback CR StateImpl’s 80155 xff:uncovered-aspectnonenow2 90501 xfi.linkbase-link-rolesnonenow2 90503 xfi.concept-labelnonenow2 90504 xfi.arcrole-definitionnonenow2 90505 xfi.role-definitionnonenow2 90506 xfi.fact-footnotesnonenow2 90507 xfi.concept-relationshipOpaque arcsnow2 90508 xfi.relationship-from-conceptnonenow2 90509 xfi.relationship-to-conceptnonenow2 90510 xfi.distinct-nonAbstract-parent-conceptsnonenow2 90511 xfi.relationship-attributenonenow2 90512 xfi.relationship-link-attributenonenow2 90513 xfi.relationship-namenonenow2 90514 xfi.relationship-link-namenonenow2 90701 xfi.format-numbernonenow2
6
Allow covering an aspect ◦ Unit (to block implicit filtering if inappropriate) ◦ Period ◦ Dimensions (individually) Used to have to make tricks ◦ Period/Unit filters with “true()” Before it was not possible to cover typed dimensions even with tricks
7
Now in XPath 2, in the linkbases Can have multiple Xpath 2 steps ◦ Supports iteration, recursion, e.g., interest rates Non-interoperable Java can be avoided
8
Feature has been in ad hoc use Defines messages for assertion results ◦ Incorporates variable and aspect values in message text ◦ “Your submission of form {$formType} is missing a {$omission} for context {$formType/@contextRef}” ◦ Significant addition of user friendliness
9
Multiple companies reporting ◦ Different company extension taxonomies Multiple periods reporting ◦ Different taxonomy year, linkbases changed Multiple types of reports ◦ Different taxonomies for each
10
Cross Industries Reporting Analysis ◦ Different company extension taxonomies Cross Border Reporting Analysis ◦ Different country taxonomies: - Public Company F.S.: EDINET (Japan) and US Gaap (USA) - Private Company F.S.: Infogreffe (Fr), NBB (Belgium), Infocamere (It)… Cross Financial & Prudential Reporting Analysis ◦ Different taxonomies e.g. FINREP & COREP Cross Multi-Data Sources Analysis ◦ Different taxonomies for each Data Sources: - Statistics Bureau & Corporate Registry - Stock Exchange & Statistics Bureau
11
Usually multiple quarters or years Different taxonomies per year ◦ Namespaces change ◦ Linkbases change Linkbases change per year ◦ Subtrees in vicinity of reported concepts May not be mergable
12
12 Prior 2 Yr Formula LB Formula Processor Output inst. computed fact items Facts merged conceptRefs ‘hacked’ Extend DTS to union of input DTSes namespaces ‘hacked’ Assertions existence value consistency Merged inst. DTS contexts units fact items Merge Prior 1 Yr Current Yr
13
Issues to merge instances ◦ Taxonomies differ? Concepts change with changes in law, practice Dimensions change Tree relationship in presentation, definition change Namespaces change ◦ ContextRef’s will be changed in merging E.g., current-yr-consol, prior-yr-consol May be constraints on altering contextRef’s
14
Each instance loaded with its taxonomy Formula terms refer to nodes, which know their enclosing document Schemas and linkbases kept separate
15
15 Formula LB Formula Processor Output inst. computed fact items Assertions existence value consistency Prior 2 Yr prior 2 DTS each fact variable knows source DTS Prior 1 Yr prior DTS Current Yr current DTS instances loaded with their DTSes
16
Multiple entity instances ◦ Same period but different entities ◦ Different company extension taxonomies Multiple period instances ◦ Taxonomies change ◦ Namespaces change ◦ Linkbases and dimension aggregations change Multiple types of reports ◦ Different taxonomies for each
17
17 A simple approach to chaining Common solution to multi-instance and chaining Multi-instances can be ‘scratch-pads’ during computation Applies to very large instance solution
18
18 Input inst. Formula Processor Output inst. Formula LB Parameter ( select expr.) custom function variable filter formula arc *Formula LB is pat of DTS Assertions assertion Input inst. Temp. inst.
19
19 Instances are represented by a resource instance-variable arc to variable ◦ If present, specifies non-default source instance formula-instance arc from formula ◦ If present specifies the instance to receive fact Instance resources are files or temporary
20
20 Could be loaded by processor ◦ E.g., java code in a server loads primary instance and some prior-period or other-company instances ◦ Or user of GUI adds ‘additional’ instances, such as loading prior-period or other-company instances Default implied source and result instances Can be temporary in memory only ◦ Used for chaining and modularization
21
21 Formula aspects come from its variables Variables from different instances contribute aspects ◦ Aspects independent of the instances they come from ◦ Aspect “covering” is by-aspect, not by-instance
22
22 Formula 1 (A=B+C) ◦ Result is A, factVariables B & C ◦ factVariable B is from source instance (default) ◦ factVariable C is from temp instance (has an arc) Formula 2 (C=D+E) ◦ Result is C, factVariables D & E, to temp instance ◦ factVariables D & E are from the source instance
23
23
24
24 Weighted average of its dimensional children by another primary item
25
25 Excel formulas: Make PD controlling fact, get PD and EV of dimensional children General variable for PDxEV member matching
26
26 difficult to explain
27
27 Each PD x EV produced by one formula ◦ Result factItem PDxEV is the product for each dimension value Second formula binds PDxEV’s of dim-children to sequence and EV’s of dim-children to second sequence, value assertion checks result
28
28 The PDxEV result fact items aren’t needed for a real result instance Only a value assertion is really needed A temporary-results instance in-memory ◦ Like a scratch-pad Also a temporary facts DTS would be needed (to define the PDxEV result fact item)
29
29
30
30 Multi-instance term binding ◦ Variables can be bound to different source instances ◦ Sequences can have different source facts ◦ Each term in XPath ‘knows’ its instance/DTS (in the internal model or DOM of implementation) Function binding ◦ A function with item results must keep the instance/DTS of the function result (based on the input terms)
31
Herm Fischer herman.fischer@ubmatrix.com fischer@markv.com +1-818-995-7671 +1-818-404-4708 THANK YOU!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.